@font-face {
    font-family: 'Great-Vibes'; /* donnez un nom à votre police */
    src: url('fonts/GreatVibes-Regular.ttf') format('truetype'); /* indiquez le chemin vers votre fichier de police */
  }
 
  :root {
    --back-color: #f0c9e6;
    --color-texte: #323232;
  }
  
 
 * {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box ;
 }

 body {
    color: var(--color-texte);
    padding-top: 136px;
    overflow-x: auto;
 }

/* NavBar */

h1 {
    font-family: 'Great-Vibes', sans-serif;
    position: relative;
    top: 0;
    font-weight: 300;
    text-align: center;
    padding: 10px;
    font-size: 3.5em;
 }
 
 .separator {
    border: 0.5px solid var(--color-texte);
    margin: 0 20%;
    opacity: 0.2;
  }
 
 .navbar {
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--back-color);
    z-index: 100;
    top: 0;
 }
 
 .navbar a {
    color: var(--color-texte);
 }
 
 .navbar .nav_links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 10px 0;
 
 }
 
 .navbar .nav_links ul li {
    margin: 0 50px;
 
 }
 
 .navbar .nav_links ul li a {
    font-weight: 300;
    font-size: 1.3em;
    text-transform: uppercase;
    letter-spacing: 0.5;
 }
 
 .navbar .nav_links ul li a:hover {
   opacity: 0.5;
 }
 
 .navbar .menu_hamburger {
    display: none;
    width: 40px;
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px;
    background-color: #e0dfdf;
    border-radius: 5px;
 } 

@media screen and (max-width: 950px) {

    body {
       padding-top: 0px;
    }
 
    .navbar {
       padding: 0;
       position: relative;
   }
 
   .navbar h1 {
    display: none;
   }
 
   .separator {
    display: none;
   }
 
    .navbar .menu_hamburger {
       display: block;
   }
 
   .nav_links {
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100vh;  
       display: flex;
       justify-content: center;
       background-color: rgba(224, 191, 216, 0.5);
       backdrop-filter: blur(7px);
       align-items: center;
       margin-left: -100%;
    }
 
    .nav_links.mobile-menu {
       margin-left: 0;
    }
 
    .nav_links ul {
       display: flex;
       flex-direction: column;
       align-items: center;
   }
 
   .navbar .nav_links ul li {
       margin: 25px;
       font-size: 1.2em;
   }
}

/* Footer */

footer {
    position: relative;
    width: 100%;
    background-color: var(--back-color);
}
  
footer .nav_links-footer ul {
    list-style: none;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    flex-wrap: wrap;
}
  
footer .nav_links-footer ul li a{
    font-size: 1.1em;
    display: inline-block;
    margin: 0 10px;
}
  
footer .nav_links-footer ul li a:hover {
    opacity: 0.5;
}
  
.copyrigth {
    text-align: center;
    font-size: 1em;
    color: var(--color-texte);
    padding: 10px 0;
    margin: 0 10px;
}
  
@media (max-width: 500px) {
  
    footer .nav_links-footer ul li a{
        font-size: 1em;
        display: inline-block;
        margin: 5px 15px;
        padding: 0 10px;
    }
  
    .copyrigth {
        text-align: center;
        font-size: 0.9em;
        color: var(--color-texte);
        padding-bottom: 5px;
    }
    
  }
  
@media (max-width: 360px) {
  
    footer .nav_links-footer ul li a{
        font-size: 0.9em;
        display: inline-block;
        margin: 5px 5px;
    }
  
    .copyrigth {
        text-align: center;
        font-size: 0.9em;
        color: var(--color-texte);
        padding-bottom: 5px;
    }
}
  
.mobile-menu {
    overflow: hidden;
}

/* Texte */

.container-histoire {
    padding: 60px 50px;
    background-color: #e0dfdf;
}


.texte-content {
    margin: 0px 10%;
    padding: 0px 40px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 30px;
    background-color: white;
    line-height: 0.9;
    padding-bottom: 20px;
}

.texte-content h2 {
    font-size: 2.6em;
    padding: 40px 40px;
    font-weight: 400;
    text-decoration: underline;
    text-align: center;
}

.texte-content h3 {
    font-size: 1.8em;
    font-weight: 400;
    padding: 0px 40px;
    padding-bottom: 25px;
    text-align: center;
}

.texte-content p {
    padding: 0px 40px;
    font-size: 1.5em;
    font-weight: 400;
    color: var(--color-texte);
}


.texte-content ul {
    padding: 0px 100px;
    padding-bottom: 20px;
}

.texte-content li {
    padding: 10px 0px;
    font-size: 1.4em;
}

.list2 {
    margin-top: 10px;
}

.list3 {
    margin-top: -10px;
}


@media screen and (max-width: 1200px) {
    .container-histoire{
        padding: 60px 0px;
    }

    .texte-content h2 {
        font-size: 2.5em;
    }
    
    .texte-content p {
        font-size: 1.2em;
    }

    .list {
        font-size: 1.2em;
    }

    .texte-content li {
        font-size: 1.1em;
    }

    .texte-content h3 {
        font-size: 1.6em;
    }
}

@media screen and (max-width: 900px) {
    .texte-content h2 {
        font-size: 1.6em;
    }
}

@media screen and (max-width: 750px) {

    .texte-content {
        margin: 0px 5%;
        padding: 0px 20px;
    }
    
    .texte-content h2 {
        font-size: 1.8em;
        padding: 25px 40px;
    }
    
    .texte-content p {
        font-size: 1em;
    }

    .texte-content li {
        font-size: 0.9em;
    }

    .texte-content h3 {
        font-size: 1.3em;
    }

    .texte-content ul {
        padding: 0px 80px;
        padding-bottom: 20px;
    }

}

@media screen and (max-width: 550px) {

    .texte-content {
        margin: 0px 5%;
        padding: 0px 0px;
        border-radius: 0%;
    }
    
    .texte-content h2 {
        font-size: 1.6em;
        padding: 20px 10px;
    }
    
    .texte-content p {
        font-size: 1em;
        padding: 0px 10px;
    }

    .texte-content li {
        font-size: 0.9em;
    }

    .texte-content h3 {
        font-size: 1.2em;
        padding: 0px 10px;
        padding-bottom: 20px;
    }

    .texte-content ul {
        padding: 0px 40px;
        padding-bottom: 20px;
    }
}

.underline {
    text-decoration: underline;
}

/* Tarif */

.container-tarif {
    width: 1000px;
    margin: 0 auto;
    padding: 20px 0px;
}

table {
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 30px;
    padding: 20px 0px;
  }

td {
    padding: 10px;
    text-align: left;
    font-size: 1.2em;
    line-height: 1.4;
}

.description {
    width: 70%;
}

.tarif, .heure {
    width: 15%;
    font-size: 1.3em;
}

@media screen and (max-width: 1430px) {
    .container-tarif {
        width: 90%
    }

    .tarif, .heure {
        width: 15%;
        font-size: 1.2em;
    }

    .description {
        width: 70%;
    }
}

@media screen and (max-width: 1100px) {
    .container-tarif {
        width: 90%
    }

    .tarif, .heure {
        font-size: 1em;
    }

    .tarif {
        width: 12%;
    }

    .heure {
        width: 18%;
    }

    .description {
        width: 70%;
        font-size: 0.9em;
    }
}

@media screen and (max-width: 830px) {
    .container-tarif {
        width: 100%;
    }

    .tarif, .heure {
        font-size: 0.8em;
    }

    .tarif {
        width: 12%;
    }

    .heure {
        width: 8%;
    }

    .description {
        width: 50%;
        font-size: 0.8em;
    } 
}

@media screen and (max-width: 650px) {
    .container-tarif {
        width: 96%;
    }

    .tarif, .heure {
        font-size: 0.6em;
    }

    .tarif {
        width: 10%;
    }

    .heure {
        width: 21%;
    }

    .description {
        width: 62%;
        font-size: 0.6em;
    }
    
    td {
        padding: 4px;
      }
}

/* Liste */

.texte-content ul {
    padding: 20px 100px;
    padding-bottom: 20px;
}

.texte-content li {
    padding: 10px 0px;
    font-size: 1em;
}

@media screen and (max-width: 1300px) {
.texte-content ul {
    padding: 20px 80px;
    padding-bottom: 20px;
}

.texte-content li {
    padding: 5px 0px;
    font-size: 0.8em;
}
}

@media screen and (max-width: 950px) {

    .texte-content ul {
        padding: 0px 50px;
        padding-bottom: 20px;
    }

    .list1 {
        margin-bottom: 20px;
    }
    
    .texte-content li {
        padding: 5px 0px;
        font-size: 0.8em;
    }

    .texte-content li p {
        padding: 0px 10px;
    }

}

@media screen and (max-width: 500px) {
    .texte-content ul {
        padding: 0px 30px;
        padding-bottom: 20px;
    }
    
    .texte-content li {
        padding: 5px 0px;
        font-size: 0.8em;
    }

    .texte-content li p {
        padding: 0px 5px;
        font-size: 0.8em;
    }
}

/* Image */

.container-img1 {
    display: flex;
    padding: 20px 0px;
}

.container-img1 img{
    width: 40%;
    margin: auto;
}

@media screen and (max-width: 1250px) {
    .container-img1 img{
        height: auto;
    }
}

.container-img2 {
    display: flex;
    padding: 20px 0px;
}

.container-img2 img{
    width: 40%;
    margin: auto;
}

@media screen and (max-width: 1250px) {
    .container-img2 img{
        height: auto;
    }
}

.container-img3 {
    display: flex;
    padding: 20px 0px;
}

.container-img3 img{
    width: 40%;
    margin: auto;
}

@media screen and (max-width: 1250px) {
    .container-img3 img{
        height: auto;
    }
}

.container-img5 {
    display: flex;
    flex-direction: column;
    padding: 20px 0px;
}

.container-img5 img{
    width: 60%;
    margin: auto;
    padding-bottom: 20px;
}

.container-img5 p {
    width: 75%;
    margin: 0 auto;
    font-style: italic;
    font-size: 1.9em;
    text-align: center;
    line-height: 1.1;
}

@media screen and (max-width: 1250px) {
    .container-img5 img{
        height: auto;
    }

    .container-img5 p {
        width: 80%;
        font-size: 1.6em;
    }
}

@media screen and (max-width: 950px) {
    .container-img5 p {
        width: 100%;
        font-size: 1.4em;
    }
}

@media screen and (max-width: 650px) {
    .container-img5 p {
        font-size: 1em;
        padding: 0px 10px;
    }
}

@media screen and (max-width: 500px) {
    .container-img5 p {
        font-size: 0.8em;
    }
}

.container-img6 {
    display: flex;
    padding: 20px 0px;
}

.container-img6 img{
    width: 50%;
    margin: auto;
}

@media screen and (max-width: 1250px) {
    .container-img6 img{
        height: auto;
    }
}

.image-container {
    width: 100%;
    overflow: hidden;
    padding: 0px 40px;
}
  
  .image-container img {
    width: 33.33%;
    float: left;
    height: 20vw;
    padding-top: 20px ;
}

@media screen and (max-width: 750px) {
    .image-container {
        padding: 0px 10px;
    }
      
      .image-container img {
        height: 35vw;
    }
}

.image-container2 {
    width: 100%;
    overflow: hidden;
    padding: 0px 40px;
}
  
  .image-container2 img {
    width: 50%;
    float: left;
    height: 20vw;
    padding-top: 20px ;
}

@media screen and (max-width: 750px) {
    .image-container2 {
        padding: 0px 10px;
    }
      
      .image-container2 img {
        height: 35vw;
    }
}

 /* Vidéo */
 
 .video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
  }
  
  .video-container video {
    margin: 10px;
    width: 60%;
    height: auto;
}

/* Citacion fin */

.container-main {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 90%;
    margin: auto;
    padding-top: 40px;
  }

  .container-main p {
    font-size: 1.5vw;
    line-height: 1.1;
    font-style: italic;
  }

  .image {
    width: 28%;
    height: 17vw;
    padding: 5px;
  }

  .left-image {
    margin-right: 10px;
  }

  .right-image {
    margin-left: 10px;
  }


  @media screen and (max-width: 750px) {
    .container-main p {
        width: 40%;
        font-size: 1.8vw;
      }
    
      .image {
        width: 30%;
        height: 20vw;
        padding: 5px;
      }

      .container-plongeon p {
        font-size: 2vw;
      }
  }

  @media screen and (max-width: 450px) {
    .container-main p {
        width: 40%;
        font-size: 2.5vw;
      }
    
      .image {
        width: 30%;
        height: 30vw;
        padding: 5px;
      }
  }

  .container-plongeon {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 40px 0px;
  }

  .image-plongeon{
    width: 35%;
    height: 20vw;
    margin: auto;
  }

  .container-plongeon p {
    text-align: center;
    padding-top: 20px;
    line-height: 1.2;
    font-size: 1.5vw;
  }

  @media screen and (max-width: 750px) {
      .container-plongeon p {
        font-size: 2vw;
      }
  }

  @media screen and (max-width: 450px) {
    .container-plongeon p {
        font-size: 2.5vw;
      }
  }

    /* Slider */

.slider-1 {
    width: 80%;
    margin: 100px auto;
    overflow: hidden;
    background-color: white;
  
  }
  .slider-1 .slider {
    animation: slider-1 25s infinite ease-in-out;
    display: flex;
  
  }
  .slider-1 img {
    flex-shrink: 0;
    padding:  0px;
    width: 100%;
    height: 25vw;
    object-fit: contain;
  }
  
  
  /* 
     5% par transition, nombre choisi arbitrairement.
     reste divisé par nb de pauses
     80(%) / 4 = 20(%) par pause
  */
  
  @keyframes slider-1 {
    0%,
    4% {
      transform: translateX(0);
    }
    9%,
    13% {
      transform: translateX(-100%);
    }
    18%,
    22% {
      transform: translateX(-200%);
    }
    27%,
    31% {
      transform: translateX(-300%);
    }
    36%,
    40% {
      transform: translateX(-400%);
    }
    45%,
    49% {
      transform: translateX(-500%);
    }
    54%,
    58% {
      transform: translateX(-600%);
    }
    63%,
    68% {
      transform: translateX(-700%);
    }
    72%,
    77% {
      transform: translateX(-800%);
    }
    81%,
    86% {
      transform: translateX(-900%);
    }
    93%,
    100% {
      transform: translateX(-1000%);
    }
  }
