/* MAIN: #29322e  #364037 #96b298 #bbd8bd #fafafa */
/* ACCENT: #312315 #65472c | #986c43 | #be8753 #ffb56f */

.post-background {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-image: url('/static/img/nature/single-page-fallback.webp');
  background-size: cover;
  background-position: center;

  z-index: -999;
}

.post-divider {
  margin-bottom: 60vh;
}

.post-divider-gallery {
  margin-bottom: 100vh;
}

.post-container {
  display: flex;
  position: relative;
  flex-direction: column;
  max-width: 100rem;
  margin: 10vh auto;
  margin-left: 5vw;
  background-color: #29322e;
  color: #fafafa;
  padding: 4rem 8rem;
}

.post-header {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.post-line-divider {
  margin: 3rem 0;
  border-color: #986c43;
}

.post-meta {
  font-size: 1.4rem;
  color: #ffb56f;
}

.post-header a:link,
.post-header a:visited {
  color: #fafafa;
  text-decoration: none;
  transition: all 200ms;
}

.post-header a:hover,
.post-header a:active {
  color: #ffb56f;
  text-decoration: underline solid #ffb56f;
}

.post-title {
  font-size: 6.2rem;
}

.post-subtitle {
  font-size: 2rem;
  color: #ddd;
}

.post-content {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  font-size: 1.8rem;
  margin-top: 6rem;
}

.draft-alert {
    font-size: 2.2rem;
    padding: 2rem 1rem;
    background-color: #29322e;
    color:#eeeeee;
    font-weight: 600;
    margin-top: 3rem;
    text-align: center;
    border: 0.3rem solid #bd7e43;
}

.post-footer {
  margin-top: 10rem;
}

.post-kofi-container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.post-related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  justify-content: space-around;
}

.post-related-title {
  grid-column: 1 / -1;
  margin-bottom: 1rem;
  font-size: 3.6rem;
  color: #bbd8bd;
}

.article-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 50rem;
  font-size: 1.8rem;
  gap: 1rem;
  border: 0.1rem solid #96b298;
  background-color: #fafafa;
  color: #0a0a0a;
  padding: 1rem;
  transition: 200ms;
}

.article-card:hover {
  transform: scale(1.02);
}

.article-post-image {
  width: 100%;
  height: 25rem;
  background-image: url('/static/img/nature/homepage-article-fallback.webp');
  background-position: center;
  background-size: cover;
  justify-self: center;
  align-self: center;
}

.article-post-date {
  display: block;
  font-size: 1.4rem;
  margin-top: auto;
  color: #29322e;
  align-self: flex-end;
  justify-self: flex-end;
}

.article-post-title {
  font-size: 3.6rem;
  margin-bottom: 1.5rem;
}

.article-card a:link,
.article-card a:visited {
  color: #29322e;
  text-decoration: none;
  transition: all 200ms;
}
.article-card a:hover,
.article-card a:active {
  color: #5f7760;
  text-decoration: underline solid #5f7760;
}


.open-trivia {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 5rem 2rem;
    margin-top: 5rem;
    overflow: hidden;
    border: 1px solid #bd7e43;
    font-size: 1.8rem;

    hr {
        margin: 15px 0;
        border-color: #bd7e43;
    }

    form {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    h2 {
        font-size: 4.2rem;
    }

    p {
        color: #96b298;
    }

    .options {
        display: flex;
        gap: 0.5rem;
        width: 100%;
        flex-grow: 1;
    }

    input {
        padding: 15px 40px;
        border: none;
        flex-grow: 1;
        transition: all 100ms;
    }

    input:hover {
        color: white;
        background-color: #bd7e43;
    }

    .submit:not([disabled]):hover {
        transform: scale(1.05);
    }

    .selected {
        color: white;
        background-color: #5f7760;
        transform: scale(1.1);
    }

    .correct {
        border: 2px solid green;
    }

    .wrong {
        border: 2px solid red;
    }
}