* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --clr: #333333;
  --clr-sec: #f4db00;
  --ptop: 3rem 0 0 0;
}

::-webkit-scrollbar{
  background: #272727;
}

::-webkit-scrollbar-thumb{
  background: var(--clr-sec);
  box-shadow: 0px 4px 3px black;
}

::-webkit-scrollbar-thumb:hover{
  background: #ceb900;
}

body {
  background-color: var(--clr) !important;
}

li{
  list-style: none;
}

a{
  text-decoration: none !important;
}

a:hover{
  color: initial !important;
}

section {
  padding: 5rem 10rem;
}

h2{
  text-align: center;
}


/* Scroll Top */
#scrollUp{
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  z-index: 1;
}

.arrow{
    font-size: 3rem;
}

.scrolltop_icon{
  color: var(--clr-sec);
}

.scrolltop_icon:before{
  border-radius: 50%;
  background: #202020ab;
}

.hidden{
  display: none !important;
}

/* ===== ANIMATION ===== */
@keyframes rebond_souris {
  0% { 
    top: 75vh;
  }
  50% {
    top: 85vh;
  }
  100% {
    top: 75vh;
  }
}

/* ===== NAV ===== */
/* #nav {
  display: flex;
  justify-content: center;
}

 .navigation {
  width: 400px;
  background: white;
  border-radius: 10px;
  position: fixed;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0px 2px 5px black;
}

.navigation ul {
  display: flex;
}

.navigation li {
  list-style: none;
  width: 70px;
  height: 70px;
  z-index: 1;
}

.navigation a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navigation .icon {
  line-height: 75px;
  font-size: 1.5em;
  transition: 0.5s;
  color: var(--clr);
}

.navigation li.active .icon {
  transform: translateY(-32px);
}

.navigation .text {
  position: absolute;
  color: var(--clr);
  font-weight: 400;
  font-size: 0.75em;
  letter-spacing: 0.05em;
  transition: 0.5s;
  opacity: 0;
  transform: translateY(20px);
}

.navigation li.active .text {
  opacity: 1;
  transform: translateY(15px);
}

.indicator {
  position: absolute;
  width: 70px;
  height: 70px;
  background-color: var(--clr-sec);
  border-radius: 50%;
  bottom: 45%;
  border: 6px solid var(--clr);
  transition: 0.5s;
} 

.navigation li:nth-child(1).active ~ .indicator {
  transform: translateX(calc(70px * 0));
}

.navigation li:nth-child(2).active ~ .indicator {
  transform: translateX(calc(70px * 1));
}

.navigation li:nth-child(3).active ~ .indicator {
  transform: translateX(calc(70px * 2));
}

.navigation li:nth-child(4).active ~ .indicator {
  transform: translateX(calc(70px * 3));
}

.navigation li:nth-child(5).active ~ .indicator {
  transform: translateX(calc(70px * 4));
} */



#nav_burger{
  display: none;
}

#menuToggle
{
  display: block;
  position: fixed;
  top: 50px;
  left: 50px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: var(--clr);
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: var(--clr);
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #cdcdcd;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 100vh;
  height: 100vh;
  top: -50px;
  left: -50px;
  padding: 50px;
  padding-top: 125px;
  background: #333333;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
  color: var(--clr-sec)
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}



#nav {
  height: 100vh;
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: flex-end;
}

.navigation {
  width: 90px;
  height: 420px;
  background: white;
  border-radius: 10px;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0px 2px 5px black;
}

.navigation ul {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.navigation li {
  list-style: none;
  width: 70px;
  height: 70px;
  z-index: 1;
}

.navigation a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
  font-weight: 500;
}

.navigation .icon {
  display: block;
  line-height: 75px;
  font-size: 1.5em;
  text-align: center;
  transition: 0.5s;
  color: var(--clr);
}

.navigation li.active .icon {
  transform: translateX(65px);
}

.navigation .text {
  position: absolute;
  color: var(--clr);
  font-weight: 400;
  font-size: 0.75em;
  letter-spacing: 0.05em;
  transition: 0.5s;
  opacity: 0;
}

.navigation li.active .text {
  opacity: 1;
}

.indicator {
  position: absolute;
  width: 70px;
  height: 70px;
  background-color: var(--clr-sec);
  border-radius: 50%;
  border: 6px solid var(--clr);

  transition: 0.5s;
}


.navigation li:nth-child(1).active ~ .indicator {
  transform: translate(65px, calc(65px * 0));
}

.navigation li:nth-child(2).active ~ .indicator {
  transform: translate(65px, calc(70px * 1));
}

.navigation li:nth-child(3).active ~ .indicator {
  transform: translate(65px, calc(70px * 2));
}

.navigation li:nth-child(4).active ~ .indicator {
  transform: translate(65px, calc(70px * 3));
}

.navigation li:nth-child(5).active ~ .indicator {
  transform: translate(65px, calc(70px * 4));
}

.navigation li:nth-child(6).active ~ .indicator {
  transform: translate(65px, calc(70px * 5));
}


/* ===== HEADER ===== */
header {
  background: no-repeat url("../img/header_background.png");  
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

header img {
  width: 50vh;
}

header .coin_bas_droite{
  position: absolute;
  width: 90%;
  height: 90%;
}

header .coin_haut_gauche{
  position: absolute;
  width: 90%;
  height: 90%;
}

.mouse_icon {
  position: absolute;
  color: white;
  animation-name: rebond_souris;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mouse_icon p{
  margin: 0;
}

.mouse_icon i {
  font-size: 5rem;
  margin-top: -20%;
}

/* ===== HISTOIRE ===== */
#histoire {
  text-align: center;
  color: white;
}

#histoire p{
  width: 80%;
  margin: 0 auto;
  text-align: justify;
  padding: 2rem;
}

#histoire .gif_presentation{
  max-width: 100%;
  width: 35rem;
  padding: var(--ptop);
}


/* ===== EQUIPE ===== */
#equipe{
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  min-height: 100vh;
}

#equipe .border_after{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#equipe .border_after svg{
  border: var(--clr-sec) solid 2px;
  background: var(--clr-sec);
}

#equipe .border_after::after{
  content: "";
  border: #f4db00 2px solid;
  background: var(--clr-sec);
  width: 100px;
}

#equipe .border_before::before{
  content: "";
  border: var(--clr-sec) 2px solid;
  background: var(--clr-sec);
  width: 100px;
}

#equipe .border_before{
  display: flex;
  flex-direction: column;
  width: 95%;
  margin: auto;
}

#equipe .border_before svg{
  position: absolute;
  border: var(--clr-sec) solid 2px;
  background: var(--clr-sec);
}

#equipe h2{
  color: var(--clr);
}

.liste_membres{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  padding: var(--ptop);
}

.profil{
  width: 41vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profil>img{
  width: 60%;
  border-radius: 50%;
  filter: grayscale(1);
  transition: 0.2s;
  margin: 1rem 0;
  cursor: pointer;
}

.profil>img:hover{
  filter: grayscale(0);
  transform: scale(1.1);
}

.profil>p:nth-of-type(1){
  text-align: center;
}

.description_profil{
  position: fixed;
  z-index: 1;
  background: rgba(0, 0, 0, 0.452);
  height: 100vh;
  width: 100%;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.description_profil .description_description_profil{
  border: 1px solid var(--clr-sec);
  background: white;
  width: 80%;
  height: 80vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: scroll;
}

.description_profil .container_croix{
  position: absolute;
  height: 3rem;
  width: 3rem;
  top: 12%;
  right: 14%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.description_profil .croix{
  position: absolute;
  width: 5px;
  height: 100%;
  background: var(--clr-sec);
}

.description_profil .croix1{
  transform: rotate(45deg);
}

.description_profil .croix2{
  transform: rotate(-45deg);
}

.description_description_profil img{
  width: 30%;
}

.description_description_profil h2{
  margin: 4rem 0;
}

.description_description_profil_header{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 4rem;
}

.description_description_profil_header p{
  text-align: justify;
  width: 40%;
}

.description_description_profil h3{
  margin-bottom: 2rem ;
}

.description_description_profil_reussites{
  margin-bottom: 4rem;
}
.description_description_profil_reussites>a>img{
  vertical-align: top;
}


/* ===== REUSSITES ===== */
#reussites{
  padding: 5rem 15rem;
}

#reussites h2{
  color: white;
}

.liste_reussites{
  margin-top: 5rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.reussites_icon{
  color: var(--clr-sec);
  font-size: 3rem;
  cursor: pointer;
}

.grid{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100vh;
  padding: var(--ptop);
  margin: auto;
}

.carte{
  width: 30vh;
  transition: 0.2s;
  margin: 0.5rem;
}

.carte a{
  color: black;
}

.carte_img{
  width: 100%;
  height: 20vh;
}

.carte:hover .carte_text{
  opacity: 1;
}

.carte_text{
  background: rgba(255, 255, 255, 0.829);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 30vh;
  height: 20vh;
  padding: 0 1rem;
  position: absolute;
  transform: translate(0, -100%);
  transition: 0.3s;
  opacity: 0;
}



/* ===== CONTACT ===== */
#contact{
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contact h2{
  color: white;
}

.form{
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--ptop);
}

.form input, textarea{
  background: none;
  margin-bottom: 1rem !important;
  border: var(--clr-sec) 2px solid;
  border-radius: 30px;
  padding: 1rem 2rem;
  color: white;
  outline: none;
  text-align: center;
  width: 49%;
}

.form .sujet{
  width: 100%;
}

.form textarea{
  width: 100%
}

#contact button{
  padding: 1rem 2rem;
  background: none;
  color: white;
  border: var(--clr-sec) 2px solid;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.2s;
}

#contact button:hover{
  background: var(--clr-sec);
  color: var(--clr);
  transform: scale(1.1);
  box-shadow: 0px 5px 10px black;
}


/* ===== MENTIONS LEGALES ===== */
#mentionsLegales{
  background: white;
}

#mentionsLegales h1,
#mentionsLegales h5,
#mentionsLegales h2{
  text-align: center;
}

#mentionsLegales h5{
  margin-bottom: 2.5rem;
}

#mentionsLegales h2{
  margin: 3.5rem 0 2rem;
}

#mentionsLegales p{
  width: 60%;
  margin: auto;
}

#mentionsLegales a{
  color: black;
}

#mentionsLegales a:hover{
  color: var(--clr-sec) !important;
}

.retour{
  background: var(--clr);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  position: fixed;
  top: 3rem;
  left: 3rem;
  color: white;
}

.retour:hover{
  color: var(--clr-sec) !important;
}



/* ===== FOOTER ===== */
footer{
  display: flex;
  justify-content: space-evenly;
  padding: 5rem 10rem;
}

.footer_img{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer_logo{
  color: white;
  transition: 0.2s;
}

.footer_logo:hover{
  transform: scale(1.1);
}

footer img{
  width: 5rem;
}

.footer_barre{
  background: #f4db00;
  width: 1px;
}

.nav_footer{
  display: flex;
  flex-direction: column;
}

footer a{
  color: white;
}

footer a:hover{
  color: var(--clr-sec) !important;
}

footer p{
text-align: center;
}

.nav_footer a:hover{
  transform: scale(1.1);
  color: var(--clr-sec) !important;
}

.footer_liste_icons{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer_icon{
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: 0.2s;
}

.footer_icon:hover{
  transform: scale(1.1);
  color: var(--clr-sec);
}

/* ===== LIEN MENTIONS LEGALES ===== */
.mentions{
  text-align: center;
}

.mentions a{
  color: white;
  text-align: center;
}

.mentions a:hover{
  color: var(--clr-sec) !important;
}



@media screen and (max-width: 420px) {
  
::-webkit-scrollbar{
  display: none;
}
  
  section{
    padding: 5rem 0;
  }
  
  #nav_burger{
    display: initial;
  }

  #nav{
    display: none;
  }


  /* ACCUEIL */


  #accueil .coin_bas_droite, .coin_haut_gauche{
    display: none;
  }

  header img{
    width: 46vh;
  }


  /* HJISTOIRE */
  #histoire h2{
    margin-bottom: 1rem;
  }

  #histoire .gif_presentation{
    width: 80%;
  }

  #histoire p{
    text-align: justify;
    padding: 2rem 0 0 0;
  }


  /* EQUIPE */
  #equipe .border_before::before, .border_after::after, #equipe svg{
    display: none;
  }

  #equipe .border_before{
    width: 100%;
  }

  #equipe .profil{
    width: 36vh;
  }

  .profil>img{
    filter: none;
    width: 80%;
  }

  .profil>img:hover{
    transform: none;
  }

  .description_profil .description_description_profil{
    width: 100%;
    height: 100vh;
    border: none;
  }

  .description_profil .container_croix{
    top: 3%;
    right: 5%;
    display: initial;
  }

  .description_description_profil h2{
    width: 60%;
  }

  .description_description_profil_header{
    flex-direction: column;
  }

  .description_description_profil img{
    width: 60%;
  }

  .description_description_profil_header p{
    width: 80%;
    margin-top: 1rem;
  }

  .description_description_profil_reussites>a>img{
    margin: 0.5rem;
  }


  /* REUSSITES */
  #reussites{
    padding: 0;
  }

  .grid{
    width: 90%;
    margin: auto;
  }

  #reussites i{
    display: none;
  }

  .carte{
    margin: 0.5rem;
  }


  /* FOOTER */
  footer{
    padding: 5rem 0;
    flex-direction: column;
    align-items: center;
  }

  footer div{
    margin-bottom: 2rem;
  }

  .footer_barre{
    width: 50%;
    height: 1px;
  }

  .footer_liste_icons{
    flex-direction: row;
    justify-content: space-evenly;
    margin-bottom: 0;
    width: 90%;
  }
}