/* desktop */
* {
  box-sizing: border-box;
  font-family: "Archivo", sans-serif;
  margin: 0;
  padding: 0;
}
html,
body {
  background-color: whitesmoke;
  margin: 0 auto;
  min-height: 100%;
}
header {
  width: 100%;
  position: sticky;
  top: 0;
  color: #f2f2f2;
  z-index: 50;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
}
#heading {
  padding: 2rem;
  background-color: #181818;
}
.dropdown {
  position: relative;
  display: flex;
  width: 100%;
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  display: inline-block;
  border-bottom: 1px solid #181818;
  background-color: #f2f2f2;
  z-index: 50;
  justify-content: center;
  flex-direction: column;
  height: 4rem;
}
.dropdown-hover {
  display: inline-block;
  padding: 10px;
  background-color: #f2f2f2;
  color: #181818;
  font-size: larger;
  font-weight: 700;
  cursor: pointer;
  border: none;
  width: 100%;
  transition: 300ms;
  height: 100%;
}
.dropdown-hover:hover {
  width: 100%;
  background-color: #a7f3d0;
}
.dropdown-menu {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  min-width: 100%;
  background-color: #f2f2f2;
}
.dropdown-menu:hover {
  height: auto;
}
.dropdown:hover .dropdown-menu {
  display: flex;
  flex-direction: row;
  row-gap: 15px;
  column-gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: 1px solid #181818;
  border-top: 1px solid #181818;
  height: auto;
  padding: 2rem;
}
.dropdown-menu a {
  text-decoration: none;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  color: #181818;
  font-size: 1.5rem;
  width: fit-content;
  padding: 3px 8px;
}
.dropdown-menu a:hover {
  background-color: #181818;
  color: #f2f2f2;
  padding: 3px 8px;
}
h1 {
  font-family: "Archivo", sans-serif;
  font-size: 7rem;
  font-weight: 400;
  height: fit-content;
}
h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: lighter;
}
sup {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 3rem;
  color: #a7f3d0;
}
h3 {
  background-color: #181818;
  color: #a7f3d0;
  font-family: "Archivo", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  padding: 34px 13px 8px 5px;
  margin-top: 0;
  width: 100%;
}
.card-container {
  scroll-padding-top: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 4rem 2rem;
  flex-grow: 1;
  justify-content: space-between;
  gap: 30px;
  height: auto;
}
.card {
  scroll-padding-top: 2rem;
  margin: 0 0 60px 0;
  flex-basis: 20%;
}

/* mobile */
@media (max-width: 767px) {
  header {
    position: sticky;
    top: 0;
    width: 100%;
    color: #f2f2f2;
    z-index: 50;
    scroll-snap-stop: normal;
    background-color: #181818;
  }
  h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
  }
  h2 {
    font-size: 1rem;
  }
  h3 {
    background-color: #181818;
    width: 95%;
    scroll-snap-type: proximity;
    padding: 34px 21px 13px 8px;
    margin-top: 20px;
    font-size: xx-large;
  }
  sup {
    font-size: 1.5rem;
    color: #a7f3d0;
  }
  .dropdown {
    background-color: #f2f2f2;
    box-shadow: none;
  }
  .dropdown-hover {
    border: none;
    width: 100%;
  }
  .dropdown-menu {
    width: 100px;
  }
  .dropdown-menu a {
    width: 100%;
    font-size: 1.5rem;
  }
  .card-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0 0;
  }
  .card {
    padding: 0 0 0 20px;
    width: -webkit-fill-available;
    flex-basis: 100%;
  }
  .card a {
    font-size: x-large;
  }
}

/* desktop */
.list {
  border-left: 1px solid #181818;
}
li {
  list-style-type: none;
  padding-top: 20px;
}
li a {
  color: #181818;
  font-family: "Archivo Narrow", sans-serif;
  font-size: 1.4rem;
  padding: 3px 4px 3px 4px;
  text-decoration: none;
  transition: 300ms;
  padding-left: 10px;
  scroll-snap-type: y mandatory;
}
li a:hover {
  background-color: #181818;
  color: #f2f2f2;
  padding: 3px 60px 3px 4px;
  transition: 400ms;
  padding-left: 10px;
}
footer {
  background-color: #181818;
  height: 100px;
  text-align: center;
  font-family: monospace;
  padding: 2rem 0;
  font-size: 2rem;
}
