
body {
    padding: 0px;
    margin: 0px;
    background-color: #cdcdcd;
    background-color: white;
}


body::before, body::after {
    content: "";
    position: fixed;
    top: 0;
    width: 80px; /* Šířka stínu */
    width: 5vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
    z-index: -1;
}

body::before {
    left: 0;
}

body::after {
    right: 0;
}


.page-header h1 {
    margin-top: 0px;
}


.page-header {
    width: 100%;
    z-index: 1100;
    position: sticky;
    opacity: 0;
    top: -100px;
}

@media (max-width: 768px) {
    .page-header {
        width: 100%;
        z-index: 1100;
        position: sticky;
        top: 0px;
        opacity: 0;
        top: -30px;
    }
}


.page-header.detailpage {
    width: 100%;
    z-index: 1100;
    position: fixed;
    opacity: 1;
    top: -150px;
}


@media (max-width: 768px) {

    .page-header.detailpage {
        width: 100%;
        z-index: 1100;
        position: fixed;
        opacity: 1;
        top: -0px;
    }
}


/*.page-header {
    !*height: 590px;*!
    !*margin-bottom: -590px;*!
    width: 100%;
    !*margin-top: 200px;*!
    !*background-size: cover;*!
    !*background-image: url(/static/img/header3.png);*!
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;

    !*display: none;*!

    position: sticky;
    z-index: 200;

    !*opacity: 0;*!
    transition: opacity 0.3s ease-in-out;
    top: -100px;
    !*background-color: red;*!


}


@media (max-width: 768px) {
    .page-header {
        top: 0px;
        !*height: 600px;*!
        height: 590px;
        !*margin-bottom: -590px;*!
        width: 100%;
        !*margin-top: 200px;*!
        !*background-size: cover;*!
        background-image: url(/static/img/header3.png);
        background-size: contain;
        background-repeat: no-repeat;

        !*display: none;*!

        position: sticky;
        z-index: 200;

        opacity: 0;
        transition: opacity 0.3ms ease-in-out;
        top: -50px;
        !*background-color: red;*!


    }
}*/


.page-intro {
    /*height: 1800px;*/
    /*height: 1800px;*/
    /*height: 100%;*/
    margin-top: -590px;
    background-size: contain;
    /*background-image: url(/static/img/background.png);*/
    background-color: red;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
}


.page-intro-collapsed {

    height: 200px;
    margin-top: 0px;
    background-size: cover;
    background-position: bottom;
    /*background-image: url(/static/img/background.png);*/
    background-repeat: no-repeat;
    position: fixed;

    width: 100%;
    top: 0px;

    /*opacity: 1;*/
    /*transition: opacity 0.5s ease-in-out;*/

    /*top: -30%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/

}


/*@media (max-width: 1600px) {*/
/*    .page-intro-collapsed {*/

/*    height: 1200px;*/
/*    margin-top: 60px;*/
/*    background-size: contain;*/
/*    background-image: url(../img/background.png);*/
/*    background-repeat: no-repeat;*/
/*    position: fixed;*/

/*    width: 100%;*/
/*    top: -850px;*/

/*    opacity: 1;*/
/*    transition: opacity 0.5s ease-in-out;*/

/*    }*/
/*}*/


.kesvetlu {
    width: 33%;
    position: sticky;
    top: 20px;
    z-index: 2000;
    margin-top: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.hsk {
    position: sticky;
    top: -120px;
    margin-top: 00px;
    margin-top: 230px;
    width: 10%;
    margin-top: 0px;
    z-index: 2000;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}


body {
    margin: 0px;
    padding: 0px;

}


.footer {
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
    /*height: 199px;*/

    /*background: #f8f9fa; !* Světle šedá *!*/
    display: flex;
    align-items: flex-end; /* Zarovná obsah dolů */
    justify-content: center; /* Zarovná text na střed */
    padding-bottom: 10px;
    color: #555757;

    margin-top: 50px

}


/*.gallery img {*/
/*    !*width: 100%;*!*/
/*    height: auto;*/
/*    border-radius: 8px;*/
/*    transition: transform 0.3s ease-in-out;*/
/*    padding: 3px;*/
/*    background-color: red;*/
/*    box-shadow: 0px 0px 32px 12px gray;*/
/*    display: block;*/
/*    margin-bottom: 33px;*/

/*    width: calc(60% - 0px);*/
/*    display: none;*/


/*}*/


img.gallerydetail {

    border-radius: 8px;

    padding: 53px;
    background-color: white;

    box-shadow: 0px 0px 32px 12px gray;
    display: block;
    margin-bottom: 33px;

    max-width: min(70vw, 1024px);
}


pre.gallerydetail {
    /*white-space: normal;  !* Povolit zalamování řádků *!*/
    /*word-wrap: break-word; !* Zalomení dlouhých slov *!*/
    font-family: inherit; /* Použít běžné písmo stránky */
    font-size: inherit; /* Použít stejnou velikost písma */
    line-height: 1.9; /* Zvýšené řádkování pro lepší čitelnost */
    background: none; /* Odstranění šedého pozadí */
    border: none; /* Odstranění okraje */
    padding: 0; /* Odstranění vnitřního odsazení */
    margin: 0; /* Odstranění okrajů */
}


/*.gallery img:hover {
    transform: scale(1.05);
}*/


/* Když je obrázek ve středu stránky, zvětší se o 5 % */
.gallery img.in-view {
    transform: scale(1.08);
}


.gallery .image-name {
    margin-top: 22px;
    margin-bottom: 42px;
    font-size: 16px;
    color: #212123;

}

p {
    color: #555454;
}


.navbar {
    /*background: rgba(255, 255, 255, 0.2); !* Bílé poloprůhledné pozadí *!*/
    backdrop-filter: blur(2px); /* Efekt rozmazání */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Jemný stín */
    z-index: 1900;
}

.navbar-nav .nav-link {
    font-weight: bold;
    color: white;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-light .navbar-toggler-icon {
    filter: invert(1);
}


.collap {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20vh; /* Zabírá přesně 20 % výšky okna */
    object-fit: cover; /* Ořízne obrázek tak, aby vyplnil prostor */
    object-position: bottom; /* Zarovná obrázek tak, aby byla vidět spodní část */
    z-index: 900;
    z-index: 0;
}


/*@media (max-width: 768px) {*/
@media (max-width: 1024px) {

    .collap {

        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 9vh; /* Zabírá přesně 20 % výšky okna */
        object-fit: cover; /* Ořízne obrázek tak, aby vyplnil prostor */
        object-position: bottom; /* Zarovná obrázek tak, aby byla vidět spodní část */

        z-index: 900;
        z-index: 0;
    }

}


/* / / / / / / MENU / / / / / / / */

/* Výchozí styl hamburger ikony */
.navbar-toggler-icon {
    width: 22px;
    height: 2px;
    background-color: black;
    display: block;
    position: relative;
    transition: all 0.3s ease-in-out;
}

/* Přidání horní a dolní čáry */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    width: 20px;
    height: 2px;
    background-color: black;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon::after {
    width: 15px;
}

/* Pozice horní a dolní čáry */
.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    top: 6px;
}

/*  Při otevřeném menu (hamburger → křížek) */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: black;
    height: 0px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
}


@media (max-width: 991px) {
    /* Platí pouze pro mobilní a tabletové zařízení */
    /* Styl pro navbar v collapsible režimu */
    .navbar {
        backdrop-filter: blur(20px); /* Efekt rozmazání */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Jemný stín */
        z-index: 3900;
    }

    /*    !* Když je menu rozbalené *!
        .navbar-collapse.show {
            background-color: black;
            position: absolute;
            top: 56px; !* Ujisti se, že se menu nezakrývá s navigací *!
            left: 0;
            width: 100%;
            text-align: center;
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            border-radius: 0 0 10px 10px;
        }

        !* Styl položek navigace v collapsible režimu *!
        .navbar-nav .nav-item .nav-link {
            color: white !important;
            font-size: 18px;
            padding: 10px 15px;
            transition: 0.3s;
        }

        !* Efekt hover pro mobilní menu *!
        .navbar-nav .nav-item .nav-link:hover {
            background-color: white;
            color: black !important;
            border-radius: 5px;
        }*/
}


