
/* I FORGOT TO MAKE BLOG POSTS RESPONSIVE! */
/* AAAHHHHHH! */

main {
  padding: 24px 4%;
  width: 80%;
  margin: 0 auto;
  background-color: black;
  border: 4px solid #ffffff80;
  color: white;
  margin-bottom: 64px;
}

@media screen and (min-width: 640px) {
  main {
    padding: 48px 4%;
  }
}

/* Title section */
section[id='title_section'] {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#title {
  font-size: 30px;
  font-weight: 600;
}

@media screen and (min-width: 640px) {
  #title {
    font-size: 48px;
  }
}

@media screen and (min-width: 1440px) {
  #title {
    font-size: 72px;
  }
}

#blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#date {
  font-size: 14px;
  font-weight: 500;
}

@media screen and (min-width: 640px) {
  #date {
    font-size: 20px;
  }
}

@media screen and (min-width: 1440px) {
  #date {
    font-size: 30px;
  }
}

#tag-container {
  display: flex;
  row-gap: 6px;
  column-gap: 8px;
  flex-wrap: wrap;
  justify-content: end;
}

.tag {
  user-select: none;
  border-radius: 9999px;
  border: 1px solid #ffffff80;
  padding: 4px 12px;
  font-size: 10px;
}

@media screen and (min-width: 640px) {
  .tag {
    font-size: 12px;
  }
}

@media screen and (min-width: 1440px) {
  .tag {
    font-size: 16px;
  }
}

/* Content section */
section[id='content_section'] p {
  text-align: justify;
}

/* Common markdown style */
a {
  color: darkgray;
}

p,
li {
  font-size: 14px;
}

@media screen and (min-width: 640px) {
  p,
  li {
    font-size: 16px;
  }
}

@media screen and (min-width: 1440px) {
  p,
  li {
    font-size: 18px;
  }
}

h1 {
  font-size: 30px;
  font-weight: 600;
}

@media screen and (min-width: 640px) {
  h1 {
    font-size: 36px;
  }
}

@media screen and (min-width: 1440px) {
  h1 {
    font-size: 44px;
  }
}

h2 {
  font-size: 26px;
  font-weight: 500;
}

@media screen and (min-width: 640px) {
  h2 {
    font-size: 32px;
  }
}

@media screen and (min-width: 1440px) {
  h2 {
    font-size: 38px;
  }
}

h3 {
  font-size: 22px;
  font-weight: 500;
}

@media screen and (min-width: 640px) {
  h3 {
    font-size: 28px;
  }
}

@media screen and (min-width: 1440px) {
  h3 {
    font-size: 34px;
  }
}

h4 {
  font-size: 18px;
}

@media screen and (min-width: 640px) {
  h4 {
    font-size: 22px;
  }
}

@media screen and (min-width: 1440px) {
  h4 {
    font-size: 30px;
  }
}

h5 {
  font-size: 16px;
}

@media screen and (min-width: 640px) {
  h5 {
    font-size: 18px;
  }
}

@media screen and (min-width: 1440px) {
  h5 {
    font-size: 26px;
  }
}

h6 {
  font-size: 14px;
}

@media screen and (min-width: 640px) {
  h6 {
    font-size: 16px;
  }
}

@media screen and (min-width: 1440px) {
  h6 {
    font-size: 22px;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: scale-down;
  margin: 0 auto;
}

blockquote {
  font-weight: 500;
  font-style: italic;
}

