html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
    background-image: url("illustrations/fond3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }



/* Menu mobile */
.nav__toggle,
.nav__close {
  display: inline-flex;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.nav__toggle img,
.nav__close img {
  width: 2rem;
  height: auto;
}

.nav__menu {
  position: fixed;
  top: 0;
  right: -100%;
  background-color: rgb(47, 35, 114);
  backdrop-filter: blur(16px);
  width: 80%;
  height: 100%;
  padding: 8rem 3.5rem 3.5rem;
  transition: right 0.4s;
  z-index: 1000;
  display: flex;
  flex-direction: column; /* S'assure que les éléments du menu sont en colonne */
}

.show-menu {
  right: 0;
}

.nav__list {
  display: flex;
  flex-direction: column; /* Menu en colonne pour mobile */
  row-gap: 3rem;
  list-style: none;
}

.nav__link {
  color: white;
  font-size: 1.2rem;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.4s;
}

.nav__link:hover {
  color: #a084ff;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* Desktop version */
@media screen and (min-width: 768px) {
  .nav__menu {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    backdrop-filter: none;
    padding: 0;
    display: flex;
    flex-direction: row; /* Menu en ligne pour desktop */
    justify-content: center; /* Centrer les éléments */
  }

  .nav__list {
    flex-direction: row; /* Aligner les éléments en ligne pour le desktop */
    column-gap: 2rem;
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }
}


.about {
  padding: 80px 0;
  background: url('illustrations/fond-galaxie.jpg') no-repeat center/cover;
}

.about .container {
  background-color: rgba(255, 255, 255, 0.7); /* blanc laiteux */
  padding: 40px;
  border-radius: 20px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px); 
  margin-bottom: 150px;
  margin-top: 150px;
}


.about p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

/* footer */
.footer {
  background-color: #3e01429c;
  color: #f1f1f1;
  padding: 40px 20px;
  font-size: 14px;
}


.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 250px;
  margin: 10px;
}

.footer-section h3 {
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 15px;
  color: #aaa;
}

