* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}
html {
  background-color: #d8cc84;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
}

header {
  width: 100svw;
  background-size: cover;
}

/* ---------- NAVBAR ---------- */

.navbar {
  position: fixed;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  background-color: #2c2c2c;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.45);
  z-index: 3;
}

.navbar a {
  color: #d8cc84;
}

.navbar .logo {
  font-size: 2em;
  font-weight: bold;
}

.navbar .nav-links ul {
  display: flex;
}

.navbar .nav-links ul li {
  font-size: 1.2em;
  margin: 0 30px;
}

.navbar .nav-links ul li .active {
  color: white;
  font-weight: bold;
}

.navbar .menu-hamburger {
  display: none;
  position: absolute;
  right: 30px;
  width: 30px;
}

.navbar .mobile-menu {
  margin-left: 0;
}

@media screen and (max-width: 1050px) {
  .navbar .logo {
    font-size: 1.2em;
  }

  .navbar .menu-hamburger {
    display: block;
  }
  .nav-links {
    top: 0;
    left: 0;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    width: 100%;
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -100%;
    transition: all 0.5s ease;
  }

  .nav-links.mobile-menu {
    margin-left: 0;
  }

  .navbar .mobile-menu {
    margin-left: 0;
  }

  .nav-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar .nav-links ul li {
    margin: 35px 0;
    font-size: 1.8em;
  }
}

/* ---------- BODY ---------- */

.home {
  background-color: #d8cc84;
  min-height: 100svh;
}

.body_home {
  min-height: 250svh;
}

.home-introduction {
  font-size: 2em;
  margin: 100px 20%;
}

.partenaires {
  background-color: white;
}

.home-partenaires {
  font-weight: bold;
  padding-top: 20px;
}

.home-activitee {
  margin: 0 0 100px;
}
.home-activitee h2 {
  font-weight: bold;
}
.home-activitee p {
  font-size: 1.5em;
  margin: 20px 20%;
}

.home-biographie {
  margin: 100px 0;
}
.home-biographie h2 {
  font-weight: bold;
}
.home-biographie p {
  font-size: 1.5em;
  margin: 20px 20%;
}

/* ---------- SLIDER ---------- */

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.45);
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 30s slide infinite linear;
}

.logos-slide img {
  height: 100px;
  /* margin: 0 30px; */
  padding: 0 60px;
}

/* ---------- PARALLAX ---------- */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f2f2f2;
}

h1 {
  font-size: 6em;
  text-align: center;
  color: rgb(255, 255, 255);
}

.parallax-1 {
  background: url(/img/parallaxbis.jpg) no-repeat;
  /* background: url(../../../public/img/parallaxbis.jpg) no-repeat; */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 10%;
}

.parallax-2 {
  background: url(/img/parallax2.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin: 100px 20%;
  border-radius: 20px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.45);
}
.parallax-2:hover h1 {
  scale: 1.1;
  transition: 0.4s;
}

/* .parallax-3 {
     background: url(../../../public/img/parallax.jpg) no-repeat;
     background-size: cover;
     background-position: center;
     background-attachment: fixed;
  } */

.parallax-inner {
  padding: 10% 0;
}

h2 {
  font-size: 32px;
  text-align: center;
  font-weight: 300;
  letter-spacing: 2px;
}

p {
  font-size: 16px;
  font-weight: 600;
  line-height: 40px;
  margin: 0 50px 40px;
}

p:nth-of-type(2),
p:nth-of-type(3) {
  margin: 40px 50px;
}

@media screen and (max-width: 1050px) {
  h1 {
    font-size: 3em;
    padding: 100px 0;
  }

  .home-introduction {
    font-size: 1.5em;
    margin: 100px 10%;
  }

  .parallax-2 {
    margin: 100px 10%;
  }

  .home-activitee p {
    font-size: 1.2em;
    line-height: 30px;
    margin: 10%;
  }

  .home-biographie p {
    font-size: 1.2em;
    line-height: 30px;
    margin: 10%;
  }
}
