* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}


body {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
}


.container {
  width: 90%;
  max-width: 62.5rem;
  margin: 0 auto;
}


.glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.25);
}


.navbar {
  padding: 1.25rem 1.875rem; 
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.875rem; 
}

.logo {
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
}


.navbar nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem; 
}

.navbar nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem; 
  transition: opacity 0.3s;
}

.navbar nav a:hover {
  opacity: 0.7;
}

.search-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

#searchInput {
  background: rgba(255, 255, 255, 0.15);
  border: 0.0625rem solid rgba(255, 255, 255, 0.4);
  border-radius: 1.25rem;
  padding: 0.5rem 0.875rem;
  color: white;
  outline: none;
  backdrop-filter: blur(6px);
  flex: 1; 
  min-width: 8rem;
}

#searchInput::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

#searchBtn {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 1.25rem;
  padding: 0.5rem 1rem;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0; 
}

#searchBtn:hover {
  background: rgba(255, 255, 255, 0.4);
}


.content {
  padding: 3rem;
  text-align: center;
  color: #fff;
}

.content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.content p {
  font-size: 1rem; 
  line-height: 1.6;
  margin-bottom: 1.875rem;
}

.content button, .btn {
  padding: 0.75rem 1.875rem;
  border: none;
  border-radius: 1.5625rem;
  background: #fff;
  color: #764ba2;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.content button:hover, .btn:hover {
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.3);
}


@media (max-width: 1024px) {
  .content h1 {
    font-size: 2rem;
  }
  .content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .search-group {
    width: 100%;
    justify-content: flex-start;
  }

  #searchInput {
    flex: 1;
  }

  .content h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .content h1 {
    font-size: 1.5rem;
  }
  .content p {
    font-size: 0.8rem;
  }
}
 

.content {
  transition: 
    transform 1s ease-in-out,
    opacity 0.8s ease,
    filter 1s ease;
  transform-origin: center;
}

.content.galaxy-exit {
  transform: scale(1.4) translateZ(0);
  opacity: 0;
  filter: blur(12px);
  pointer-events: none;
}


.navbar {
  transition: transform 1s ease-in-out, margin 1s ease-in-out;
}


.navbar.navbar-up {
  transform: translateY(-120px);
}

section.content {
  display: none;
}

section.content:target {
  display: block;
}

#home {
  display: block;
}


/* Cache toutes les sections */
section.content {
  display: none;
}

/* Affiche la section ciblée par le menu */
section.content:target {
  display: block;
}

/* Affiche Home au chargement */
#home {
  display: block;
}
