body {
  width: 100%;
  min-height: 100dvh;
  font-family: "Montserrat", sans-serif;
  background-color: #111;
  background-image: linear-gradient(to bottom right, #000, #111);
  color: #fff;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  a {
    color: #00c3ff;
    &:hover,
    &:focus {
      color: #0082aa;
    }
  }
}
em {
  font-style: italic;
}
strong {
  font-weight: bold;
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
#landing {
  line-height: 1;
  min-height: calc(100dvh - 4rem);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}
#scroll-prompt {
  position: absolute;
  bottom: 1rem;
}

h1 {
  font-family: "Geist Mono", monospace;
  font-size: 4rem;
  font-weight: 500;
  text-align: center;
}

h2 {
  font-family: "Geist Mono", monospace;
  font-size: 3rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#aka {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 1rem;
  transition: 0.5s color;
  text-align: center;
}

h1:hover + #aka,
#aka:hover {
  color: #fff;
}

#tagline {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: center;
}

#avatar {
  width: 6rem;
  aspect-ratio: 1;
  filter: grayscale(1);
  border-radius: 100%;
  transition: 0.5s filter;
  &:hover {
    filter: grayscale(0);
  }
}

#contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  a {
    text-decoration: none;
    color: #fff;
    &:hover,
    &:focus {
      color: #ddd;
    }
  }
}

#contact-prompt {
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-item {
  display: flex;
  background-color: #222;
  padding: 0.5rem 1rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
}

#contact-email > .icon,
#contact-discord > .icon {
  content: "";
  display: block;
  height: 1.25rem;
  width: 1.25rem;
  background-size: 100% 100%;
}

#footer {
  margin-top: 1rem;
  color: #ddd;
  text-align: center;
}

#email {
  display: flex;
  height: 100%;
  items-align: center;
}

#portfolio {
  width: calc(100% - 4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.portfolio-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 1rem;
}
.portfolio-item, .portfolio-more {
  background-color: #121212;
  padding: 2rem;
  padding-bottom: 0.5rem;
  border-radius: 0.5rem;
  .portfolio-heading {
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    h3 {
      margin: 0;
    }
    .portfolio-tag {
      margin-left: 0.5rem;
      padding: 0.25rem 0.5rem;
      &.portfolio-tag-closed {
        background-color: #3f003f;
      }
      &.portfolio-tag-open {
        background-color: #00566a;
      }
      &.portfolio-tag-admin {
        background-color: #6a0000;
      }
      &.portfolio-tag-retired {
        background-color: #444;
      }
    }
    .portfolio-tag:first-of-type {
      margin-left: auto;
    }
  }
  p {
    margin-bottom: 0.75rem;
  }
}
.portfolio-more {
  background: none;
}
.portfolio-images {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  width: 40%;
  margin-right: 1.5rem;
  margin-bottom: 1.5rem;
  float: left;
  a {
    display: flex;
    img {
      display: flex;
      width: 100%;
      border-radius: 0.25rem;
    }
  }
}
.portfolio-images-toggle {
  display: none;
}

@media (width < 64rem) {
  .portfolio-grid {
    grid-template-columns: 100%;
  }
  .portfolio-images {
    float: none;
    width: 100%;
    display: none;
  }
  .portfolio-images-toggle {
    display: block;
    margin-bottom: 1rem;
    margin-top: -1.5rem;
    &.show {
      display: flex;
      & + .portfolio-images {
        display: flex;
      }
    }
  }
}

ul {
  list-style: disc;
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  gap: 0.25rem;
}

footer {
  padding: 2rem;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  p {
    text-align: center;
  }
}

.highlighted-link {
  font-weight: 700;
  font-style: italic;
  color: #fff;
  text-decoration-color: #00c3ff;
  &:hover,
  &:focus {
    color: #ddd;
  }
}
