body {
  margin: 0;
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1vh;
}

header nav {
  flex-basis: 100%;
}

header nav ul {
  flex-direction: column;
}

li {
  list-style: none;
}

a {
  padding: 5px;
  font-family: "Instrument Sans";
  font-size: clamp(0.75rem, 0.5417rem + 0.6667vw, 1.125rem);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: +3px;
  font-weight: 300;
  color: #709cd2;
}

#home {
  margin-top: 3vh;
}

nav a:hover {
  font-weight: 800;
  /* color: #193757; */
}

.icon {
  height: 3vh;
  padding: 0 1vw;
}

#logo {
  max-height: 100px;
  padding-right: 20px;
}

.logos {
  display: flex;
  gap: 15px;
  flex-grow: 1;
  padding: 15px 25px;
  align-items: center;
}

.logos > a {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 1vw;
}

#menu-toggles {
  padding-right: 1rem;
  display: inline;
  height: auto;
}

#open-menu,
#close-menu {
  cursor: pointer;
}

#close-menu {
  display: none;
}

#main-menu {
  display: none;
}

#main-menu.open {
  height: auto;
  padding: 0.5rem 1rem;
  display: block;
  justify-content: center;
  background-color: #fcf7f2;
  line-height: 5vh;
}

footer {
  background-color: #709cd2;
  padding: 3vh 3vw;
  text-align: right;
  margin: 0;
  align-self: baseline;
}

#footer-wave {
  margin: 0;
}

footer a {
  color: #193757;
  margin: 2vh 0;
}

footer a:hover {
  font-weight: 800;
}

.bottom-nav:hover {
  font-weight: 800;
}

footer li {
  padding-right: 0;
}

h1 {
  font-family: "Instrument Sans";
  text-transform: uppercase;
  font-size: clamp(1.125rem, 0.3214rem + 2.5714vw, 2.25rem);
  color: #193757;
  text-align: center;
  margin: 0;
  padding: 0;
}

h2 {
  font-family: "Instrument Sans";
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 200;
  color: #193757;
  text-align: center;
  padding-bottom: 1vh;
  margin: 0;
}

p {
  font-family: "Instrument Sans";
  font-weight: 100;
  color: #193757;
  font-size: clamp(0.75rem, 0.5505rem + 0.6383vw, 1.125rem);
  line-height: 1.5;
}

#about-me {
  max-width: 75ch;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3vh;
  margin-bottom: 5vh;
  padding: 0 3vw;
}

#featured {
  display: block;
}

.arrow {
  width: 50px;
  display: inline;
}

.design-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1vw;
  margin-top: 0;
  margin-bottom: 2vh;
}

.work-grid {
  display: block;
  margin: 0;
  padding: 0;
}

.work {
  align-content: center;
  max-width: 100vw;
}

.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1vw;
  margin-bottom: 2vh;
}

.work-heading h1 {
  flex-grow: 1;
  text-align: left;
}

.indv-page h1 {
  text-align: left;
  margin-bottom: 1vh;
}

.program-icon {
  height: 5vh;
}

.indv-page {
  margin: 0 10vw 8vh 10vw;
}

.work-imgs-multiple {
  display: flex;
  flex-direction: column;
  align-content: center;
  margin-top: 1vh;
  margin-bottom: 5vh;
}

.work-indv-single {
  display: block;
  max-width: 400px;
  padding-top: 30px;
}

  .work-indv-multiple {
    max-width: 80vw
  }

  .deco-shelf {
    max-width: 80vw;
  }

#QClink {
  font-style: italic;
  font-weight: bolder;
}

.resume {
  display: flex;
  justify-content: center;
  gap: 1vw;
  align-items: baseline;
  margin-top: 1vh;
}

.resume-img {
  max-width: 100vw;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1vh;
  margin-bottom: 1vh;
}

@media only screen and (min-width: 700px) {
  header {
    flex-wrap: nowrap;
  }

  header nav {
    flex-basis: auto;
  }

  #main-menu {
    display: block;
  }

  #menu-toggles {
    display: none;
  }

  li {
    display: inline;
    gap: 25px;
    margin-top: 0;
    justify-content: baseline;
    padding: 25px 25px 0 25px;
  }

  #featured {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
    gap: 0;
    margin: 0;
  }

  .work {
    align-content: center;
    max-width: 32vw;
  }

  .work-imgs-multiple {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: auto 5vw;
  }

  .work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
    gap: 0;
    margin: 0 0 5vh 0;
  }

  .work-imgs-multiple-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    gap: 3vw;
    align-items: center;
  }

  .work-imgs-single {
    display: flex;
    flex-wrap: nowrap;
    gap: 3vw;
    justify-content: center;
    align-items: center;
    margin-top: 8vh;
    margin-bottom: 15vh;
  }

    .work-indv-multiple {
    max-width: 25vw;
  }

  .deco-shelf {
    max-width: 20vw;
  }

  #hd-socials {
    max-height: 20vw;
  }

  .resume-img {
    max-width: 50vw;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1vh;
    margin-bottom: 10vh;
  }
}
