:root {
  --color-primary: #6f6af8;
  --color-primary-variant: #5854c7;
  --color-gray-700: #2d2b7c;
  --color-gray-900: #1e1e66;
  --color-bg: #0f0f3e;
  --color-primary-light: hsl(242, 91%, 69%, 18%);
  --color-primary-soft: #8f703f;
  --color-primary-soft-mid: #b19260;
  --color-primary-soft-begge: #bd9e6d;
  --color-primary-soft-begge-light: #cdad78;
  --color-primary-soft-background: rgb(229, 218, 202);
  --color-red: #580a0a;
  --color-red-light: hsla(346, 89%, 43%, 0.71);
  --color-green: #32e79f;
  --color-green-background: #515541;
  --color-green-light: hsla(156, 62%, 29%, 0.815);
  --color-white: #f2f2fe;
  --color-green-nav: #cfcfcf;
  --color-gray-200: rgba(242, 242, 254, 0.7);
  --color-gray-300: rgba(242, 242, 254, 0.3);
  --color-gray-400: #8f703fcd;
  --color-text-h5: rgba(41, 41, 41, 0.8);
  --color-black: rgba(0, 0, 0, 0.8);

  --transition: all 300ms ease;

  --container-width-lg: 74%;
  --container-width-md: 88%;
  --form-width: 40%;

  --card-border-radius-1: 0.3rem;
  --card-border-radius-2: 0.5rem;
  --card-border-radius-3: 0.8rem;
  --card-border-radius-4: 2rem;
  --card-border-radius-5: 5rem;
}

/* START GENERAL */

* {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  appearance: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: black;
  overflow-x: hidden;
  background: #f2f2f2;
  font-size: 0.9rem;
}

.container-blog {
  min-width: 100vw;
}

section {
  margin-top: 3rem;
  width: 100vw;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--color-white);
  line-height: 1.3;
}

/* add to posts on index if there are no featured posts */
.section__extra-margin {
  margin-top: 7rem;
}

h1 {
  font-size: 3rem;
  margin: 1rem 0;
}
h2 {
  font-size: 1.7rem;
  margin: 1rem 0;
}
h3 {
  font-size: 1.1rem;
  margin: 0.8rem 0 0.5rem;
}
h4 {
  font-style: 1rem;
}

a {
  color: black;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
  height: 100%;
}
/* END */

/* START NAV */

nav {
  background: #515541;
  width: 100vw;
  height: 4.5rem;
  position: fixed;
  top: 0;
  z-index: 10;
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.2);
}

nav button {
  display: none;
}

.nav__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.avatar {
  width: 2.5rem;
  /* aspect-ratio: 1/1; */
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 0.3rem solid var(--color-bg);
}

.nav__logo {
  font-weight: 600;
  font-size: 1.2rem;
  color: white;
}

.nav__items {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.nav__profile {
  position: relative;
  cursor: pointer;
}

.nav__profile ul {
  position: absolute;
  top: 140%;
  right: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

/* show nav ul when nav profile is hovered over */

.nav__profile:hover > ul {
  visibility: visible;
  opacity: 1;
}

.nav__profile ul li a {
  padding: 1rem;
  display: block;
  width: 100%;
  background: var(--color-gray-900);
}

.nav__profile ul li:last-child a {
  background: var(--color-red);
  color: var(--color-bg);
}
/* END NAV */

/* START CATEGORY BUTTON */

.category__button {
  width: 12.5vw;
  background: white;
  color: rgb(137, 137, 137);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 600;
  font-size: 0.8rem;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(68, 68, 68, 0.1);
  transition: 2s;
}

.category__button:hover {
  scale: 1.03;
  box-shadow: -3px 2px 6px rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.category__button:active {
  transition: 0s;
  scale: 1;
  box-shadow: none;
}

/* END CATEGORY BUTTON */

/* START GENERAL POST */

.post {
  background-color: #f8f8f8;
  padding: 15px;
  width: 340px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.post__thumbnail {
  overflow: hidden;
  margin-bottom: 1.6rem;
  width: 100% !important;
}

.post:hover .post__thumbnail img {
  filter: saturate(0);
  transition: filter 500ms ease;
}

.post__author {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
  align-items: center;
}

.post__author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
}

/* END GENERAL POST */

/* START FEATURED */

.featured {
  margin-top: 8rem;
}

.featured__container {
  padding-left: 45px;
  padding-right: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.featured .post__thumbnail {
  height: fit-content;
}

/* END FEATURED */

/* START POSTS */

.posts__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
  width: fit-content;
  margin: auto;
}
/* END POSTS */

/* START CATEGORY BUTTONS */
.category__buttons {
  padding-top: 40px;
}

.category__buttons-container {
  margin-left: 2.5vw;
  margin-top: 40px;
  margin-bottom: 40px;
  line-height: 78px;
  text-align: center;
  width: fit-content;
  min-height: 100px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}
/* END CATEGORY BUTTONS */

/* START CATEGORY FOOTER */
footer {
  background: var(--color-gray-900);
  padding: 5rem 0 0;
  box-shadow: inset 0 1.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.footer__socials {
  margin-inline: auto;
  width: fit-content;
  margin-bottom: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}

.footer__socials a {
  background: var(--color-bg);
  border-radius: 50%;
  height: 2.3rem;
  width: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__socials a:hover {
  background: var(--color-white);
  color: var(--color-bg);
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

footer li {
  padding: 0.4rem 0;
}

footer h4 {
  color: var(--color-white);
  margin-bottom: 0.6rem;
}

footer ul a {
  opacity: 0.75;
}
footer ul a:hover {
  letter-spacing: 0.1rem;
  opacity: 1;
  transition: var(--transition);
}

.footer__copyright {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 2px solid var(--color-bg);
  margin-top: 4rem;
}
/* END CATEGORY FOOTER */

/* START CATEGORY SEARCH */
.search__bar {
  margin-top: 7rem;
}

.search__bar-container {
  position: relative;
  width: 30rem;
  background: var(--color-gray-900);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 0.6rem 1rem;
  border-radius: var(--card-border-radius-2);
  color: var(--color-gray-300);
}
.search__bar-container > div {
  width: 100%;
  display: flex;
  align-items: center;
}

.search__bar input {
  background: transparent;
  margin-left: 0.7rem;
  padding: 0.5rem 0;
  width: 100%;
  color: var(--color-white);
}

.search__bar input::placeholder {
  color: var(--color-gray-200);
}

/* START CATEGORY BUTTON */
.btn {
  display: inline-block;
  width: fit-content;
  padding: 0.6rem 1.2rem;
  background-color: var(--color-primary-soft-begge);
  border-radius: var(--card-border-radius-2);
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-white);
  font-weight: 600;
  margin-top: 3px;
}

.btn.sm {
  padding: 0.3rem;
  font-size: 0.8rem;
}
.btn.danger {
  background-color: red;
}
.btn:hover {
  background: var(--color-primary-soft-begge-light);
}

/* END CATEGORY BUTTON */

/* START DASHBOARD */
.dashboard {
  min-width: 100vw;
  min-height: 95vh;
  max-height: 200vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: var(--color-primary-soft-background);
}

.sidebar__toggle {
  display: none;
}

.dashboard__container {
  position: absolute;
  margin: auto;
  width: 1000px;
  display: grid;
  grid-template-columns: 14rem auto;
  gap: 2rem;
  background: var(--color-primary-soft-mid);
  padding: 2rem;
  margin-top: 6rem;
  border-radius: 2rem;
}
.dashboard aside a {
  color: var(--color-white);
  background: #3f5233c2;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.6rem;
}
.dashboard aside a:hover {
  background: #546e45c2;
}
.dashboard aside a.active {
  background-color: #546e45c2;
}
.dashboard aside ul li:not(:last-child):not(:first-child) a {
  border-bottom: 1px solid var(--color-black);
}

.dashboard aside ul li:first-child a {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.dashboard aside ul li:first-child a {
  border-bottom: 1px solid var(--color-black);
}
.dashboard main table th:first-child {
  border-top-left-radius: 10px;
}

.dashboard main table th:last-child {
  border-top-right-radius: 10px;
}

.dashboard aside ul li:last-child a {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.dashboard main {
  margin-left: 1.5rem;
}
.dashboard main h2 {
  margin: 0 0 2rem 0;
  line-height: 1;
}
.dashboard main table {
  display: block;
  flex-direction: column;
  width: 650px;
  scrollbar-color: var(--color-primary-soft);
  max-height: 400px;
  text-align: left;
  overflow-y: auto;
}

.dashboard main table th {
  background: #485e3ac2;
  padding: 0.8rem;
  color: var(--color-white);
}
.dashboard main table td {
  color: var(--color-white);
  background-color: var(--color-green-background);
  padding: 0.8rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.dashboard main table tr:hover {
  background-color: var(--color-primary-soft-begge);
  color: var(--color-black);
  cursor: default;
  transition: var(--transition);
}

/* END DASHBOARD */

/* START SINGLE POST */
.singlepost {
  margin: 6rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.singlepost__container {
  margin-top: 2vh;
  width: 95%;
  background: var(--color-green-nav);
  padding-top: 50px;
  padding-right: 50px;
  padding-left: 50px;
  padding-bottom: 100px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  border-radius: 3px;
}
.singlepost__container h2 {
  margin-top: 0;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-black);
  text-align: center;
}
.singlepost__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.post__author-info h5 {
  margin: 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-h5);
}
.post__author-info small {
  font-size: 0.9rem;
  color: var(--color-text-h5);
  text-align: center;
  font-weight: 500;
}

.singlepost__thumbnail img {
  max-width: 500px;
  height: auto;
  border-radius: 3px;
  box-shadow: 3px 2px 10px rgba(51, 51, 51, 0.5);
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
}
.singlepost__container p {
  margin-top: 1rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--color-black);
  text-align: justify;
  font-weight: 500;
}
/* END SINGLE POST */

/* END CATEGORY SEARCH */

/* START CATEGORY POSTS */
.category__title {
  height: 11rem;
  margin-top: 4.5rem;
  background: var(--color-gray-400);
  display: grid;
  place-items: center;
}
/* END CATEGORY POSTS */

/* START EMPTY PAGES */
.empty__page {
  height: 70vh;
  text-align: center;
  display: grid;
  place-content: center;
}
/* END EMPTY PAGES */

/* START GENERAL FORM */
.form__section {
  background-color: var(--color-primary-soft-background);
  display: grid;
  place-items: center;
  height: 114vh;
}
.form__section-container {
  margin-top: 70px;
  color: var(--color-white);
  padding: 70px;
  width: var(--form-width);
  background-color: var(--color-green-background);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.alert__message {
  padding: 0.8rem 1.4rem;
  margin-bottom: 1rem;
  border-radius: var(--card-border-radius-2);
}

.alert__message.error {
  background: var(--color-red-light);
  color: var(--color-red);
  font-weight: 500;
}

.alert__message.success {
  background: var(--color-green-light);
  color: var(--color-green);
  font-weight: 500;
}

.alert__message.lg {
  text-align: center;
}

.alert__message.xl {
  margin-top: 50px;
  margin-left: 70px;
  width: 300px;
  text-align: center;
}

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

.form__control {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form__control.inline {
  flex-direction: row;
  align-items: center;
}

.form__section small {
  margin-top: 1rem;
  display: block;
  color: var(--color-white);
  font-weight: 500;
}

.form__section small a {
  color: var(--color-primary-soft-begge);
  margin-left: 1rem;
  font-weight: 600;
}

/* START GENERAL DASHBAORD */

/* END GENERAL DASHBAORD */

input,
textarea,
select {
  color: var(--color-black);
  padding: 0.8rem 1.4rem;
  background-color: var(--color-white);
  border-radius: var(--card-border-radius-2);
  resize: none;
}

/* END GENERAL FORM */

/* START  MEDIA QUERIES (Medium-Sized Devices) */
@media screen and (max-width: 1265px) {
  .posts__container {
    gap: 2rem;
  }
}

@media screen and (max-width: 1100px) {
  .posts__container {
    gap: 1rem;
  }
  .post {
    width: 320px;
  }
}

@media screen and (max-width: 1200px) {
  .dashboard__container {
    grid-template-columns: 11rem auto;
    width: 820px;
    gap: 0rem;
  }

  .dashboard main table {
    width: 560px;
  }

  .dashboard main table th {
    padding: 0.5rem;
  }

  .dashboard main table td {
    padding: 0.5rem;
  }

  .dashboard aside {
    width: 170px;
  }

  .dashboard aside a {
    width: 170px;
    padding: 1rem;
  }

  .dashboard aside ul {
    width: 170px;
  }

  .alert__message.error {
    width: 350px;
  }
  .form__section {
    height: 122vh;
  }

  .category__buttons-container {
    margin-left: 6vw;
    width: 80vw;
    grid-template-columns: repeat(5, 1fr);
  }

  .category__button {
    width: 16vw;
  }
}
@media screen and (max-width: 1024px) {
  /* START  GENERAL STYLES */
  h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  h5 {
    font-size: 0.8rem;
  }
  /* END  GENERAL STYLES */

  /* START  NAV STYLES */
  nav button {
    display: inline-block;
    font-size: 1.5rem;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
  }

  nav button#close__nav-btn {
    display: none;
  }
  .nav__container {
    position: relative;
  }
  .nav__items {
    display: none;
    position: absolute;
    flex-direction: column;
    top: 100%;
    right: 0;
    width: 12rem;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }

  .nav__items li {
    width: 100%;
    height: 4.5rem;
    display: flex;
    align-items: center;
    box-shadow: -2rem 3rem 7rem rgba(0, 0, 0, 0.7);
    background: var(--color-gray-900);
    border-top: 1px solid var(--color-bg);
    opacity: 0;

    animation: animateDropdown 400ms 0s ease forwards;
    transform-origin: top;
  }

  .nav__items li:nth-child(2) {
    animation-delay: 150ms;
  }
  .nav__items li:nth-child(3) {
    animation-delay: 250ms;
  }
  .nav__items li:nth-child(4) {
    animation-delay: 350ms;
  }
  .nav__items li:nth-child(5) {
    animation-delay: 450ms;
  }
  .nav__items li:nth-child(6) {
    animation-delay: 550ms;
  }

  .category__buttons-container {
    padding-top: 4vh;
    width: 90vw;
    margin: auto;
    line-height: 50px;
    grid-template-columns: repeat(4, 1fr);
  }

  .category__button {
    padding-left: 0px;
    padding-right: 0px;
    width: 21vw;
    font-size: 12px;
  }

  /* Nav dropodwn animations */
  @keyframes animateDropdown {
    0% {
      transform: rotateX(90deg);
    }
    100% {
      transform: rotateX(0deg);
      opacity: 1;
    }
  }

  .nav__items a {
    border-radius: 0;
    width: 100%;
    height: 100%;
    background: var(--color-gray-900);
    padding: 0 2rem;
    display: flex;
    align-items: center;
  }

  .nav__profile {
    background: var(--color-gray-900);
  }

  .nav__profile ul {
    top: 100%;
    width: 100%;
  }
  .nav__profile ul li a {
    padding: 0 2rem;
    display: block;
    width: 100%;
    text-align: left;
    align-self: center;
    display: flex;
  }

  .nav__profile .avatar {
    margin-left: 2rem;
  }

  .featured__container {
    gap: 3rem;
  }

  .posts__container {
    grid-template-columns: 1fr 1fr;
    gap: 7.4rem;
  }

  .post {
    width: 380px;
  }

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

  /* START  BLOG */
  .search__bar-container {
    width: 60%;
  }
  /* END  BLOG */

  /* START  GENERAL FORM */
  .form__section {
    background-color: var(--color-primary-soft-background);
    height: 130vh;
  }

  .form__section-container {
    padding: 3rem;
    padding: 40px;
    width: 50%;
  }
  /* END  GENERAL FORM */

  /* END  GENERAL STYLES */

  /* START DASHBOARD (Tablets)*/

  /* END DASHBOARD */

  .sidebar__toggle {
    display: none;
  }
  /* END  MEDIA QUERIES *(Medium-Sized Devices) */
}

@media screen and (max-width: 932px) {
  .posts__container {
    gap: 3rem;
  }
}

@media screen and (max-width: 870px) {
  .dashboard__container {
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    width: 600px;
    height: 490px;
    gap: 0rem;
    margin-top: 0rem;
  }

  .dashboard main {
    margin-top: 3rem;
    margin-left: 0rem;
  }

  .dashboard main table {
    width: 560px;
    max-height: 195px;
  }

  .dashboard main table th {
    padding: 0.5rem;
  }

  .dashboard main table td {
    padding: 0.5rem;
  }

  .dashboard aside {
    width: 170px;
  }

  .dashboard aside a {
    width: 180px;
    height: 60px;
    padding: 1rem;
  }

  .dashboard aside ul {
    gap: 0.5rem;
    display: grid;
    grid-template-columns: repeat(3, 0fr);
    width: 550px;
  }

  .dashboard aside ul li:first-child a {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }

  .dashboard aside ul li:last-child a {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }

  .form__section-container {
    width: 60%;
  }

  .post {
    width: 340px;
  }

  .posts__container {
    gap: 2rem;
    margin: auto;
  }
}

@media screen and (max-width: 738px) {
  .posts__container {
    grid-template-columns: 1fr;
    width: 340px;
    margin: auto;
    gap: 5rem;
    margin-top: 5rem;
  }

  .featured__container {
    padding-left: 25px;
    padding-right: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* START  MEDIA QUERIES (Small-Sized Devices) */

@media screen and (max-width: 600px) {
  section {
    margin-top: 2rem;
  }
  h1 {
    font-size: 2rem;
  }
  .featured {
    margin-top: 6rem;
  }
  .featured__container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .category__buttons-container {
    padding-top: 65px;
    margin: auto;
    width: 80vw;
    grid-template-columns: repeat(3, 3fr);
  }

  .category__button {
    font-weight: 700;
    font-size: 10px;
    line-height: 35px;
    width: 25vw;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  /* START  BLOG */
  .search__bar-container {
    width: var(--container-width-md);
  }
  /* END  BLOG */

  /* START  SINGLE POST */
  .singlepost__container {
    background-color: transparent;
    padding: 0;
  }
  /* END  SINGLE POST */

  /* START  GENERAL FORM*/
  .form__section-container {
    width: 70%;
    margin-top: 55px;
    padding: 30px;
  }
  .form__section form a {
    padding-bottom: 2rem;
  }
  /* END  GENERAL FORM*/

  /* START  DASHBAORD*/

  .alert__message.error {
    margin: auto;
  }
  .dashboard__container {
    background-color: var(--color-primary-soft-background);
    grid-template-columns: 1fr;
    width: 385px;
    height: 400px;
    gap: 0;
    padding-left: 0px;
  }
  .dashboard {
    margin: 0;
    height: 100vh;
    justify-content: start;
  }
  .dashboard main {
    width: 100vw;
  }
  .dashboard main table {
    max-height: 55vh;
    max-width: 100vw;
    overflow-x: auto;
  }
  .dashboard main table th:first-child {
    border-top-left-radius: 0px;
  }
  .dashboard main table th:last-child {
    border-top-right-radius: 0px;
  }
  .dashboard main h2 {
    width: 260px;
    margin: auto;
    padding-bottom: 3rem;
    margin-top: 1rem;
    color: var(--color-primary-soft);
  }
  .dashboard aside {
    background: #3f5233;
    border-radius: 0px;
    top: 100px;
    position: fixed;
    left: 0;
    z-index: 2;
    height: 452px;
    transition: var(--transition);
  }

  .dashboard aside ul {
    grid-template-columns: repeat(1, 1fr);
    width: 170px;
    gap: 0px;
  }
  .dashboard aside a {
    width: 170px;
    height: 75px;
  }
  .singlepost__container {
    box-shadow: none;
  }

  .dashboard .sidebar__toggle {
    display: inline-block;
    background: var(--color-primary-variant);
    color: var(--color-white);
    position: fixed;
    right: 0;
    bottom: 4rem;
    z-index: 1;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50% 0 0 50%;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: -1rem 0 2rem rgba(0, 0, 0, 0.4);
  }

  .dashboard aside a h5 {
    display: inline-block;
  }

  #hide_sidebar-btn {
    display: none;
  }
  /* END  DASHBAORD*/

  /* START SINGLE POST */

  .singlepost__container {
    margin-top: 7vh;
  }

  .singlepost__container h2 {
    max-width: 80vw;
    margin: auto;
  }

  .singlepost__container h2 {
    color: var(--color-black);
  }

  .post__author-info h5 {
    color: var(--color-text-h5);
  }

  .post__author-info small {
    color: var(--color-text-h5);
  }

  .singlepost__container p {
    color: var(--color-black);
  }

  /* END SINGLE POST */

  @media screen and (max-width: 365px) {
    .category__buttons-container {
      padding-top: 65px;
      margin: auto;
      width: 95vw;
      grid-template-columns: repeat(3, 3fr);
    }

    .category__button {
      font-weight: 700;
      font-size: 10px;
      line-height: 30px;
      width: 28vw;
    }
  }
}
/* END  MEDIA QUERIES (Small-Sized Devices) */
