/* Reset général */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow: hidden; /* Empêche le scroll */
  height: 100%; /* Assure que le contenu occupe toute la hauteur */
  background-color: #efaab0;
  margin: 0;
  padding: 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin-top: 1.8rem;
  background: transparent;
  z-index: 10;
}

.header h1 {
  margin-top: 1rem;
  /* PAS besoin de padding-left ici */
}

.header-link {
  text-decoration: none;
  font-size: 8.5vw;
  font-family: "Nighty DEMO", cursive;
  font-weight: 300;
  color: #be0822;
  /* PAS de padding-left ici non plus */
  text-align: center;
  display: block;
  width: 100%;
}
.header-link:hover {
  color: #fff9f5;
}

.aboutMe {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* S'assure que le conteneur principal couvre toute la hauteur */
  text-align: center;
}

.section {
  height: 100vh; /* Pleine hauteur pour chaque section */
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover; /* L'image couvre toute la section */
  background-position: center; /* Centrer l'image */
  background-repeat: no-repeat; /* Pas de répétition de l'image */
  padding: 0; /* Supprime le padding autour */
  margin: 0;
  height: 100vh;
  overflow: hidden;
}

.section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #fff9f5;
}

.about-wrapper {
  display: flex;
  height: 100vh; /* pleine hauteur */
  width: 100vw; /* pleine largeur */
}

.about-photo {
  width: 45vw; /* moitié largeur de l'écran */
  height: 100vh; /* pleine hauteur */
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* garde proportions et remplit */
  display: block;
}

.about-description {
  width: 50vw;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centre verticalement */
  align-items: flex-start; /* aligne le contenu à gauche */
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left; /* s’assure que le texte est bien à gauche */
  font-family: "Cabinet Grotesk", sans-serif;
  margin-top: 10%;
}

@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
  }
  .about-photo,
  .about-description {
    width: 100vw;
    height: 50vh;
  }
  .about-description h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .header {
    margin-top: 0.5rem; /* réduit l’espace en haut */
    padding-left: 1rem; /* réduit le décalage gauche */
  }

  .header-link {
    font-size: 12vw; /* adapte la taille du lien */
    padding-left: 0; /* plus de décalage superflu */
  }
}

.fond {
  position: fixed;
  bottom: -10%;
  right: 0%;
  width: 1900px;
  z-index: 0;
  animation: 10s ease-in-out infinite;
  pointer-events: none; /* Évite les bugs de clic */
}

footer {
  padding: 1rem;
  background: #2a0800;
  color: #deeffd;
  font-size: 0.9rem;
  text-align: right;
  width: 100%;
  position: absolute; /* Absolument positionné */
  bottom: 0; /* Collé en bas */
  left: 0;
}

/* hello kitty */
.familier {
  position: fixed;
  bottom: 73%;
  right: 3%;
  width: 180px;
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0px);
  }
}
