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;
}

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

#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;
}

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

article.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);
}

article.home-article h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

article.home-article h2 a {
  color: #f8b500;
}

article.home-article h2 a:hover {
  text-decoration: underline;
}

article.home-article code {
  background-color: #2a2d33;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  font-family: monospace;
}

article.home-article pre {
  background-color: #2a2d33;
  padding: 1rem;
  border-radius: 0.3rem;
  overflow-x: auto;
}

article.home-article pre code {
  background-color: transparent;
  padding: 0;
}

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

#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;
}
