#CineIntro {
    position: relative;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    z-index: 1;
    background-color: black;
}

#container-cine {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; /* Vous pouvez ajuster la largeur selon vos besoins */
    /*max-width: 800px; /* Limite la largeur maximale si la fenêtre est très grande */
    padding-bottom: 56.25%; /* Rapport d'aspect 16:9 (9 / 16 * 100) */
    height: 0;
    overflow: hidden;
}

#cine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.start-container {
    z-index: 4;
}


#StartButton {
        margin-top: 15%;
        margin-left: 35%;
        height: 5%;
        padding: 20px;
}

#SkipButton {
    position: absolute;
    cursor: pointer;
    color: #ffffff;
    z-index: 3;
    right: 2%;
    top: 2%;
}

#arrow{
    font-family: var(--bs-body-font-family);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    transition: transform 0.3s ease;
    animation: arrowAnimationBis 700ms 5 paused ease;
}

#arrow::after {
    content: "→";
    font-size: 22px;
} 

.text-with-arrow {
    display: inline-block;
    padding-right: 20px;
}

.icon {
    position: absolute;
    top: 90%;
    left: 90%;
    transform: translate(-50%,-50%);
    width: 50px;
    height: 60px;
}

#logoMOC {
    display: flex;
    position: absolute;
    top: 25%;
    width: 15%;
}


.arrow {
    position: absolute;
    top: 25px;
    width: 90%;
    height: 10px;
    background-color: #ffffff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
    animation: arrowAnimation 700ms infinite;
    pointer-events: none;
}
  
.arrow::after, .arrow::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 10px;
    right: -8px;
    background-color: #ffffff;
}
  
.arrow::after {
    top: -6px;
    transform: rotate(45deg);
}
  
.arrow::before {
    top: 6px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
    transform: rotate(-45deg);
}

.loader{
    width: 100px;
    height: 100px;
    border-radius: 100%;
    position: relative;
    margin: 0 auto;
    z-index: 4;
}
  
  
#loader-1:before, #loader-1:after{
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: 10px solid transparent;
    border-top-color: #2783c1;
}
  
#loader-1:before{
    z-index: 100;
    animation: spin 1s infinite;
}
  
#loader-1:after{
    border: 10px solid #ffffff;
}
  
@keyframes spin{
    0%{
      -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
  
    100%{
      -webkit-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
}

@keyframes arrowAnimation{
    0%, 100% {
      left: 0;
    }
    50% {
      left: 10px;
    }
  }

@keyframes arrowAnimationBis{
    0%, 100% {
      right: 0;
    }
    50% {
      right: -10px;
    }
  }

#ImgIntro{
    background-color: #20385a;
    background-image: url("BeachForIntro.png");
    background-size:contain;
    background-repeat: no-repeat;
    background-size: auto 200%;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: inherit;
    
}

#introImg{
    width: 115%;
    margin-left: 10%;
    margin-top: auto;
}


.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: 10%;
    padding: 10px;
   
}

.h0{
    font-size: 3.2vw;
    text-align: center;
    font-weight: bold;
}

#logos {
    display: inline-block;
    position: absolute;
    bottom: 3%;
    width: 89%;
    overflow: hidden;
    background-color: #fdfdfdc4;
    text-align: center;
    border-radius: 10px;
}

#logos > img, #logos > div {
    width: 11%;
    height: 100%;
    margin-inline: 4%;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}
#logos > div > div {
    display: flex;
    flex-flow: column;
    color: black;
    width: 100%;
}

#logos > div > div > img {
    max-width: 100%;
    max-height: 100%;
}

#dialog.intro
{
    color: white;
    box-shadow: none;
    background-color: transparent;
    text-shadow:  0 0 20px black;
    height: 24vh;
    width: 68vw;
    left: 16vw;
    text-align: center;
    pointer-events: none;
}
