body{
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */ 
}
.header {
    height: 4vw;
    display: grid;
    background-color: #0471ff;
    grid-template-columns:5% 95%; 
    align-items: center;
}

.back svg{
    height: 100%;
    fill: #141414;
    stroke-width: 0px;
}

#biotop {
    color: #02c944;
    fill: #02c944 ;
}

#biotop svg {
    color: #02c944;
}

#zan{
    color: #ebe701;
}

#poster{
    color: #ff0000;
}

#cmn1 {
    color: #ff9204;
}

#start {
    color: #fa58a9;
}

#art {
    color:saddlebrown ;
}

#tent{
    color: #ff0040;
}

#clvr1{
    color: #008cff;
}

.arrow {
    fill: rgb(255, 0, 0);
    height: 27px;
    color: rgb(255, 255, 255);
    animation: scale 1s infinite ease-in-out;
    animation-direction: alternate;
    animation-delay: 4s;
    border: none;
  }

.content {
    width: 100%;
    display: grid;
    grid-template-columns:31% 69% ;
    
}

.album{
display: flex;
flex-direction: row;
}

.top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.right {
    display: block;
    width: 30vw;
    flex-wrap: wrap;
    height: 100vh;
    
}

.center{
    padding-left: 1px;
    width: 50%;
}

.move {
    position: -webkit-sticky; /* Safari */
    position: fixed;
    top: 0;
    margin-left: 2vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30vw;
}

.top{
    margin-top: 1vw;
    top: 0;
    height: 100vh;

}

.bottom{
    width: 30vw;
    padding-bottom: 1vw;
}

.back{
    margin-top: 3vw;
}

.dmecka{
    display: flex;
    flex-direction: row;
    
}


.podnadpis{
    word-break: break-word;
}


.center {
    margin-right: 0vw;
}

h2 {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 7vw;
    color: #1a1a1a;
    margin-top: -1vw;
    margin-bottom: 0vw;
    padding-right: 5vw;
    margin-left: -1vw; 
}

#cmnh2 {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 6vw;
    color: #1a1a1a;
    margin-top: -1vw;
    margin-bottom: 0vw;
    padding-right: 5vw;
    margin-left: -1vw; 
}

#cmn {font-family: 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 6vw;
    color: #1a1a1a;
    margin-top: -1vw;
    margin-bottom: 0vw;
    padding-right: 5vw;
    margin-left: -0.8vw; }

h3 {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 4vw;
    color: #0471ff;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: -0.6vw;
    padding-right: 3vw;
   
   
}

h5 {font-family: 'Helvetica Neue', sans-serif;
    font-weight: 400;
    font-size: 1.2vw;
    color: #0471ff;
   margin-top: 3vh;
   margin-bottom: 0;
   padding-right: 5vw;
   margin-left: -0.60vw;
   text-wrap: balance;
}

#lead {font-family: 'Helvetica Neue', sans-serif;
    font-weight: 400;
    font-size: 0.9vw;
    color: #a1a1a1;
   margin-top: 10vw;
   margin-bottom: 0;
   padding-right: 5vw;
   margin-left: -0.60vw;
}

h6 {font-family: 'Helvetica Neue', sans-serif;
    font-weight: 300;
    font-size: 0.7vw;
    color: #a1a1a1;
   margin-top: 0.2vw;
   margin-bottom: 0;
   padding-right: 5vw;
   margin-left: -0.60vw;
}

h4 {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 300;
    font-size: 0.7vw;
    color: #a1a1a1;
   margin-top: 1.5vh;
   margin-bottom: 0;
   padding-right: 5vw;
   margin-left: -0.60vw;
}

.images {
    margin-top: 0;
    display: grid;
    border: #ffffff 0.1vw;
    border-style: solid;
    width: 100%;

}

.images video{
    width: 100%;
    border: #ffffff 0.1vw;
    border-style: solid;
}

.center img {
     border: #ffffff 0.1vw;
    border-style: solid;
    width: 100%;
}

.left{
    width: 50%;

}

.left img {
    border: #ffffff 0.1vw;
   border-style: solid;
   width: 100%;
}


#simon{
    padding-bottom: 0.6vw;
}

a{      

}

.back{
    left: 0;

}





.back svg{
    height: 3vh;
    margin: auto;
    bottom: 5vw;
    transition: scale 0.1s ease-in-out ;
}

.back svg:hover{
    scale: 0.9;
}

.sticker {
scale: 0.7;}

#topzan{
    margin-top: 0.5vw;
}

#phone{
    display: none;
}

.images:hover{
    cursor: pointer;
}

/* Lightbox container with transition */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Initially transparent background */
    backdrop-filter: blur(0.4vh);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensure that the content does not cause scrollbars */
    opacity: 0; /* Start with the lightbox hidden */
    transition: opacity 0.3s ease, background-color 0.3s ease; /* Smooth transition for opacity */
}

/* When the lightbox is visible */
.lightbox.active {
    opacity: 1; /* Fully visible */
    background-color: rgba(0, 0, 0, 0.438); /* Dark background */
}

/* Lightbox image and video */
/* Lightbox image and video */
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto;
    display: block;
    transform: scale(0.8);
    transition: transform 0.3s ease, max-height 0.3s ease;
    border: 1px solid #000000;
  }
  

.lightbox-content:hover{
    cursor: auto;
}



/* When the lightbox is active, scale the content up to full size */
.lightbox.active .lightbox-content {
    transform: scale(1);
}

/* Close button */
.lightbox .close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    transition: 0.3s;
}

.lightbox .close:hover,
.lightbox .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Zoom window */
.zoom-window {
    position: absolute;
    border: 1px solid #000;
    width: 700px; /* Width of the zoom window */
    height: 500px; /* Height of the zoom window */
    display: none;
    z-index: 1001; /* Ensure it appears on top */
    pointer-events: none; /* Prevent interaction */
    background-repeat: no-repeat;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.021);
}

/* Modify lightbox when it is not visible */
.lightbox:not(.active) {
    width: 60%;
    right: 0;
    left: auto; /* Ensure it stays on the right side */
    transform: translateX(0); /* Reset any transform that might affect positioning */
}

/* Ensure it stays hidden until activated */
.lightbox:not(.active) {
    display: none; /* This keeps it hidden when not active */
}






@media only screen and (max-width: 900px){


body{
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.right {
    width: 100%;
    height: 50vh; /* Změna: pevná výška */
    overflow-y: auto; /* Povolit vertikální scrollování */
    -webkit-overflow-scrolling: touch; /* Plynulé scrollování na iOS */
}

.top{
    padding-left: 1vw;
    height: auto;
    overflow-x: hidden;

}

.album{
    flex-direction: column;
    margin-right: 1vw;
    overflow-x: hidden;
    overflow-y: auto; /* Povolit vertikální scrollování */
    -webkit-overflow-scrolling: touch; /* Plynulé scrollování na iOS */


}

#albumzan{
    flex-direction: column-reverse;
    margin-right: 1vw;
    overflow-x: hidden;


}

.move {
    position: -webkit-sticky; /* Safari */
    position: fixed;
    overflow-y: scroll;
    top: 0;
    margin-left: 1vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 39vw;
    overflow-x: hidden;

}

.left{
    overflow-x: hidden;

    width: 100%;
}

.center{
    overflow-x: hidden;

    width: 100%;
}

.content {
    width: 100%;
    display: grid;
    grid-template-columns:40% 60% ;
    
}

h2{
    margin-top: 1vw;
    font-size: 4vh;
    margin-bottom: 1vh;
    line-height: 0.8;
    
}

h3{
    font-size: 4vh;
    font-weight: 500;
    padding-right: 5vw;
    margin-bottom: 0vh;


}

h4{
    line-height: 1.2;
    font-size: 1.5vh;
    margin-left: 0;
    margin-right: 1vw;
    margin-top: 0.5vh;
    
    
}

h5{
  font-size: 3vh;  
  font-weight: 400;
  padding-right: 1vw;
  margin-top: 8vw;
  margin-bottom: 1vw;

}

.back{
    margin-top: 5vh;
    left: 0;

}

.bottom{
    padding-left: 1vw;
    width: 30vw;
    margin-top: 10vw;
    
}

#pc{
    display: none;
}

#phone{
    display: flex;
}

#topzan{
    margin-top: 2vh;
}

.dmecka h4{
    padding-right: 0vw;
}



}
