#couverture_accueil {
  height: 92vh;
}

#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100vw;
  min-height: 100vh;
  filter: saturate(1.2) brightness(1.1);
}

#ecran_logo {
  height: 92vh;
}

/*
@keyframes boucleGradient {
    0% {
        background-position: 50% 0%;
    }
    8% {
        background-position: 26% 10%;
    }
    17% {
        background-position: 10% 26%;
    }
    25% {
        background-position: 0% 50%;
    }
    34% {
        background-position: 10% 70%;
    }
    42% {
        background-position: 26% 86%;
    }
    50% {
        background-position: 48% 100%;
    }
    59% {
        background-position: 70% 86%;
    }
    68% {
        background-position: 86% 70%;
    }
    76% {
        background-position: 100% 50%;
    }
    84% {
        background-position: 86% 26%;
    }
    92% {
        background-position: 70% 10%;
    }
    100% {
    background-position: 50% 0%;
    }
}
*/
#logo_site {
  position: absolute;
  height: 44vh;
  width: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#fleche_defilement {
  height: 6vmin;
  width: 18vmin;
  background-image: url("../ressources/icon/GRdown.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0em;
  left: 0;
  right: 0;
  margin: auto;
  cursor: pointer;
  border: rgba(0, 0, 0, 0) solid 2em;
  box-sizing: content-box;
  animation: mouvement_fleche 1s infinite alternate ease-in;
}

@keyframes mouvement_fleche {
  0% {
    bottom: 3em;
  }
  100% {
    bottom: -2em;
  }
}
#espace_accueil1 {
  background: url("../ressources/arriere_plan/background.jpg");
  background-position: center;
  background-size: cover;
  position: relative;
  height: 50vh;
}

#bloc_description_du_site {
  min-height: 100vh;
  height: auto;
  display: grid;
  background-color: #ffffff;
  box-shadow: #051c15 0 0 12px -4px;
  position: relative;
  z-index: 4;
}

#description_du_site {
  width: 50%;
  position: relative;
  top: 0;
  bottom: 0;
  margin: auto;
  text-align: justify;
}
#description_du_site p {
  padding: 0.3em 1em;
}
#description_du_site h1, #description_du_site h2, #description_du_site h3, #description_du_site h4 {
  margin-top: 0;
}

#apercu_du_site {
  min-height: 88vh;
  display: grid;
  background: #ffffff;
  box-shadow: #051c15 0 0 12px -4px;
  position: relative;
  z-index: 4;
  overflow: hidden;
}
#apercu_du_site h1, #apercu_du_site h2, #apercu_du_site h3, #apercu_du_site h4 {
  width: -moz-fit-content;
  width: fit-content;
  margin: 10vh auto 0 auto;
}

.conteneur-photo {
  width: 660px;
  height: 495px;
  position: relative;
  margin: auto;
  overflow: hidden;
  border: #009442 solid 8px;
  border-radius: 30px;
  box-shadow: 0 2px 12px -1px black;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.maPhoto {
  display: none;
  background-color: black;
  width: 660px;
  height: 495px;
  margin: auto;
  overflow: hidden;
  place-content: center;
}

.derniere_photo {
  margin: auto;
  height: -webkit-fill-available;
  width: auto;
  display: block;
}

.nom_photo {
  color: #f0fff4;
  font-size: 14px;
  padding: 8px 12px;
  position: absolute;
  bottom: 24px;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
  margin: auto;
  left: 0;
  right: 0;
}

.points {
  text-align: center;
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
}

.point {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #009442;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.actif {
  background-color: #025f28;
}

.fade {
  animation: fade 1s;
}

@keyframes fade {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}
@media only screen and (max-width: 1199px) {
  #fleche_defilement {
    height: 10vmin;
  }
}
@media only screen and (max-width: 1199px) and (max-device-width: 1199px) and (orientation: landscape) {
  #myVideo {
    top: 0;
    bottom: 0;
    margin: auto;
  }
  #logo_site {
    height: 40vh;
    width: auto;
    margin: auto;
  }
  #fleche_defilement {
    position: fixed;
    bottom: 8vh;
    animation: mouvement_fleche 1s infinite alternate ease-in;
  }
  @keyframes mouvement_fleche {
    0% {
      bottom: 8vh;
    }
    100% {
      bottom: 0;
    }
  }
  #apercu_du_site {
    min-height: 78vh;
  }
  .conteneur-photo {
    width: 40vw;
    height: 30vw;
    border-radius: 18px;
    border-width: 5px;
    margin: 5vh auto;
    position: relative;
  }
  .maPhoto {
    width: 40vw;
    height: -moz-fit-content;
    height: fit-content;
  }
  .derniere_photo {
    height: 30vw;
  }
}
@media screen and (max-device-width: 796px) and (orientation: portrait) {
  #myVideo {
    display: none;
  }
  #page_accueil {
    background-image: url("../ressources/arriere_plan/pano.jpg");
    background-size: cover;
    background-attachment: fixed;
  }
  #ecran_logo {
    height: 92vh;
  }
  #logo_site {
    width: 100vw;
    height: auto;
    margin: auto;
    top: -200px;
  }
  #fleche_defilement {
    border: rgba(0, 0, 0, 0) solid 4vh;
    box-sizing: content-box;
    bottom: 7vh;
    animation: mouvement_fleche 1s infinite alternate ease-in;
  }
  @keyframes mouvement_fleche {
    0% {
      bottom: 13vh;
    }
    100% {
      bottom: 4vh;
    }
  }
  #description_du_site {
    width: auto;
    padding: 0 16px;
  }
  #espace_accueil1 {
    height: 30vh;
    background: url("../ressources/arriere_plan/background_m.jpg");
  }
  #apercu_du_site {
    min-height: 92vh;
  }
  #apercu_du_site h1, #apercu_du_site h2, #apercu_du_site h3, #apercu_du_site h4 {
    width: -webkit-fill-available;
    text-align: center;
    margin: 4vh auto;
  }
  .conteneur-photo {
    width: 100%;
    height: -moz-fit-content;
    height: fit-content;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-width: 14px;
    border-left: none;
    border-right: none;
    box-shadow: 0 4px 18px 0px black;
    border-radius: 0;
  }
  .maPhoto {
    width: 100%;
    height: -moz-fit-content;
    height: fit-content;
  }
  .derniere_photo {
    height: auto;
    width: 100%;
  }
  .nom_photo {
    font-size: 26px;
    bottom: 36px;
  }
  .point {
    height: 22px;
    width: 22px;
  }
}