
.header {
    position: sticky;
    top: 0;
    width: 100%;
    box-shadow: 0 4px 20px hsla(207, 24%, 35%, 0.1);
    background-color: var(--700);
    color: #FAF7F2;
    z-index: 10;
}


.topMenu{
    display: flex;
    justify-content: right;
    align-items: center;
    font-size: 10px;
//border-bottom: 2px solid #784D34 ;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 30px;
    max-width: 2048px;
}

.with-img {
    position: relative; /* potřebné pro absolutní pozici v ::before */
    z-index: 1;
}

.with-img::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 90px;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: -1;
}

.logo{
    z-index: 1;
}
.centerblock {
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px;
    max-width: 2048px;

}
.menu, .submenu {
    display: flex;
    max-width: 1024px;
    justify-content: center;
    align-items: center;
    list-style: none;
    z-index: 1;
}
.menu{
    font-weight: bolder;
}

.menu a, .submenu a {
    display: block;
    padding: 5px 10px;
    font-size: 12px;
    transition: 0.2s all ease-in-out;
    text-decoration-line: none;
    text-decoration-thickness: 1.5px; /* Zvětší tloušťku podtržení */
    text-underline-offset: 3px;
}
.menu a {
//text-transform: uppercase;
    font-size: 18px;
    text-decoration-thickness: 3px; /* Zvětší tloušťku podtržení */
    text-underline-offset: 4px;
}
.submenu .active {
    text-decoration-line: underline;
    color: black;
}

.menu:hover a, .submenu:hover a {
    opacity: 0.5;
}

.menu a:hover, .submenu a:hover {
    opacity: 1;
    text-decoration-line: underline;
}
.menu .active{
    text-decoration-line: underline;

}

.menu-icon {
    z-index: 1;
    display: none;
}

#menu-toggle {
    display: none;
}

#menu-toggle:checked ~ .menu {
    transform: scale(1, 1);
}


/* Styly pro patičku */
.footer {
    background-color: var(--700);
    color: var(--200);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.footer-link {
    padding: 10px;
    text-decoration: none;
    color: #897369;
    font-size: 16px;
}
.footer-link:hover{
    color: #756059;
}
@media only screen and (max-width: 950px) {

    .with-img::before {
        //transform: translateY(40%);
        width:100%;
        top:17%;
        left:0px;
        height: 80%;
        max-height: 64px;
    }
    .menu {
        flex-direction: column;
        background-color: var(--800);
        align-items: start;
        position: absolute;
        top: 74%;
        left: 0;
        width: 100%;
        z-index: 1;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s ease-in-out;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    }
    .submenu a {
        display: block;
        padding: 5px 10px;
        font-size: 0.8rem;
        color: #151418;
    }
    .menu a, .submenu a {
        margin-left: 12px;
    }

    .menu li, .submenu li {
        margin-bottom: 5px;
    }

    .menu-icon {
        z-index: 1;
        display: block;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
    }
    h1{
        font-size: 1rem;
    }
    .MainTitle{
        font-size: 1rem;
    }
    .inputMain{
        width: 80%;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 10px;
    }

    .footer-links {
        margin-top: 20px;
    }

    .footer-link {
        flex: 0 0 50%;
        padding: 5px 0;
    }
    .btn-link{
        margin:1px;
    }
    nav {
        padding: 5px 15px;
        max-width: 2048px;

    }

}
.action-button{
    font-size: 12px;
    color: var(--400);
}

img {
//max-width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}


/* Styl pro fullscreen obrázek */
#fullscreenImage {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#fullscreenImage img {
    max-width: 90%;
    max-height: 90%;
}