header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 9999;
  color: rgba(255,255,255,0.8);
  transition: background-color 0.3s ease;
  transition: height 0.3s ease;
}

.scrolled {
  background-color: rgba(0, 0, 0, 0.8)!important;
  height: 60px;
}

.logo {
  grid-column: 1;
  font-weight: bold;
  line-height: 1.1;
  white-space: normal;
  overflow: hidden;
  max-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left : 15px;
  font-family: 'Segoe Script Regular' !important;
}

nav {
  grid-column: 2;
  justify-self: end;
  display: flex;
  gap: 2rem;
}

nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 1.5px;
  padding : 4px 0px;
  border-bottom: 2px solid transparent; /* Couleur du souligné au hover */
  margin: 0 30px 0 0;
}

nav a:hover {
  border-bottom: 2px solid white; /* Couleur du souligné au hover */
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  grid-column: 3;
  justify-self: end;
}

.menu-toggle span {
  height: 3px;
  background: white;
  margin: 4px 0;
  width: 25px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  /*background-color: #222;*/
  background-color: rgba(0, 0, 0, 0.8)!important;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  box-sizing: border-box;
  z-index: 10;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 0;
}
  .mobile-menu a:hover {
    font-weight: 600;
  }

@media (max-width: 768px) {
  header {
    height: 60px;
  }

  nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu.active {
    display: flex;
  }

  .logo{
    margin-left : 0px;
  }
}