:root {
    --dark-color: hsl(var(--hue), 100%, 9%);
    --light-color: hsl(var(--hue), 95%, 98%);
    --base: hsl(var(--hue), 95%, 50%);
    --complimentary1: hsl(var(--hue-complimentary1), 95%, 50%);
    --complimentary2: hsl(var(--hue-complimentary2), 95%, 50%);
    --color:#C7C7FF;
    --font-family: "Poppins", system-ui;
  
    --bg-gradient: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.9),
     rgba(251, 212, 43, 0.2)
    );
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  

  .caly{

    font-family: "alkaline-caps", sans-serif;
    font-weight: 400;
    font-style: normal;
       
    }
  body {
    max-width: 1920px;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    font-family: var(--font-family);
    color: var(--dark-color);
    background: white;
    transition: all 1s ease;
    font-family: "Poppins";
    font-weight: 400;
    transition: all 1s ease;
  }

  
  
  .orb-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease;
  }
  
  strong {
    font-weight: 600;
  }
  
  .overlay h1 {
    font-size: 3rem;
    line-height: 3.75rem;
    font-weight: 400;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
  
}

.fadeInZoomOut{
    animation: fadeInZoomOut 2.5s ease-in-out forwards;
}


@keyframes fadeInZoomOut {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    33% {
        opacity: 1;
        transform: scale(1.1);
    }
    66% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

  .overlay {
    width: 100%;
    max-width: 1140px;
    max-height: 640px;
    padding: 8rem 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s ease;
    
  }
   
  @keyframes fideIn {
    0% {
      opacity: 0;
      transform: scale(1);
    }
    80% {
        opacity: 0.5;
      transform: scale(1.1);
    }
    100% {
      opacity: 1;
      transform: scale(1.1);
    }
  }

    @keyframes fideOut {
        0% {
        opacity: 1;
        transform: scale(1.1);
        }
        80% {
        opacity: 0.5;
        transform: scale(1.1);
        }
        100% {
        opacity: 0;
        transform: scale(1);
        }
    }
  
  .overlay__inner {
    max-width: 36rem;
  }
  
  .overlay__title {
    font-size: 1.875rem;
    line-height: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
  }
  
  .text-gradient {
    background-image: linear-gradient(
      45deg,
      var(--base) 25%,
      var(--complimentary2)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
  }
  
  .overlay__description {
    font-size: 1rem;
    line-height: 1.75rem;
    margin-bottom: 3rem;
  }
  
  .overlay__btns {
    width: 100%;
    max-width: 30rem;
    display: flex;
  }
  
  .overlay__btn {
    width: 50%;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--light-color);
    background: var(--dark-color);
    border: none;
    border-radius: 0.5rem;
    transition: transform 150ms ease;
    outline-color: hsl(var(--hue), 95%, 50%);
  }
  
  .overlay__btn:hover {
    transform: scale(1.05);
    cursor: pointer;
  }
  
  .overlay__btn--transparent {
    background: transparent;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
    border-width: 2px;
    margin-right: 0.75rem;
  }
  
  .overlay__btn-emoji {
    margin-left: 0.375rem;
  }
  
  a {
    text-decoration: none;
    color: var(--dark-color);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Not too many browser support this yet but it's good to add! */
  @media (prefers-contrast: high) {
    .orb-canvas {
      display: none;
    }
  }
  
  @media only screen and (max-width: 1140px) {
    .overlay {
      padding: 8rem 4rem;
    }
  }
  
  @media only screen and (max-width: 840px) {
    body {
      padding: 1.5rem;
    }
  
    .overlay {
      padding: 4rem;
      height: auto;
    }
  
    .overlay__title {
      font-size: 1.25rem;
      line-height: 2rem;
      margin-bottom: 1.5rem;
    }
  
    .overlay__description {
      font-size: 0.875rem;
      line-height: 1.5rem;
      margin-bottom: 2.5rem;
    }
  }
  
  @media only screen and (max-width: 600px) {
    .overlay {
      padding: 1.5rem;
    }
  
    .overlay__btns {
      flex-wrap: wrap;
    }
  
    .overlay__btn {
      width: 100%;
      font-size: 0.75rem;
      margin-right: 0;
    }
  
    .overlay__btn:first-child {
      margin-bottom: 1rem;
    }
  }
  


  /* play icone */
  @keyframes fadeInScale {
    0% {
      opacity: 0;
      transform: scale(0.5);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  #play {
    /* Remplacez ceci par les styles initiaux de votre icône de lecture */
    /* display: none; */
    width: 150px;
    transform: all 1s ease-in-out;
    /* Ajouter l'animation */
    animation: fadeInScale 0.5s ease-out,   bounce 1s infinite;
    z-index: 10;
   
     
  

  }

    #play:hover {
        /* Remplacez ceci par les styles de survol de votre icône de lecture */
        cursor: pointer;
        transform: scale(1.2);
      
    }
  

    .extrat{

    /* box-shadow: 0 0.75rem 2rem 0 rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.125);
    justify-content: space-around; */
    padding: 10px;
    
    flex-direction: column;
    }

    #video{
        width: 100%;
        border-radius: 2rem;
       
        transition: all .7s;
        opacity: 1;
    }

    .elm{
      flex: 1;
      display: none;
    }

    #map {
      width: 100%;
      height: 500px;
    
      opacity: 0.7;
      top: 0;
      right: 0;
      
    }

    .fin{
      position: absolute;
      left: 0;
      right: 0;
      opacity: 0;
      transition: all .7s;
    }


    #donationCall {
      
      padding: 20px;
      box-sizing: border-box;
      /* Changer en fonction de vos préférences */
      text-align: center;
      display: none;
  }
  
  #donationCall h2 {
      color: var(--color);
      font-size: 2em;
  }
  
  #donationCall p {
      color: #333; /* Changer en fonction de vos préférences */
      font-size: 1.2em;
      margin: 20px 0;
  }
  
  .btn {
      background-color: var(--color);
      color: black; /* Texte en blanc pour contraster avec le fond jaune */
      padding: 10px 20px;
      border: none;
      cursor: pointer;
      font-size: 1.2em;
      opacity: 0;
      transform: scale(0);
      transition: all 1s ease;

  }



  
  
  .btn:hover {
      background-color:var(--color);/* Une nuance plus foncée pour l'effet hover */
  }
  


  .btn-extrat{
    opacity: 1;
    transform: scale(1.2);
    animation: bounce 2s infinite;
  }

  @keyframes bounce {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }


 

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

    .extrat{
   
    
    position: absolute;
    top: 70px;
  }
  }

.playElem{
  position: relative;
  display: none;

  animation: bounce 3s infinite;
}
.fleche{
  position: absolute;
 
}
.fg{
 
  bottom: -30px;
  left: -50px;

}

.fd{
  left: 142px;
    top: 100px;
    transform: rotate(255deg);
   
   
}

.fc{
  transform: rotate(82deg);
  
}

.txt{
  left: 51px;
    top: -38px;
    animation: bounce 1.5s ease-in-out infinite;
}

.logo{
  width: 62px;
    top: 20px;
    position: absolute;
    left: 20px;
}