header {
  margin: auto;
  margin-bottom: 2vh;
  padding: 30px;
  display: flex;
  justify-content: space-between;
}

header .header-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media only screen and (max-width: 767px) {
  header {
    margin-bottom: 3vh;
    padding: 3vh 5vw 3vh 5vw;
  }

  header .header-left {
    flex-direction: row;
    gap: 20px;
  }
}

header .header-right {
  display: none;
  font-size: 0.7em;
  flex-direction: column;
  align-items: end;
  justify-content: end;
  text-align: right;
  gap: 5px;

  max-width: 20%;
}

header .header-right p {
  margin: 0;
}

@media only screen and (max-width: 767px) {
  header .header-right {
    display: none;
  }
}

header h1 {
  font-family: var(--header-font), serif;
  font-size: 3em;
  line-height: 1em;
  width: 25vw;
  margin-top: 0;
  margin-bottom: 20px;
}

@media only screen and (max-width: 767px) {

  header h1 {
    font-size: 2.4em;
    width: auto;
    margin-bottom: 0;
  }
}

header h1 a {
  text-decoration: none;
}

header img {
  max-height: 25vh;
  border-radius: var(--border-radius);
}

nav {
  display: flex;
  gap: 15px;
}

@media only screen and (max-width: 767px) {
  nav {
    flex-direction: column;
    gap: 0px;
    font-size: 0.8em;
  }

  nav div {
    display: none;
  }
}

[aria-current] {
  text-decoration: underline;
}

nav a,
nav a:visited {
  font-family: var(--body-font), serif;
  font-size: 1.4em;
  text-decoration: none;
  color: var(--fg-text);
}

nav a:hover {
  /* color: #a5d862; */
  text-decoration: underline;
  font-style: italic;
  text-underline-offset: 0.2em;
}
