video {
    display: none;
}

section {
    padding: 40px 10px;
    margin-left: 10px;
    margin-right: 10px;
}

section h1{
    font-size: calc(var(--p_velka) + 6);
}

section h2{
    font-size: calc(var(--p_velka) + 4);
    margin-bottom: 10px;
}

section p{
    margin-left: 5%;
    margin-right: 5%;
    font-size: calc(var(--p_normalni) + 1);
}

/* ----------------------------------------------------------------*/

.gallery {
    margin-left: 5%;
    margin-right: 5%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* mezera mezi obrázky */
    justify-content: center; /* zarovná středově (volitelné) */
}

/* Náhledový obrázek */
.thumbnail {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.thumbnail:hover {
    transform: scale(1.04);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay.active {
    display: flex;
}

.overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: cover;
    display: block;
    margin-left: 5px;
}

.overlay-content {
    display: block;
    align-items: center;
    gap: 50px;
    background: transparent;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 35px;
    font-size: 40px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #ccc;
    transition: 0.2s ease;
}

/* ---------------------------------------------------------------- */
/* SEKCE KARTY */
/* ---------------------------------------------------------------- */

.sekce-karty {
    display: block;
    text-align: center;
    justify-content: center;
    margin-top: 20px;
}

.sekce-karty a {
    width: 90%;
    height: auto;
    display: flex;
    justify-content: center;
    margin: 5px 0px;
}

.sekce-karty-a:hover img {
    transform: translateX(-8px);
    transition: transform 0.25s;
}

.sekce-karty a img {
    margin-left: 22px;
    margin-right: auto;
}

#p-sekce-karty {
    font-size: calc(var(--p_mala) + 2px);
    text-align: left;
    margin-left: 2px;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

/* ---------------------------------------------------------------- */
/* SEKCE KARTY SEZNAM */
/* ---------------------------------------------------------------- */

.sekce-karty-seznam {
    width: 100%;
}

.sekce-karty-seznam a p {
    margin: auto 10px auto 10px;
}

.sekce-karty-seznam a img {
    margin: 5px 20px 5px 20px;
}

.sekce-karty-seznam-a:hover img {
    transform: translateX(8px) rotate(5deg);
    transition: transform 0.25s;
}

/* ----------------------------------------------------------------*/

.menu {
    display: block;
    position: static;
    top: 0px;
    left: 0px;
    right: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.menu a {
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: calc(var(--p_normalni) + 5);
}

.menu a.menu-home, .menu a.menu-special {
    border-radius: 0px;
}
.menu a.menu-home {
    margin-right: 0px;
}
.menu a.menu-special {
    margin-left: 0px;
}
