@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700&family=Urbanist:wght@300;500;700&display=swap");

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background-color: #fff;
  color: #333;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  font-weight: bold;
}

.header__logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.header__lang {
  font-size: 0.9rem;
}

.header__lang .active {
  color: black;
}

.header__menu {
  font-size: 1.5rem;
  cursor: pointer;
}

.login {
  background-color: var(--colorv1);
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login__card {
  background-color: white;
  padding: 3rem;
  border-radius: 0;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login__card h2 {
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.login__card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.login__form {
  display: flex;
  flex-direction: column;
}

.login__form label {
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.login__form input {
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  background-color: var(--colorv7);
  border-radius: 0;
  box-shadow: 4px 4px 8px lightgrey;
}

.login__form button {
  background-color: var(--colorv12);
  color: white;
  padding: 0.5rem;
  font-size: 1rem;
  align-self: center;
  width: 40%;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.4s ease-in-out, transform 0.3s ease-in-out;
}

.login__form button:hover {
  transform: scale(1.2);
  background-color: var(--colorv1);
  border: green solid 1px;
}

.burger-toggle {
  display: none;
}

.burger-label {
  display: flex; /* TOUJOURS visible */
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  z-index: 1001;
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.burger-label span {
  display: block;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-menu,
.burger-overlay {
  display: none;
}

#menu-toggle:checked ~ .burger-menu {
  display: block;
}

#menu-toggle:checked ~ .burger-overlay {
  display: block;
}
.burger-menu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  z-index: 1000;
  padding: 3rem 2rem;
  border-radius: 1rem;
  border: 4px solid var(--colorv9);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.burger-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  padding: 0;
  margin: 0;
}

.burger-nav li a {
  display: inline-block;
  text-decoration: none;
  font-size: 1.5rem;
  color: var(--colorv3);
  font-weight: bold;
  transition: transform 0.3s ease, color 0.3s ease;
}

.burger-nav li a:hover {
  transform: scale(1.15);
}

.burger-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.burger-close {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  z-index: 1003; /* plus haut que l’overlay */
  background: none;
  border: none;
  line-height: 1;
  transition: transform 0.3s ease;
}

.burger-close:hover {
  transform: scale(1.5);
}

#menu-toggle:checked ~ .burger-close {
  display: block;
}
