@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/******HEADER******/

header {
  height: 100vh;
  background-color: #242633;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  z-index: 2;
}
.logo p {
  font-size: 2rem;
  margin-right: 10%;
  color: #f8c423;
  font-family: "Playfair Display";
  font-weight: bold;
}

.logo img {
  width: auto;
  height: 3rem;
}

h1 {
  color: #aa9361;
  font-family: "Playfair Display";
  font-weight: 500;
  font-size: 1.5rem;
  text-align: center;
  display: inline-block;
  margin-top: 2%;
  position: absolute;
  z-index: 1;
}

.hero-title .hero-sub {
  display: block;
  margin-left: 10em;
}

.flashlight-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.flashlight {
  position: absolute;
  z-index: 2;
  width: 15rem;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 1;
  filter: blur(0.5rem);
  backface-visibility: hidden;
  will-change: transform;
}

.burger {
  position: fixed;
  top: 2%;
  right: 0;
  z-index: 1001;
  display: block;
  background: none;
  border: none;
  font-size: 3rem;
  color: #aa9361;
  left: 75%;
  padding: 0;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  margin-left: 4%;
}

.navDesktop {
  display: none;
}

.navMobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: end;
  transition: right 0.3s ease;
  background-color: #242633;
  z-index: 1001;
}

.navMobile.open {
  right: 0;
}

.close-btn {
  display: block;
  background: none;
  border: none;
  font-size: 3rem;
  color: #aa9361;
  margin-bottom: 10%;
  margin-right: 5%;
}

.navMobile a {
  text-decoration: none;
  font-size: 1.5rem;
  margin-right: 5%;
  margin-bottom: 4%;
  font-family: "Playfair Display";
}

.linkNav {
  color: #aa9361;
}
.bonhommeDesktop {
  position: absolute;
  width: 6rem;
  left: 35%;
  top: 20%;
}

#constellationFamilleImg {
  position: absolute;
  width: 8rem;
  top: 45%;
  left: 55%;
  z-index: 2;
}

#constellationSystemiqueImg {
  position: absolute;
  width: 8rem;
  top: 59%;
  left: 10%;
  z-index: 2;
}

#constellationArgentImg {
  position: absolute;
  width: 8rem;
  top: 70%;
  left: 60%;
  z-index: 2;
}

#EtudeKarmiqueImg {
  position: absolute;
  width: 8rem;
  top: 35%;
  left: 15%;
  z-index: 2;
}
.flashlight {
  width: 11rem;
}

.dark-section p {
  color: #aa9361;
  font-family: "Dancing Script";
  font-size: 2.5rem;
  margin-left: 2%;
  position: absolute;
  top: 80%;
}

main {
  position: relative;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  padding-top: 30%;
}

.constellationImg {
  position: absolute;
  width: 20%;
  z-index: 10;
  display: none;
}

#luneImg {
  position: absolute;
  display: none;
}

#soleilImg {
  position: absolute;
  width: 30%;
  top: 1%;
  left: 1%;
}

#constellationImg1 {
  left: 75%;
  top: 3%;
}

#constellationImg2 {
  left: 40%;
  top: 13%;
  transform: rotate(225deg);
}

#constellationImg3 {
  left: 70%;
  top: 24%;
  transform: rotate(190deg);
}

#constellationImg4 {
  left: 27%;
  top: 68%;
  transform: rotate(230deg);
}

#constellationImg5 {
  left: 25%;
  top: 37%;
}
#constellationImg6 {
  left: 15%;
  top: 95%;
}

#constellationImg7 {
  left: 40%;
  top: 78%;
}
#constellationImg8 {
  left: 60%;
  top: 94%;
  transform: rotate(230deg);
}
.portrait {
  position: static;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5%;
}

.quisuisjeSection {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.quisuisjeSection section {
  width: 100%;
}

.titreMobile {
  display: flex;
  width: 100%;
  align-items: center;
}

.titreMobile img {
  display: block;
  height: 1.5rem;
}

h2 {
  color: #242633;
  font-family: "Playfair Display";
  margin-left: 5%;
}
.quisuisjeSection h2 {
  margin-bottom: 10%;
  margin-right: 12%;
}

.quisuisjeP,
.approcheP,
.accompagnementP {
  width: 75%;
  margin-left: 5%;
  display: none;
}

.underline-img,
.underline-img2 {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.underline-img::after,
.underline-img2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1.7rem;
  width: 120%;
  height: 1.5rem;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.underline-img::after {
  background-image: url("/Images/souligné.png");
}

.underline-img2::after {
  background-image: url("/Images/souligné_2.png");
  width: 100%;
}

#outils {
  width: 100%;
}

#outils p {
  width: 75%;
  margin-left: 5%;
}

.grid img {
  width: 40%;
}

.grid article {
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: column;
}
.grid article p {
  width: 55%;
  margin-left: 0%;
}
.grid article ul {
  width: 55%;
}
.grid {
  width: 100%;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel article {
  min-width: 100%;
}

h3 {
  color: #242633;
  font-family: "Playfair Display";
  text-align: center;
}
/* BOUTONS */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #aa9361;
  font-size: 4rem;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev {
  left: 4px;
}
.carousel-btn.next {
  right: 4px;
}
.etude_karmique {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.image_karmique {
  margin-top: 5%;
  margin-bottom: 5%;
  width: 50%;
}
.etude_karmique div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.etude_karmique p {
  width: 75%;
}

footer {
  position: relative;
  z-index: 1000;
  height: 100vh;
  background: #242633;
  color: #aa9361;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
footer h2 {
  color: #aa9361;
  margin-left: auto;
  margin-right: auto;
}

.footer_grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#contact h2,
label {
  color: #aa9361;
}

#contact h2 {
  margin: 0;
}
#contact p {
  color: #aa9361;
  font-size: 1.5rem;
  text-align: center;
}

.mention {
  text-decoration: none;
  color: #aa9361;
  margin-top: 15%;
}
.rdv {
  text-decoration: none;
  color: #242633;
  background-color: #aa9361;
  padding: 1rem;
  font-family: "Playfair Display";
}

@media (min-width: 768px) {
  /*************** DEBUT HEADER **************/

  .burger {
    display: none;
  }

  .navMobile {
    display: none;
  }
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 3%;
  }
  .navDesktop {
    display: flex;
    align-items: center;
    margin-right: 3%;
  }
  .navDesktop a {
    margin-left: 20px;
    text-decoration: none;
    font-family: "Playfair Display";
    font-weight: bold;
  }

  h1 {
    font-size: 2.3rem;
    margin-left: 0;
    text-align: left;
    right: 10%;
  }

  .hero-title .hero-sub {
    margin-left: 9em;
  }

  .bonhommeMobile {
    display: none;
  }
  .bonhommeDesktop {
    display: block;
    width: 10rem;
    position: absolute;
    top: 40%;
    left: 5%;
  }

  #constellationFamilleImg {
    position: absolute;
    width: 10rem;
    top: 75%;
    left: 80%;
    z-index: 2;
  }

  #constellationSystemiqueImg {
    position: absolute;
    width: 10rem;

    top: 70%;
    left: 40%;
    z-index: 2;
  }

  #constellationArgentImg {
    position: absolute;
    width: 10rem;

    top: 50%;
    left: 60%;
    z-index: 2;
  }

  #EtudeKarmiqueImg {
    position: absolute;
    width: 10rem;
    top: 30%;
    left: 30%;
    z-index: 2;
  }

  .flashlight {
    width: 15rem;
  }

  .dark-section {
    background: #242633;
  }

  /*************** FIN HEADER **************/
  main {
    background: url("/Images/background.png") no-repeat;
    background-position: center top;
    background-size: contain;
    margin-top: 0;
    padding-top: 0;
    background-color: #fff;
  }
  /*image backgroung*/
  #luneImg {
    width: 7%;
    z-index: -1;
    left: 20%;
    display: block;
  }

  #soleilImg {
    width: 10%;
    z-index: -1;
    left: 85%;
    top: 37%;
    display: block;
  }
  .constellationImg {
    display: block;
    z-index: -1;
  }
  #constellationImg1 {
    left: 75%;
    top: 3%;
  }

  #constellationImg2 {
    left: 40%;
    top: 13%;
    transform: rotate(225deg);
  }

  #constellationImg3 {
    left: 70%;
    top: 24%;
    transform: rotate(190deg);
  }

  #constellationImg4 {
    left: 27%;
    top: 68%;
    transform: rotate(230deg);
  }

  #constellationImg5 {
    left: 25%;
    top: 37%;
  }
  #constellationImg6 {
    left: 15%;
    top: 95%;
  }

  #constellationImg7 {
    left: 40%;
    top: 78%;
  }
  #constellationImg8 {
    left: 60%;
    top: 94%;
    transform: rotate(230deg);
  }

  .portrait {
    position: absolute;
    width: 20%;
    z-index: -1;
    left: 75%;
    top: 7%;
  }

  /*image backgroung fin*/

  section {
    padding-bottom: 0;
    color: #242633;
    margin-top: 5%;
  }
  .titreMobile img {
    display: none;
  }
  .titreMobile h2 {
    margin: 0;
    margin-left: 3%;
    margin-bottom: 2%;
  }

  .quisuisjeP,
  .approcheP,
  .accompagnementP {
    display: block;
    width: 70%;
    margin-left: 3%;
  }

  h2,
  #outils > p {
    margin-left: 3%;
  }

  #quisuisje p,
  #quisuisje li,
  #approche p,
  #accompagnement p,
  #outils > p,
  #etude p {
    font-size: 1.2em;
  }

  .approcheP,
  .accompagnementP {
    width: 90%;
  }

  #approche p,
  #accompagnement p {
    width: 100%;
  }

  #outils > p {
    width: 90%;
  }
  .carousel-btn {
    display: none;
  }
  .grid {
    width: 100%;
  }

  .carousel {
    width: 100%;
  }

  .carousel-track {
    width: 100%;
    display: flex;
    flex-direction: row;
  }
  .carousel-track article {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33%;
    min-width: 0;
  }

  .carousel-track article p {
    text-align: left;
    width: 60%;
    margin-bottom: 0.7rem;
    margin-top: 0;
  }
  .carousel-track article ul {
    margin: 0;
    margin-bottom: 0.7rem;
    width: 60%;
  }

  .carousel-track article h3 {
    color: #242633;
  }

  .img_constellation {
    width: 50%;
  }

  #etude {
    height: 100vh;
  }

  .etude_karmique {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80%;
  }

  .etude_karmique img {
    width: 25%;
    margin-right: 5%;
    margin-left: 5%;
  }
  .etude_karmique div {
    display: inline-block;
    width: 50%;
  }
  .etude_karmique div p {
    width: 100%;
  }

  .footer_grid {
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
  }
}

@media (min-width: 1600px) {
  main {
    background: url("/Images/background2.png") no-repeat;
    background-color: #fff;
  }
}
