* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 14px;
}

body {
    font-family: "Source Sans Pro", "Nunito Sans", Helvetica, Arial, Lucida, sans-serif;

}
button {

}


a {
    text-decoration: none;
}

h1 {
    text-transform: uppercase;
    font-size: 2rem;
}

h2 {
    text-transform: uppercase;
    font-size: 1.5rem;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

body.no-scroll {
    overflow: hidden;
}

.login-overlay-wrapper-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex; /* změna: aby fungovalo centrování */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-sizing: border-box;
}

.login-overlay-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.login-overlay-window {
    background: white;
    color: black;
    border-radius: 10px;
    width: 300px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-overlay-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-message {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.login-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.login-button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.login-button:hover {
    background-color: #0056b3;
}

.hidden {
    display: none;
}

.hero-images {
    display: flex;
    width: 100%;
    /* Celková šířka pro 3 obrázky */
    transition: transform 1s ease-in-out;
    /* Plynulý přechod pro změnu obrázků */
}

.hero-image {
    width: 100%;
    /* Každý obrázek zabírá 100% šířky viewportu */
    height: 100vh;
    background-position: center;
    background-size: cover;
    /* Obrázky budou vyplňovat celou šířku i výšku */
    flex-shrink: 0;
    /* Zajistí, že obrázky nebudou zmenšovány */
}



.logo-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointe r;
    z-index: 1000;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.menu-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointe r;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.menu-icon div {
    width: 30px;
    height: 3px;
    background: white;
    margin: 6px 0;
}


.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(128, 128, 128, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
    /* Ujistí se, že menu je vidět nad hero */
}

.menu a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    margin: 15px 0;
}

.menu.active {
    opacity: 1;
    visibility: visible;
}


.welcome {
    position: absolute;
    display: flex;
    padding-left: 50px;
    width: 550px;
    bottom: 0px;
    height: 120px;
    color: #fff;
    font-size: 1.2em;
}

.welcome h1 {
    font-size: 2rem;
}

.welcome2 {
    display: flex;
    padding-left: 50px;
    width: 100%;
    color: #000;
    font-size: 1.2em;
}

.welcome2 a {
    color: #000;
}

.welcome h1 {
    font-size: 2rem;
}

.footer-arrow {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    bottom: 0%;
    height: 150px;

}

.bottom-icon,
.close-icon {
    /*filter: invert(100%);*/
    width: 150px;
    height: 150px;
}

.dashboard-footer {
    width: 100%;
    display: flex;
    gap: 10px;
    background: #343434;
    justify-content: center;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 120px;
    padding-right: 120px;
}

.footer-border {
    border-bottom: 1px solid #858585;
}

.footer-header {
    font-weight: bold;
    padding-bottom: 20px;
}

.dashboard-footer a {
    color: #fff;
}

.footer-column {
    width: 250px;
}

.footer-div {}

.category-icon {
    width: 20px;
    height: 20px;
}

.icon-25 {
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

.icon-30 {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

.hide {
    display: none;
}

.show {
    display: block;
}

input[type=submit], input[type=button], button, .button {
    background-color: steelblue;
    color: #fff;
    padding: 14px 25px 12px;
    border: 1px solid #343434;
    border-radius: 4px;
    cursor: pointer;
}

.button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.button:hover {
    background-color: #289a2b;
    color: white;
}

.button-go {
    background-color: #200271;
    font-size: 1.2em;
 }



@-webkit-keyframes spin {
    from {-webkit-transform:rotate(0deg);}
    to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

.spinner-cover-no-bg {    
    background-color: #000!important;
}

.spinner-cover {
    position:fixed;
    width:100%;
    left:0;right:0;top:0;bottom:0;
    background-color: rgba(0,0,0,0.7);
    z-index:9999;
}

.spinner1 {
    content:'';
    display:block;
    position:absolute;
    left: calc(50% - 20px);
    top: calc(50% - 20px);
    width:40px;height:40px;
    border-style:solid;
    border-color: #fff;
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

.spinner1-descr {
    display:block;
    position:absolute;
    text-align: center;
    width: 100%;
    top: calc(50% + 30px);
    color: #fff;
}

.spinner-cover2 {
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-content: center;
    align-items: center;
    padding: 50px;
}
.spinner2 {
    content:'';
    display:block;
    width:40px;height:40px;
    border-style:solid;
    border-color: #003366;
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
    margin-bottom: 10px;
}

.spinner2-descr {
    display:block;
    text-align: center;
    width: 100%;
    color: #003366;
}

.spinner3 {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    border-style: solid;
    border-color: #003366;
    border-top-color: transparent;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

.spinner3-descr {
    display:block;
    color: #003366;
    position: absolute;
    top: 15px;
    left: 50px;;
    font-size: 0.5rem;
}

.contact {
    display: flex;
    align-items: center;
    padding-bottom: 5px;
}

.contact-col2 {
    display: flex;
    align-items: center;
    padding-bottom: 5px;
    margin-left: 35px;
    gap: 15px;
}

.material-icons {
    margin-right: 10px;
}

.link-section {
    display: flex;
    gap: 30px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #f1f1f1;
 }

.download-button-vertical {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    width: 100%; /* volitelné – pro plnou šířku tlačítka */
}

.download-button-vertical .material-icons {
    font-size: 36px;
    line-height: 1;
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto 4px auto;
}

.feeds {
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
    flex-wrap: wrap;
    background-color: #f1f1f1;
 }
 
 .feed {
    width: 100%;
    padding: 50px 50px 50px 50px;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    font-style: normal;
    color: #000;
    box-shadow: 1px 1px 1px #ccc;
    border-radius: 5px;
 }
 
 .feed h2 {
    -webkit-font-smoothing: antialiased;
    font-weight: 700;
    font-size: 1.8rem;;
    font-style: normal;
    color: #000;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
 }
 
 .feed h3 {
    -webkit-font-smoothing: antialiased;
    font-weight: 700;
    font-size: 1.4rem;
    font-style: normal;
    color: #000;
    padding-bottom: 20px;
    text-align: center;
 }
 
 .feed h4 {
    -webkit-font-smoothing: antialiased;
    font-weight: 700;
    font-size: 1.2rem;
    font-style: normal;
    color: #000;
    padding-bottom: 20px;
    text-align: center;
 }
 
 .feed .page-path {
    padding-bottom: 20px;
 }

.gallery_photo {
    max-width: 600px;
    max-height: 400px;
 }
 
 .photo {
    padding: 15px 15px 5px 15px;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    font-style: normal;
    color: #000;
    box-shadow: 1px 1px 1px #ccc;
    border-radius: 5px;
    cursor: pointer;
 }

 .photo-spinner-cover {
    position:relative;
    width:600px;
    height:400px;
    background-color: rgba(255,255,255,0.7);
    z-index:9999;
}

.photo-spinner {
    content:'';
    display:block;
    position:absolute;
    left: calc(50% - 20px);
    top: calc(50% - 20px);
    width:40px;height:40px;
    border-style:solid;
    border-color: #000;
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

.photo-spinner-descr {
    display:block;
    position:absolute;
    text-align: center;
    width: 100%;
    top: calc(50% + 30px);
    color: #000;
}

.fullscreen-photo-spinner {
    content:'';
    display:block;
    position:absolute;
    left: calc(50% - 20px);
    top: calc(50% - 20px);
    width:40px;height:40px;
    border-style:solid;
    border-color: #000;
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

.fullscreen-photo-spinner-descr {
    display:block;
    position:absolute;
    text-align: center;
    width: 200px;
    top: calc(50% + 30px);
    left: calc(50% - 100px);
    color: #000;
}

.fullscreen-photo-opacity {
    opacity: 0.2;
}

.gallery_photo {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.gallery_photo.loaded {
  opacity: 1;
}

.photo-spinner-cover {
  width: 100%;
  aspect-ratio: 3 / 2; /* drží místo 600x400 */
  position: relative;
  background-color: #f9f9f9;
}


#infinite-spinner {
  text-align: center;
  padding: 40px 0;
}

#infinite-spinner .spinner2 {
  margin: 0 auto 10px auto;
}


.fullscreen-modal {
    visibility: hidden;
    opacity: 0;
    position: fixed; 
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9); 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fullscreen-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    display: block;
    max-width: calc(100vw - 75px - 15rem);
    max-height: calc(90vh - 75px - 2rem);
    width: auto;
    height: auto;
    object-fit: contain;
    padding-bottom: 5px;
    transition: opacity 0.4s ease;
}


.photo-fullscreen-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* pro info na střed */
    padding: 10px 15px;
}

/* Centricky zarovnané info – absolutně */
.photo-info {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    white-space: nowrap;
}

/* Tlačítka zarovnána doprava */
.photo-fullscreen-buttons {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}



.photo-fullscreen {
    padding: 15px 15px 5px 15px;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    font-style: normal;
    color: #000;
    box-shadow: 1px 1px 1px #ccc;
    border-radius: 5px;
}

.photo-fullscreen-control {
    position: absolute;
    filter: invert(1);
    width: 100%;
}

.photo-fullscreen-buttons {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px;
}

.photo-fullscreen-button-like {
    width: 2rem;
    height: 2rem;
    display:none;
}

.close-text {
    color: black;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    pointer-events: auto;
    cursor: pointer;
    position: absolute;
    touch-action: manipulation;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}


.close {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: 3rem;
    height: 3rem;
    background: red;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    width: 3rem;
    height: 3rem;
    touch-action: manipulation;
}

.prev {
    left: 1.5rem;
}

.next {
    right: 1.5rem;
}

.choosing_footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 0 2px rgba(0, 0, 0, 0.24);
 
 }


@media screen and (min-width: 1200px) {
    html {
        font-size: 16px; /* 1rem = 18px */
    }
}

@media screen and (max-width: 991px) {
    html {
        font-size: 15px;
    }
    .welcome {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    html {
        font-size: 14px;
    }

    .modal-content {
        max-width: calc(100vw - 75px);
    }

    .photo-fullscreen-control {
        top: 2rem;
    }

    .modal-content {
        max-height: calc(72vh - 75px - 2rem);
    }
    
    .close {
        display:none;
    }

    .close-text {
        display: block;
    }

    
}

@media screen and (max-width: 700px) {
    .gallery_photo {
        max-width: 80vw;
    }

    .photo-spinner-cover {
        max-width: 80vw;
    }
}

@media screen and (max-width: 599px) {
    html {
        font-size: 13px;
    }

    
}

@media screen and (max-width: 480px) {
    html {
        font-size: 12px;
    }

    
}

