/* ==========================================================================
   ========================================================================== */
body, h1, .h2, .main-title {
    font-family: "helvetica-lt-pro", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: white;
}

body {
    margin: 0;
}

h1 {
    font-size: 4rem;
   
}

.h2 {
    font-size: 4rem;
}

.popis {
    font-size: 1.2rem;
    max-width: 571px;
    text-align: center;
    margin: -20px auto 20px;
    line-height: 1.5;
    font-family: "helvetica-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.popis2 {
    font-size: 1.2rem;
    max-width: 550px;
    text-align: center;
    margin: -20px auto 20px;
    line-height: 1.5;
    font-family: "helvetica-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.uvodní_text {
    font-size: 1.2rem;
    max-width: 525px;
    text-align: center;
    line-height: 1.5;
    font-family: "helvetica-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
    
    margin-top: 70px;
    margin-bottom: 80px;
    z-index: 5;

}

@media (max-width: 999px) {
    .uvodní_text {
        font-size: 1rem;
        max-width: 85%; 
        margin-top: 25px; 
        margin-bottom: 60px;
    }
}


.text-info {
font-family: "helvetica-lt-pro", sans-serif;
font-weight: 400;
font-style: normal;
}



.chobotnicka1 {
   position: fixed;
   
    bottom: 0vw;
    left: 0vw;
    z-index: 20;
   
}

.box{
	position: absolute;
	bottom: 20%;
	left: 50%;
    z-index: 2;
	
}

.box span{
	display: block;
	width: 20px;
	height: 20px;
	border-bottom: 2px solid white;
	border-right: 2px solid white;
	transform: rotate(45deg);
	margin: -10px;
	animation: animate 2s infinite;
}

.box span:nth-child(2)
{
	animation-delay: -0.2s;
}

.box span:nth-child(3)
{
	animation-delay: -0.4s;
}

@keyframes animate{
	
	0%{
		opacity: 0;
		transform: rotate(45deg) translate(-20px, -20px);
	}
	50%{
		opacity: 1;
	}
	100%{
		opacity: 0;
		transform: rotate(45deg) translate(20px, 20px);
	}
}



/* ==========================================================================
   2. PODSTRÁNKY
   ========================================================================== */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    min-height: 80px;
    position: relative; 
}

.nav-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.sipka-zpet img {
    width: 50px; 
    height: auto;
    display: block;
}

.logo-deepdive {
    width: 140px;
    height: auto;
    display: block;
}


.sipka-nahoru {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15;
    transition: transform 0.3s ease;
}

.sipka-nahoru img {
    width: 50px; 
    height: auto;
    display: block;
}

.sipka-nahoru:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.logo-iluze-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transition: transform 0.3s ease;
    z-index: 10;
    
}

.logo-iluze-link:hover {
    transform: scale(1.05);
}

.logo-iluze {
    width: 110px;    
    height: auto;
    display: block;
}

.video-kontejner {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 560px;
    box-sizing: border-box;
}
.video {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.video-kontejner button{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -1.5rem;
    margin-top: -1.5rem;
    font-size: 2rem;
    z-index: 99;
    width: 3rem;
    height: 3rem;
    color: rgb(13, 22, 36);
    background-color: #ffffff76;
    border-radius: 50%;
    border: 0;
}
 .chobotnicka {
        position: absolute;
        bottom: -10%;
        right: -33%;

        width: 150px;
        height: auto;
        z-index: 5;
        pointer-events: none;
        display: block;
        
       /* transition: opacity 0.5s ease, visibility 0.5s ease; */
}
.but.playing{
  	display: none;
}
.chobotnicka.playing{
  	display: none;
}
/*
.chobotnicka.schovat {
    opacity: 0;
    visibility: hidden;
}
*/





/* HTML: <div class="loader"></div> */
.loading {
  color: #ffffff21;
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 19px 0 0 7px, 38px 0 0 3px, 57px 0 0 0;
  transform: translateX(-38px);
  animation: l21 .5s infinite alternate linear;
 
  position: absolute;
  right: 50%;
  left:50%;
  top: 50%;
}

@keyframes l21 {
  50%  {box-shadow: 19px 0 0 3px, 38px 0 0 7px, 57px 0 0 3px}
  100% {box-shadow: 19px 0 0 0  , 38px 0 0 3px, 57px 0 0 7px}
}


@media (max-width: 999px) {
    .chobotnicka {
        width: 100px;   
        right: 30px;   
        bottom: 0px;
        
    }
    .video-kontejner{
        width: 100%;
        padding-bottom: 30px; 
        
        padding-left: 60px;
    }

.video-kontejner button{
        margin-top: -3rem;
        opacity: 0;
}
}

/* ==========================================================================
   3. HLAVNÍ STRÁNKA
   ========================================================================== */
.main-logo {
    width: 650px;
    height: auto;
    margin-bottom: 20px;
}

.header .logo-iluze-link {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 20;
    transition: transform 0.3s ease;
      /*  left: 22px; */
}
.header {
    background-color: rgb(188, 220, 255);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative; 
    overflow: hidden;   
}

.vlnka-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url("Vlnka.svg");
    background-size: cover;
    background-position: left bottom;
}

.zone {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    /*text-transform: uppercase;*/
    overflow: hidden;
}

/* navigační čára */
.Sunlight::before, .Twilight::before, .Midnight::before, .Abyss::before {
    content: "";
    position: absolute;
    top: 0;
    right: 40px; 
    width: 3px; 
    height: 100%;
    background: rgba(255, 255, 255, 0.5); 
    z-index: 10;
}


.zone::after {
    position: absolute;
    bottom: 15px; 
    right: 55px; 
    font-size: 2rem;
    font-family: "helvetica-lt-pro", sans-serif;
    font-weight: 300;
    font-style: italic;
    text-transform: none; 
    color: rgba(255, 255, 255, 0.7);
    z-index: 10;
}

/* BARVY*/
.Sunlight { background-color: rgb(133, 181, 241); }
.Sunlight::after { content: "200 m"; }

.Twilight { background-color: rgb(51, 89, 134); }
.Twilight::after { content: "1000 m"; }

.Midnight { background-color: rgb(30, 46, 68); }
.Midnight::after { content: "4000 m"; }

.Abyss { background-color: rgb(13, 22, 36); }
.Abyss::after { content: "6000 m+"; }



.Sunlight a, .Twilight a, .Midnight a, .Abyss a {
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.Sunlight a:hover, .Twilight a:hover, .Midnight a:hover, .Abyss a:hover {
    background-color: rgba(255, 255, 255, 0.112);
    transition: 0.3s;
}

.Sunlight h1, .Twilight h1, .Midnight h1, .Abyss h1 {
    margin: 0; 
    transition: transform 0.3s ease, text-shadow 0.3s ease; 
    display: inline-block; 
}

.Sunlight a:hover h1, .Twilight a:hover h1, .Midnight a:hover h1, .Abyss a:hover h1 {
    transform: scale(1.1);
}



/* ==========================================================================
   4. SLIDERY atd
   ========================================================================== */
.sunlight-page { background-color: rgb(133, 181, 241); }
.twilight-page { background-color: rgb(51, 89, 134); }
.midnight-page { background-color: rgb(30, 46, 68); }
.Abyss-page { background-color: rgb(13, 22, 36); }

.grid-container {
    display: flex; 
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.main-title {
    font-size: 3rem;
    margin-top: 20px;
}

/* Slidery */
.animal-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.active-animal { 
    max-width: 250px; 
    height: auto; 
}

.arrow {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.arrow:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Detaily zvířat */
.animal-detail {
    display: grid;
    grid-template-columns: 400px 450px;
    gap: 40px; 
    align-items: start;
    justify-content: center;
    margin: 50px auto;
    height: 350px;
}

.detail {
    width: 350px; 
    height: auto;
}

.text-info-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left;
    max-width: 450px;
    justify-content: flex-start;
    padding-top: 20px;
}

.manta-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.text-info {
    font-size: 1.2rem;
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

/* SIPKA DOLUU */
.deeper {
    text-align: center;
    margin-bottom: 50px;
}

#arrow-down {
    width: 50px !important; 
    height: auto !important;
    margin-top: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

#arrow-down:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   5. RESPONZIVITA PRO MOBIL
   ========================================================================== */
@media (max-width: 999px) {

.chobotnicka1 {
    width: 50%;
}




    .top-nav {
        padding: 10px 20px;
    }

    .nav-left {
        gap: 15px;
    }

    .sipka-zpet img { 
        width: 35px;
    }

    .logo-deepdive {
        width: 95px;
    }

 .sipka-nahoru {
       left: 52%;
    }

    .sipka-nahoru img {
        width: 30px;
    }

    .logo-iluze {
        width: 75px;
    }

    /* Úvodní stránka mobil */
    .main-logo {
        width: 80%;
    }

    h1 {
        font-size: 2rem;
    }

    .zone::after {
        font-size: 1.2rem;
    }


    .animal-detail {
        display: flex;
        flex-direction: column;  
        text-align: center;
        width: 100%;
        height: auto;
        margin: 20px auto;
        align-items: center;
    }

    .text-info-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .manta-title {
        order: 1; 
    }

    .detail {
        order: 2; 
        width: 80%; 
        margin: 20px 0;
    }

    .text-info {
        order: 3; 
        text-align: left; 
        padding-left: 20px;
        align-self: flex-start;
        max-width: 300px;
        margin: 0 auto;
    }

    .popis {
        font-size: 1.2rem;
        max-width: 286px;
    }

  .popis2 {
        font-size: 1.2rem;
        max-width: 297px;
    }

    .video {
        width: 80%;
        height: auto ;
        aspect-ratio: 16 / 9; 
        max-width: 420px;
    }

    .animal-slider {
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    .active-animal {
        max-width: 120px;
        height: auto;

    }

  

    .arrow {
        /*padding: 15px;*/
        opacity: 0.8;
    }

    .animal-detail {
        display: flex;
        flex-direction: column;  
        text-align: center;
        width: 100%;
        height: auto;
        margin: 20px auto;
        align-items: center;
    
    }

}


/* tooltip */
.tooltip-slovo {
    text-decoration: underline;
    cursor: help; 
    position: relative; 
    display: inline-block;
}

.tooltip-slovo::after {
    content: attr(data-tooltip); 
    position: absolute;
    bottom: 125%; 
    left: 50%;
    transform: translateX(-50%) scale(0.8); 
    
    background-color: rgba(13, 22, 36, 0.95);
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    text-transform: none;

    width: 250px; 
    white-space: normal; 
    
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.tooltip-slovo:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1); 
}
