* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  background: white;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: solid black 1px;
}

.active{
  text-decoration: underline!important;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 70px;
}

.tagline {
  font-size: 1.1rem;
  font-weight: 200;
  font-family: "brother-1816", sans-serif;

}

/* BURGER ICON */
.burger-label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.burger-label span {
  width: 25px;
  height: 3px;
  background-color: black;
  border-radius: 2px;
  transition: 0.3s;
}

/* HIDDEN CHECKBOX */
.burger-toggle {
  display: none!important;
}

/* NAVIGATION */
.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav ul li a {
  text-decoration: none;
  color: black;
  font-family: "brother-1816", sans-serif;
  font-weight: 300;
}

.nav ul li a:hover {
  text-decoration: none;
  color: black!important;
  font-family: "brother-1816", sans-serif;
  font-weight: 400;
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .burger-label {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 60px; /* sous header */
    right: 0;
    background: white;
    width: 100%;

  }
.header{
  height: 80px!important;
}
  .nav ul {
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
    
  }
 

  .nav ul li {
    text-align: right;
    padding-right: 3%;
  }

  /* Affiche menu quand checkbox coché */
  .burger-toggle:checked ~ .nav {
    display: block;
  }

  /* Animation burger -> croix */
  .burger-toggle:checked + .burger-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger-toggle:checked + .burger-label span:nth-child(2) {
    opacity: 0;
  }

  .burger-toggle:checked + .burger-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
