:root {
  font-size: 16px;
  font-family: "Teachers", serif;
  font-optical-sizing: auto;
  overscroll-behavior: none;

  --color-primary: #2c62cf;
  --text-primary: #f2f2f2;
  --text-secondary: #919598;
  --background-default: #1d2027;
  --background-surface: #1b1d21;
  --background-divider: #272a33;
  --background-border: #363738;
}

body {
  display: flex;
  flex-direction: column;
  height: 100svh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--text-primary);
  background-color: var(--background-default);
  transition: all 0.2s ease-in-out;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

.layout {
  display: flex;
  flex: 1 0 0;
  width: 100vw;
}

.main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
  align-self: stretch;
  padding: 3.5rem;
  max-width: 900px;
  margin: 0 auto;
  gap: 1rem;

  h1,
  p {
    text-align: center;
  }

  strong {
    color: var(--text-primary);
  }

  a {
    text-decoration: none;
    color: inherit;

    &:hover {
      text-underline-offset: 3px;
      text-decoration: underline;
    }
  }

  h1 {
    font-size: 2.5rem;
  }

  p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
  }
}

.main-icon {
  font-size: 2rem;
}

.main-navigation__tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  align-self: stretch;

  list-style: none;
  padding: 0.25rem 1.5rem;

  li {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    color: white;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    letter-spacing: -0.00406rem;

    border-radius: 0.5rem;
    background-color: var(--color-primary);

    &:hover {
      background-color: #326ce0;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    button, a {
      padding: 0;
      border: 0;
      padding: 0.5em 0.75em;
      font-family: inherit;
      font-size: 0.875rem;
      font-style: normal;
      font-weight: 500;
      line-height: normal;
      color: var(--text-primary);
      background-color: transparent;
      cursor: pointer;
    }

    a:hover {
      text-decoration: none;
    }

    i {
      display: none;
      align-items: center;
      padding: 0 0.25rem;
    }

    &:hover > i {
      display: flex;
    }
  }
}

aside {
  display: none;
  width: 50%;
  color: #181818;
  background-color: white;
  margin: 24px;
  border-radius: 1.25rem;
  padding: 24px;
  box-shadow: 4px 8px 4px 0px rgba(0, 0, 0, 0.2);

  header {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  ul {
    list-style: none;
  }

  section {
    display: none;
    flex-direction: column;
    gap: 24px;
  }
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;

  height: 56px;

  p {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
  }

  img {
    width: 1.25rem;
  }

  img[alt="JavaScript"], img[alt="AWS"] {
    border-radius: 3px;
  }
}

.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
  border: 0;
  border-radius: 6px;
  background-color: transparent;

  &:hover {
    cursor: pointer;
    background-color: #f2f2f2;
  }
}
#resume-experience, #resume-bio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Mobile devices (max-width: 600px) */
@media (max-width: 600px) {
}

/* Tablets (min-width: 601px) and (max-width: 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  aside {
    width: 100%;
  }
}

/* Desktops (min-width: 1025px) */
@media (min-width: 1025px) {
  aside {
    width: 50%;
  }
}
