body { padding: 0; margin: 0; font-family: 'Poppins', sans-serif; }
#unity-container { position: fixed; width: 100%; height: 100%; }
#unity-canvas { width: 100%; height: 100%; opacity: 0.1; background: #231F20 }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

@font-face {
    font-family: 'Poppins';
    src: url('TemplateData/font/Poppins-Black.ttf') format('truetype');
}
  
element {
    --main-color: #F4F4FB;
}

#antenneInformations{
    position: absolute;
    top: 2.5%;
    left: 20px;
    margin: auto 0;
    width: 23%;
    max-height: 95%;
    background-color: #f4f4fbd5;
    padding-left: 1%;
    padding-right :1%;
    display: none;
}

#satelliteInformations{
    position: absolute;
    top: 2.5%;
    left: 20px;
    margin: auto 0;
    width: 23%;
    max-height: 95%;
    background-color: #f4f4fbd5;
    padding-left: 1%;
    padding-right :1%;
    display: none;
}

#graphContainer{
    position: absolute;
    top: 15%;
    left: 5%;
    margin: auto 0;
    width: 60%;
    height: 70%;
    background-color: #f4f4fbd5;
    padding-left: 1%;
    padding-right :1%;
    z-index: 100;
    display: none;

}

#closeAntenneInformation{
    position: absolute;
    top: 2.5%;
    left: 24%;
    width:2.3%;
    margin-left: 20px;
    color: #fff; 
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background-color: #ff6347;
    display: none;
}

#closeSatelliteInformation{
    position: absolute;
    top: 2.5%;
    left: 24%;
    width:2.3%;
    margin-left: 20px;
    color: #fff; 
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background-color: #ff6347;
    display: none;
}

#closeAntenneInformation:hover {
    background-color: #923626; /* New background color on hover */
}
#closeSatelliteInformation:hover{
    background-color: #923626; /* New background color on hover */

}

#tortueInformations{
    display: flex;
    position:relative;
    align-items: center;
    justify-content: space-between;
    background-color: #ECECEC;
    margin-top: 3%;
    padding-left: 6%;
    padding-top: 2%;
    padding-bottom: 2%;
}

#subText{
    margin-top: 5%;
}

#turtleName{
    margin-bottom: 10px;
}

.bottomMidle{
    position: absolute;

    width: 30%;
    right: 35%;
    height: auto;
    color: #fff; 
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
}

#coord{
    bottom: 20px;
    display: none;
}

#creditAccesor{
    bottom: 10px;
    cursor: pointer;
    z-index: 101;
    display: none;
}

#gridDisplayer{
    top: 20px;
    right: 160px;
    width: 60px;
    height: 60px;
    display: none;
}

#chartDisplayer{
    top: 20px;
    right: 90px;
    width: 60px;
    height: 60px; 
    display: none;
}

#turtleSelection{
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;  
    display: none; 
}

#Trame{
    width: 100%;
    height: 30%;
    padding: 10px;
    background-color: #f4f4fbd5;
    overflow: auto;
}

#skip{
    display: none;
}

.topButton{
    position: absolute;
    height: auto;
    background-color: #f4f4fb;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

#gridDisplayer:hover{
    background-color: #ECECEC;
}

#chartDisplayer:hover{
    background-color: #ECECEC;
}

#turtleSelection:hover{
    background-color: #ECECEC;
}

#turtleSelectionContainer{
    position: absolute;
    top: 90px;
    right: 20px;
    max-height: 40%;
    width: 80px;
    background-color: #f4f4fbd5;
    display: flex;
    flex-direction: column;
    gap: 10px;
    display: none;
    block-size: fit-content;
}

#imgAvatarMsg{
    position: absolute;
    bottom: 0px;
    right: 5%;
    width: 7%;
    display: none;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

#Avatar{
    background-color: #f4f4fbd5;
    position: absolute;
    bottom: 10px;
    right: 8%;
    width: 22%;
    min-height: 20%;
    display: none;
    align-items: center;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

#contentAvatarMsg{
    margin-left: 1.5%;
    width: 97%;
    min-height: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    cursor: pointer;
}

#contentMsg{
    width: 85%;
    min-height: 20%;
    margin-right: 15%;   
}

#closeMsg{
    width: 80%;
    margin-right: 15%;
    display: none;
}

.turtleSelectionContaint{
    width: 100%;
    max-height: 100%;
    background-color: #ECECEC;
    flex-grow: 1;
    margin-bottom: 20%;
}

.square-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    margin: auto;
}

.rounded-box {
    border-radius: 10px; 
}

.image-container{
    width: 25%;
    background-color: white;
    border-radius: 10px;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.text-container {
    flex-grow: 1;
    margin-left: 10%;

}

.right_align{
    text-align: right;
    margin-right: 10%;
    bottom: 2%;
}

.scrollable-container {
    width: 300px;
    height: 95%;
    overflow: auto; /* This property creates a scrollbar when content overflows */
    border: 1px solid #ccc;
    padding: 10px;
}

#turtle_img{
    border-radius: 15px; /* Adjust the radius as needed */
}

#valueConvert{
    width: 100%;
    padding: 20px;
    font-style:bold;

}

.letter-overlay {
    position: absolute;
    top: 11%; 
    right: 67%; 
    background-color: #3498db; 
    color: #fff; 
    width: 30px; 
    height: 30px;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.custom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5%;
    border: none; /* Change the background color as needed */
    cursor: pointer;
}
  
.custom-button img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

input[type='number'] {
    padding: 12px 20px;
    font-size: 1rem;
    border-style: none;
    text-align: center;
    outline: transparent;
    width: 100%;
    z-index: 1000;
}

.inputConvert{
    margin-top: 10px;
}

#curvesImages{
    position:static;
    width: 90%;
    height: 80%;
    margin-left: 5%;
}

.auto-height-div {
    width: 30%;
    height: auto;
    max-height: 95%;
    border: 1px solid #ccc;
    padding: 10px;
}

.submitbtn{
    margin-top: 3%;
    padding: 12px 20px;
    font-size: 1rem;
    border-style: none;
    text-align: center;
    background-color: #151515;
    color:white;
    outline: transparent;
    width: 100%;
}

.submitbtn:hover{
    background-color: #2E2E2E;
}

.centered-element{
    margin-left: auto;
    margin-right: auto;
}

.dragable{
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}
.arrow-container {
    top:2.5%;
    right:1%;
    position: absolute;
    display: inline-block;
    cursor: pointer;
    z-index: 11;
    color:white;
}

.text-with-arrow {
    display: inline-block;
    padding-right: 20px; 
}

.arrow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    transition: transform 0.3s ease;
}

.arrow::after {
    content: '→';
    font-size: 22px;
}

.arrow-container:hover .arrow {
    transform: translate(5px, -50%); /* Adjust the translate value as needed */
}
/* VIDEO */

#video-container {
    margin-top: auto;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

#video-player {
    height: 100%;
    width: auto;
    margin: auto;
    background-color: black;
}

#video-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
}

.tooltip-container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F4F4FB;
    padding: 10px;
}

.icon {
    width: 25px;
    height: 25px;
    margin: 0 5px;
}

#antenneHelper{
    display: none;
}

#buttonHelper{
    display: none;
    z-index: 100;
}

.title-container{
    width: 100%;
    height: 50px;
}

.left-content {
    float: left;
    width: 80%;
}

.right-content {
    float: right;
    width: 20%;
}
.right-content img{
    width: 50%;
    margin-left: 25%;
}

.right-content h6{
    text-align: center;
    font-size: 0.8rem;
}

/* INTRO */

#intro{
    background-color: #20385a;
    background-image: url("../TemplateData/ui/pngimg.com - green_leaves_PNG3654.png");
    background-size:contain;
    background-repeat: no-repeat;
    background-size: auto 200%;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 30;
    
}

#introImg{
    width: 100%;
    margin-left: 15%;
    margin-top: auto;
}

#btnIntro{
    margin-top: 5%;
    margin-left: 35%;
    background-color: #0d6efd;

}

.button--loading::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    padding: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

#btnIntro:active {
    background-color: rgb(50, 50, 50);
}

#btnIntro:hover {
    background-color: rgb(50, 50, 50);
}

.button__text {
    color: #ffffff;
    transition: all 0.2s;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

@keyframes spin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 10px;
    color: #fff;
    place-items: center;
    grid-template-columns: 1fr 1.4fr;
}
  
.grid-box {
    margin: 4%;
    padding: 10px; 
}

.h0{
    font-size: 3.4vw;
    text-align: center;
    font-weight: bold;
}
/* TEXT */


h1{
    font-size:  3.2vw;
}

h2{
    font-size: 2.8vw;
}

h3{
    font-size: 2vw;
}

h4{
    font-size: 1.3vw;
}

.horizontal-dropdown {
    display: flex;
    margin-bottom: 2%;
  }

.horizontal-dropdown select {
    margin: 5%;
}

select{
    width: 35%;
    border:0px;
    padding: 10px;
    border-right: 16px solid transparent;
}


/** BOTTOM ICON **/

.icons-container {
    position: fixed;
    bottom: 1%;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 20;
    width: 40px;
}

.icons-container .bottomBtn{
    width: 100%;
    height: auto;
    margin-block:10px;
}

.icons-container .bottomBtn img{
    width: 100%;
    height: auto;
}
.icons-container .bottomBtn img:hover{
    -webkit-filter: invert(100%); /* Safari/Chrome */
    filter: invert(100%);
    cursor: pointer;
}



#resetCamBtn{
    top: 20px;
    right: 230px;
    width: 60px;
    height: 60px;
    display: none;
}

#resetCamBtn:hover{
    background-color: #ECECEC;
}
/*
#reload{
    display: none;
}*/

/* logo Intro */ 

#introBtnAction{
    bottom: 7%;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content:  space-between;
    flex-wrap: wrap;
    right:5%;
    width: 70px;
    height: 160px;
}

#introBtnAction button img{
    width: 50px;
    height: 50px;
}

#creditBtn{
    border-radius: 10px;
    width: 70px;
    height: 70px;
}

#fullScreenBtn{
    border-radius: 10px;
    width: 70px;
    height: 70px;
    margin-bottom: 15%;
}

#logos {
    display: inline-block;
    position: absolute;
    bottom: 7%;
    width: 79%;
    overflow: hidden;
    background-color: #fdfdfdc4;
    text-align: center;
    border-radius: 10px;
    left: 5%;
}

#logos img {
    width: 11%;
    height: 100%;
    margin-inline: 4%;
}

/** Credit **/


#credit {
    z-index: 102;
    position: absolute;
    backdrop-filter: blur(5px);
    top: 0;
    width: 100%;
    height: 100vh;
    display: none;
}

#credit-bar {
    position: absolute;
    left: 50%;
    width: 40%;
    height: 100%;
    transform: translate(-50%, 0);
    background-color: rgb(72 72 72);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    color: white;
}

#credit-title {
    z-index: auto;
    font-size: 40px;
    margin-block-start: 0%;
    margin-block-end: 0%;
    display: block;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

#credit-content {
    height: 75%;
    width: 100%;
    overflow: hidden;
    overflow-y: auto;
    scroll-padding-left: 20px;
}

#credit-content p,h3,ul {
    margin-left: 20px;
    margin-right: 20px;
}

#credit-content h3 {
    font-weight: bold;
}

#credit-content p img {
    max-width: 100%;
    max-height: 100%;
    padding: 30px;
    background-color: white;
}

.buttonIntro{
    width: 30%;
    height: auto;
    padding: 20px;
    background-color: black;
    color:white;
    border: none;
    font-weight: bold;
    font-size: 1vw;
}

/** RESPONSIVE **/

@media (max-aspect-ratio: 4/3) {

    h1{
        font-size:  2.2vw;
    }

    
    #tortueInformations{
        display:block;

    }

    .image-container {
        margin: 2%;
        width: 90%;
       
    }

    .image-container img {
        max-width: 50%;
        margin-left: 25%;
    }

    #antenneInformations{
        width: 30%;
    }

    #closeAntenneInformation{
        left: 31%;
    }

    
    #Trame{
        height: 50%;
    }
    

    #introBtnAction{
        width: 50px;
        height: 90px;
    }
    
    #introBtnAction button img{
        width: 30px;
        height: 30px;
    }
    
    #creditBtn{
        width: 40px;
        height: 40px;
    }
    
    #fullScreenBtn{
        width: 40px;
        height: 40px;
        margin-bottom: 15%;

    }

  }
