* {
  font-family: Arial, Helvetica, sans-serif;
}
:root {
  --bg_size: 150px;
  --margin: min(calc(100vw / 910 * 70), 70px);
}
@media (max-width: 850px) {
  :root {
    --bg_size: 100px;
  }
}
@keyframes background_animation {
  from {
    background-position-x: 0;
    background-position-y: 0;
  }
  to {
    background-position-x: var(--bg_size);
    background-position-y: var(--bg_size);
  }
}
body {
  margin: 0;
  height: 100%;
  background-color: #fbff00;
  background-image: url("/media/backgrounds/blog.webp");
  background-size: var(--bg_size) var(--bg_size);
  animation-name: background_animation;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
body::-webkit-scrollbar {
  display: none;
}
@media (max-width: 850px) {
  body {
    animation-duration: 4s;
  }
}
#article {
  min-height: calc(100vh - var(--margin));
  width: calc(100vw - var(--margin));
  margin: calc(var(--margin) / 2);
  background-color: white;
  overflow: hidden;
  box-sizing: border-box;
  padding: 20px;
  border-radius: 30px;
}
@media (max-width: 850px) {
  #article {
    padding: 15px;
  }
}
#thumbnail {
  display: block;
  max-width: 600px;
  width: 100%;
  aspect-ratio: 2;
  border-radius: 30px;
  margin-bottom: 20px;
  image-rendering: pixelated;
}
#title {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 2.5rem;
}
#description {
  display: block;
  text-wrap: pretty;
  margin-bottom: 8px;
}
#date {
  margin-top: 0;
  margin-bottom: 0;
  color: gray;
  font-size: 0.8rem;
}
#content {
  margin-top: 15px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}
#content * {
  text-wrap: pretty;
  margin-top: 0;
  margin-bottom: 15px;
}
#content ol {
  margin-top: -20px;
  margin-bottom: 0;
}
#content li {
  margin: 0;
}
#content ul {
  margin-top: -20px;
  margin-bottom: 0;
}
#content > *:last-child {
  margin-bottom: 0;
}
