@font-face {
  font-family: "Airstrike";
  src: url("../fonts/airstrike/airstrike.ttf");
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto/Roboto-VariableFont_wdth\,wght.ttf");
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-vf.woff2");
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

.layout {
  font-family: "Jost";
  font-size: 1.8rem;
  padding: 5rem;
  background-color: #eff1f7;
  max-width: 80rem;
  margin: 0 auto;
}

@media screen and (max-width: 600px) {
  .layout {
    padding: 1rem;
  }
}

.nav__layout {
  width: 100%;
  height: 7rem;
  background-color: #ffffff;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 600px) {
  .nav__layout {
    height: 12rem;
    flex-direction: column;
  }
}

.nav__logo {
  font-family: "Airstrike";
  font-size: 4rem;
}

.nav__link {
  color: #000000;
  text-decoration: none;
}

.searchform {
}

.searchform input {
  font-family: "Jost";
  font-size: 1.8rem;
  padding: 0.5rem 1rem;
  background-color: #eff1f7;
  border: none;
}

.searchform #searchsubmit {
  font-family: "Jost";
  background-color: #eff1f7;
}

.main__layout {
  background-color: #ffffff;
  margin-top: 2rem;
  padding: 2rem;
}

.posts__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media screen and (max-width: 700px) {
  .posts__layout {
    grid-template-columns: 1fr;
  }
}

.post__link {
  color: inherit;
  text-decoration: none;
}

.post__layout {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  border: solid 1px #eff1f7;
  width: 100%;
  height: auto;
  min-height: 50rem;
  padding: 1rem;
  transition: all 200ms ease-in-out;
}

.post__layout:hover {
  background-color: #eff1f7;
}

.post__title-excerpt {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.post__title {
}

.post__date {
  color: #929292;
}

.post__excerpt {
}

.post__category {
  text-align: left;
  padding: 0.5rem 1rem;
  background-color: #eff1f7;
  transition: all 200ms ease-in-out;
}

.post__layout:hover .post__category {
  background-color: #ffffff;
}

.post__thumbnail {
  width: 100%;
}

.post__thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.pagination__layout {
  width: 100%;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
}

.page-numbers {
  padding: 1rem;
  background-color: #eff1f7;
  text-decoration: none;
  color: #000000;
}

.current {
  background-color: #929292;
  color: #ffffff;
}

.single__layout {
  margin-top: 2rem;
  max-width: 80rem;
  padding: 2rem;
  background-color: #ffffff;
}

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

.single__link {
  color: #000000;
}

.single__title {
}

.single__date {
  color: #929292;
  margin-bottom: 2rem;
}

.single__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.categories__layout {
  max-width: 80rem;
  background-color: #ffffff;
  margin: 0 auto;
  margin-top: 2rem;
  list-style: none;
  padding: 2rem;
}

.categories__list {
  border-radius: 5px;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.category__item {
  padding: 1rem 2rem;
  background-color: #eff1f7;
  transition: all 200ms ease-in-out;
}

.category__item:hover {
  background-color: #929292;
  color: #ffffff;
}

.category__link {
  text-decoration: none;
  color: inherit;
}

.footer__layout {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  margin-top: 2rem;
  height: 7rem;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer__text {
  font-family: "Airstrike";
  font-size: 1.8rem;
  color: var(--texto-principal);
}
