@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

html, body {
  /* font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif; */
  font-family: 'Outfit', sans-serif;
  background: #8055E3;
  color: #ffffff;
  overflow: hidden;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 5px;
  margin-right: 5px;

  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-y: auto;
}

section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

#home {
  height: 100vh;
  width: 100%;
  text-align: center;
}

#presentation {
  height: 100vh;
  width: 100%;
  background-color: #ffffff;
  display: flex;
}

.magnet-logo:hover .magnet-shadow,
.magnet-logo:hover .magnet-dark,
.magnet-logo:hover .magnet-purple {
  transform: translate(0, 0);
  transition: transform 0.5s ease;
}

.magnet-logo .magnet-shadow,
.magnet-logo .magnet-dark,
.magnet-logo .magnet-purple {
  transition: transform 0.5s ease;
}

.magnet-logo {
  width: 1200px;
  height: 400px;
  margin-top: 150px;
}

.magnet-shadow {
  opacity: 0.8;
  fill: #3A0E85;
  transform: translate(-180px, 180px);
}

.magnet-dark {
  opacity: 0.9;
  fill: #6f2fa0;
  transform: translate(-80px, -80px);
}

.magnet-purple {
  opacity: 0.95;
  fill: #a05fdc;
  transform: translate(80px, 80px);
}

.magnet-white {
  fill: #ffffff;
}

.tagline {
  font-size: 2.5rem;
  margin-top: 40px;
  letter-spacing: 0.1em;
  font-weight: bold;
}

h2 {
  font-size: 3rem;
  margin-top: 20px;
  letter-spacing: 0.1em;
  font-weight: bold;
  color: #1a0e2b;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  font-size: 2.5rem;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  animation: bounce 2.5s infinite;
  
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    70% {
        transform: translateY(-20px);
    }
}

/* Position du bouton */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 1001; /* au-dessus du menu */
}

/* Les 3 traits */
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  margin: 6px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Le menu caché par défaut */
.menu {
  position: fixed;
  top: 0;
  right: -250px; /* décalé à droite */
  width: 250px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  padding-top: 60px;
  z-index: 1000;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu ul li {
  margin: 20px 0;
  text-align: center;
}

.menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

/* Quand le menu est ouvert */
.menu.open {
  right: 0;
}

/* Animation de l’icône hamburger → croix */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.presentation-content {
  padding: 6rem;
  padding-left: 10rem;
  padding-right: 11rem;
  text-align: left;
}

h2 {
  font-size: 4rem;
  font-weight: bold;
  color: #a05fdc;
}


/* le p qui se trouve dans div*/
.presentation-content p {
  font-size: 3rem;
  color: #000000;
  margin-top: 1rem;
  line-height: 1.6;
}