body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
}
.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #0077cc;
    color: white;
    border-radius: 10px 10px 0 0;
}
.header-right {
    display: inline;
}
img.logo {
    width: 100px;
    vertical-align: middle;
}
.tabs {
    display: flex;
}
.tab {
    padding: 10px 20px;
    cursor: pointer;
    background: white;
    color: #0077cc;
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    font-weight: bold;
}
.tab:hover {
    background: #0056b3;
    color: white;
}
.tab.active {
    background: #8aceff;
    color: #014575;
}
.tab.active:hover {
    background: #4595eb;
    color: white;
}
.content {
    display: none;
    padding-top: 20px;
}
.content.active {
    display: block;
}
.project {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}
.project img {
    max-width: 500px;
    width: 100%;
}
.project img.logo {
    width: 30px;
    vertical-align: middle;
}
.project h3 {
    display: inline;
    margin-left: 10px;
}
.project .category {
    font-size: 0.9em;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 5px;
    margin-left: 10px;
}
.pripomocek {
    background-color: #d4edda;
    color: #155724;
}
.igra {
    background-color: #f8d7da;
    color: #721c24;
}
.project .description {
    max-height: 3.2em;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease-in-out;
    cursor: zoom-in;
}

.project.expanded .description {
    cursor: zoom-out;
}

.project .description p {
    margin: 0;
    line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}
.project .description::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.6em;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, white 100%);
}
.project.expanded .description {
    max-height: none;
}
.project.expanded .description p {
    line-clamp: unset;
}
.project.expanded .description::after {
    display: none;
}