.logo a {
  display: block;
}

header {
  font-family: var(--header-font);
  padding-inline: var(--s3);
  padding-block: var(--s1);
  background-color: var(--olive);
  background: center / cover no-repeat url("/static/images/brown-paper-background-short.ca6820e31161.jpg");
  display: flex;
  gap: var(--s3);
  justify-content: space-between;
  align-items: flex-end;
  color: white;
}

header .logo {
  font-size: var(--s2);
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
}

header a {
  color: white;
  text-decoration: none;
}

header > a {
  flex-grow: 1;
  flex-basis: 100px;
  text-align: center;
  padding-top: var(--s1);
  font-size: var(--s1);
}

nav {
  display: flex;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: var(--s3);
  color: white;
}

header .menu {
  transition: transform .4s ease-in-out;
  transform: translateY(-110%);
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  background: var(--olive);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

header .menu a {
  padding-block: var(--s2);
}

header.active .menu {
  transform: translateY(0);
}

@media (max-width: 768px) {
  header {
    padding-inline: var(--s-1);
    padding-block: var(--s-2);
    align-items: center;
    gap: var(--s1)
  }

  header .logo {
    flex-direction: row;
    align-items: center;
    gap: var(--s0);
    justify-content: flex-start;
  }

  header > a {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  header .menu a {
    font-size: var(--s2);
  }

}

@media (max-width: 650px) {
  header {
    gap: 0;
    padding-block: var(--s-2);
    padding-inline: var(--s-2);
  }

  header .logo {
    gap: 0;
  }
}


@media (max-width: 380px) {
  header .logo {
    font-size: var(--s1);
  }

  header .logo svg {
    width: 60px;
  }

  header .menu-toggle {
    font-size: var(--s2);
  }
}

@media (max-width: 250px) {
  header .logo svg {
    display: none;
  }
}
