:root {
  --color-white: #ffffff;
  --color-black: #212121;
  --color-blue: #0a5c64;
  --color-yellow: #f7a600;

  --drop-shadow-boxes: 0 0 12px 8px #0b616b69;
}

header {
  background-color: var(--color-white);
  box-shadow: var(--drop-shadow-boxes);
  display: grid;
  grid-template-columns: auto 90% auto;
  height: 4rem;
  position: relative;
  z-index: 100;
  position: sticky;
  top: 0;
  left: 0;
}

header nav {
  grid-column: 2;
  display: flex;

  align-items: center;
  justify-content: space-between;
}

.header-list-page,
header .button-menu {
  display: none;
  background-color: var(--color-white);
}

.header-logo,
.btn-menu {
  height: 60%;
}

.btn-menu {
  background: none;
  border: none;
}

.header-logo img {
  height: 100%;
}

@media (max-width: 60em) {
  .menu-list.open .header-list-page {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 3rem 0;
    border-top: 2px #00000022 solid;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .header-list-page a {
    background-color: var(--color-blue);
    padding: 0.7rem 0.7rem;
    border-radius: 0.5rem;
    text-align: center;
    display: block;
    margin: auto;
    width: 80%;
    color: var(--color-white);
    text-decoration: none;
  }

  .header-list-page a:hover {
    background-color: #073c41;
  }

  .menu-list a.yellow {
    background-color: var(--color-yellow);
    color: var(--color-blue);
    font-weight: 800;
  }

  .menu-list a.yellow {
    background-color: #f1bd54;
  }
}

@media (min-width: 60em) {
  header {
    grid-template-columns: auto 60rem auto;
  }

  .btn-menu {
    display: none;
  }

  header .button-menu {
    display: block;
  }

  .header-list-page {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    gap: 2rem;
  }

  .header-list-page a {
    text-decoration: none;
    color: var(--color-black);
    font-weight: 600;
    padding: 0.7rem 0.7rem;
  }
}

footer {
  background-color: var(--color-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  padding-bottom: 3rem;
  gap: 1.2rem;
}

footer .tagline {
  color: var(--color-yellow);
  font-family: "Mayonice", Courier, monospace;
  font-size: 1.8rem;
}

footer ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

footer a {
  color: var(--color-white);
}
