@import url('https://fonts.googleapis.com/css2?family=Overlock:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');

@font-face {
	font-family: 'Adam', sans-serif;
	src: url('https://www.mrpoupou.ovh/portail/fonts/AdamBold.ttf') format('truetype'),
  url('https://www.mrpoupou.ovh/portail/fonts/fonts/AdamBold.woff2') format('woff2');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: var(--back) var(--ombre);
  font-family: 'Overlock', cursive;
}
:root {
  /*--ombre: rgb(108, 0, 202);
  --back: rgba(170, 42, 255, 0.705);
  --scroll: rgba(190, 50, 255, 0.4); */
  --ombre: rgb(102, 166, 225);
  --back: rgba(62, 130, 182);
  --scroll: rgba(50, 115, 255, 0.4);
}

::-webkit-scrollbar {
  width: 0.6em;
}
::-webkit-scrollbar-track {
  background-color: #242942;
}
::-webkit-scrollbar-thumb {
  background: var(--ombre);
  background: -webkit-linear-gradient(to bottom, var(--ombre), var(--scroll));
  background: linear-gradient(to bottom, var(--ombre), var(--scroll));
  border-radius: 0.5em;
}

body {
  height: 100vh;
  width: 100%;
  background-image: url('../fond.jpg');
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
}

#entete {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  /*border: 1px dashed yellow;*/
}
#entete #logo {
  position: absolute;
  height: 200px;
  width: 180px;
  background: var(--back);
  box-shadow: 0 0 10px black;
  border-radius: 50%;
  top: -100px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 5px 0;
  border: 4px solid white;
}
#entete #logo img {
  padding-top: 4px;
  height: 90px;
}
#entete #titre {
  text-indent: 220px;
  font-size: 48px;
  font-family: 'Adam', sans-serif;
  color: white;
  letter-spacing: 0.10em;
  text-shadow: 3px 3px 2px var(--ombre);
}
#entete #param {
  position: absolute;
  top: 25px; right: -230px;
  height: 50px;
  width: 280px;
  background: var(--back);
  box-shadow: 0 0 10px black;
  border-radius: 20px;
  padding: 0 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: 4px solid white;
  transition-duration: 0.4s;
}
#entete #param.active {
  /*right: -20px;*/
  transform: translateX(-210px);
  transition-duration: 1s;
}
#entete #param ion-icon {
  color: white;
  font-size: 32px;
  cursor: pointer;
}
#entete #param ion-icon {
  color: white;
  font-size: 32px;
  cursor: pointer;
  transition-duration: 0.5s;
}
#entete #param ion-icon:nth-child(1):hover {
  transform:rotateZ(180deg);
  transition-duration: 1s;
}


#affichage {
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% - 50px);
  height: calc(100% - 210px);
  transform: translate(-51%, 105px);
  border-radius: 25px;
  overflow: hidden;
  margin: 10px;
  scroll-snap-type: y mandatory;
  /*border: 1px dashed cyan;*/
}

#affichage section {
  width: 100%;
  height: 100%;
  margin-bottom: 50px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--fondtest);

  font-size: 72px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
#affichage section:first-child {
  margin: 0;
}
#affichage section:last-child {
  margin: 0;
}


#menub {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--back);
  box-shadow: -1 -1 10px black;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7%;
  border-top-left-radius: 25% 100%;
  border-top-right-radius: 25% 100%;
  font-family: 'Adam', sans-serif;
  border: 4px solid white;
  border-bottom: 0;
}

#menub .choix {
  text-align: center;
  border-bottom: 2px solid transparent;
  padding: 1px;
  font-size: 18px;
  text-shadow: 2px 2px 2px black;
  color: white;
  margin-bottom: -8px;
}
#menub .choix:hover, #menub .choix.active {
  border-bottom: 2px solid white;
}
#menub .choix ion-icon {
  font-size: 32px;
  filter: drop-shadow(2px 2px 2px black);
}





/* ! Redimension */

@media screen and (max-width: 1300px) {
  #titre p {
    font-size: 36px;
    text-indent: 200px;
    letter-spacing: 0.05em;
    /*border: 1px dashed red;*/
  }

  #menub {
    gap: 4%;
  }

  /* ! Acceuil */
  .txt h1 {
    font-size: 46px;
  }

}

@media (max-width: 1000px) {
  #titre p {
    font-size: 24px;
    text-indent: 200px;
    letter-spacing: 0.05em;
    /*border: 1px dashed red;*/
  }

  #menub {
    gap: 4%;
  }

  /* ! Acceuil */
  .txt h1 {
    font-size: 46px;
  }

}