* {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 100vw;
  height: 100vh;

  background-image: url(/static/img/background.png);
  background-size: cover;
  background-position: center center;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blur-wrapper {
  width: 100%;
  height: 100%;
  overflow-y: scroll;

  display: flex;
  justify-content: center;
}

/* width */
.blur-wrapper::-webkit-scrollbar {
  width: 8px;
}

/* Track */
.blur-wrapper::-webkit-scrollbar-track {
  background: var(--secondary-beije);
}

/* Handle */
.blur-wrapper::-webkit-scrollbar-thumb {
  background: var(--primary-light-green);
  border-radius: 4px;
}

/* Handle on hover */
.blur-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark-green);
  background: #555;
}

.content {
  display: flex;
  flex-direction: column;
  row-gap: 20px;

  max-width: 750px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.topbar {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 20px;
  border-radius: 20px;

  margin-top: 85.5px;
}

.topbar--title {
  color: var(--primary-dark-green);
  font-size: 30px;
  text-align: center;
}

.topbar--title span {
  background: -webkit-linear-gradient(
    45deg,
    var(--primary-light-green),
    var(--primary-dark-green)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.topbar--subtitle {
  text-align: center;
  color: var(--primary-brown);
  font-size: 14px;
}

.list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  row-gap: 10px;
  column-gap: 10px;
}

.post-card--container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.post-card {
  width: 240px;
  padding: 5px;
  border-radius: 7px;
  background-color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.post-card--thumb {
  width: 100%;
  border-radius: 5px;
  opacity: 0.75;
}

.post-card--date {
  font-size: 10px;
  color: var(--secondary-light-green);
}

.post-card--title {
  font-size: 16px;
  color: var(--primary-dark-green);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-card--description {
  font-size: 12px;
  color: var(--primary-brown);

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}


.article-topbar--container {
  background-size: cover;
  background-position: center center;
  margin-top: 85.5px;
  border-radius: 20px;
}

.article-topbar {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 20px;
    
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;

    margin-top: 85.5px;
}

.article-topbar--title {
    color: var(--highlight-yellow);
    filter: drop-shadow(0px 0px 1px black);
}

.article-topbar--date {
    color: var(--primary-light-green);
    filter: drop-shadow(0px 0px 1px black);
}

.article-topbar--description {
    color: var(--primary-brown);

}

.article-body {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 20px;
    color: var(--secondary-light-green);
}

.article-body img {
    width: 100%;
    height: auto;
}

.article-body h1 {
    color: var(--highlight-yellow);
    filter: drop-shadow(0px 0px 1px black);
}

.article-body h2 {
    color: var(--primary-light-green);
    filter: drop-shadow(0px 0px 1px black);
}

.article-body h3 {
  color: var(--highlight-beije);
  filter: drop-shadow(0px 0px 1px black);
}

.article-body h4, .article-body h5, .article-body h6 {
  color: var(--secondary-beije);
  filter: drop-shadow(0px 0px 1px black);
}

.article-body a {
  color: var(--highlight-beije);
  text-decoration: none;
  filter: drop-shadow(0px 0px 1px black);
}

@media (max-width: 780px) {
  .content {
    width: 550px;
  }

  .list {
    grid-template-columns: 1fr 1fr;
  }

  .post-card {
    width: 258px;
  }
}

@media (max-width: 540px) {
  .content {
    padding: 10px;
    width: 100%;
  }

  .list {
    grid-template-columns: 1fr;
  }

  .post-card {
    width: calc(100vw - 28px);
  }

  .post-card--thumb {
    width: calc(100vw - 40px);
  }

  .article-topbar--title, .article-body h1 {
    font-size: 22px;
  }

  .article-body {
    padding: 10px;
    font-size: 14px;
  }

  .article-body h2 {
    font-size: 18px;
  }

  .article-body h3, .article-body h4, .article-body h5, .article-body h6 {
    font-size: 16px;
  }
}
