html {
  font-size: 10px;
}

h1, h2, h3 {
  margin: 0;
}

a {
  color: #f8b500;
  text-decoration: none;
}

body {
  margin: 0;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
  background-color: #2a2d33;
  font-size: 1.6rem;
  color: #b6b6b6;
}

header,
footer {
  background-color: #2a2a2a;
}

header {
  display: flex;
  justify-content: space-between;
  position: sticky;
  
  padding: 1rem 2rem;
  z-index: 2;
  top: 0;
}

footer {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

main {
  padding: 2rem;
}

.aboutme-content {
  max-width: 1020px;
  margin: 0 auto;
}

article {
  display: flex;
  flex-direction: column;

  & table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    border: 1px solid rgba(248, 181, 0, 0.22);
    border-radius: 0.8rem;
    overflow: hidden;
    background-color: #2f3238;
    box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.22);
  }

  & th,
  & td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
    text-align: left;
  }

  & th {
    background-color: #3a3d44;
    color: #fff;
    font-weight: 700;
  }

  & thead th {
    border-bottom: 2px solid #f8b500;
  }

  & tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
  }

  & tbody tr:hover {
    background-color: rgba(248, 181, 0, 0.06);
  }
}

#menu-wrapper,
#tag-wrapper {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

nav ul {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.tag {
  padding: .4rem;
  text-transform: uppercase;
}

.thumb {
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.4);
}

.icon {
  height: 2rem;
}

#tag-wrapper {
  .tag {
    display: inline-block;
  }
}

footer {
  & div {
    text-align: center;
  }
}

.article-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1020px;
  margin: 0 auto;

  & h2 {
    font-size: 3rem;
  }
}

article {
  &.article-single {
    display: flex;
    flex-direction: column;
    gap: 2rem;

    & .h2 {
      font-size: 3.5rem;
      margin-bottom: 1rem;
    }
  }

  &.home-article {
    border: 2px solid #f8b500;
    border-radius: 0.8rem;
    padding: 2rem;
    background-color: #323539;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);

    & pre {
      background-color: #2a2d33;
      padding: 1rem;
      border-radius: 0.3rem;
      overflow-x: auto;

      & code {
        background-color: transparent;
        padding: 0;
      }
    }

    & .article-tags-wrapper {
      margin-top: 1.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid #555;
    }

    & h2 {
      margin-top: 0;
      margin-bottom: 1.5rem;

      & a {
        color: #f8b500;

        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
}

#blog-pagination ol {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;

  list-style-type: none;
  font-size: 3.2rem;
}

.tag-page-heading {
  text-align: center;
  font-size: 9rem;
  color: #f8b500;
  margin-bottom: 3rem;
}
