main {
  background-color: #fff;
}
main header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 30rem;
  position: relative;
}
main header .filter-st {
  position: absolute;
  z-index: 2;
}
main header h1 {
  position: relative;
  z-index: 3;
  color: #fff;
  font-size: 5rem;
}
main section.content_results {
  border-radius: 8px;
  box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.3);
  background-color: #fff;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  padding: 1rem;
  width: var(--content-width);
  margin: 1rem auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}
main section.content_results a {
  display: flex;
  flex-direction: column;
  color: #000;
  width: 30%;
  text-decoration: none;
}
@media screen and (max-width: 600px) {
  main section.content_results a {
    width: 100%;
  }
}
main section.content_results a img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 10px;
}
main section.content_results a h3 {
  margin: 1rem 0 0.6rem;
  font-size: 1.8rem;
}
main section.content_results a p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
main .navigation {
  margin: 1rem;
}
main .navigation .screen-reader-text {
  display: none;
}
main .navigation .nav-links {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
main .navigation .nav-links .page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background-color: #008a35;
  color: #fff;
  border: 2px solid #008a35;
}
main .navigation .nav-links .page-numbers.current {
  color: #008a35;
  background-color: #fff;
}
@media screen and (max-width: 500px) {
  main header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 30rem;
    position: relative;
  }
  main header .filter-st {
    position: absolute;
    z-index: 2;
  }
  main header h1 {
    position: relative;
    z-index: 3;
    color: #fff;
    font-size: 3.5rem;
    text-align: center;
  }
  main section.content_results {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    width: var(--content-width);
    margin: 1rem auto;
  }
  main section.content_results > div {
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.438);
    color: var(--background-footer-primary);
  }
  main section.content_results > div img {
    width: 13rem;
    height: 12rem;
    object-fit: cover;
    border-radius: 15px;
  }
  main section.content_results > div .info {
    padding: 0.5rem 1.25rem;
    word-break: break-all;
    width: 100%;
  }
  main section.content_results > div .info h3 {
    font-size: 1.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  main section.content_results > div .info a {
    height: 4rem;
    width: 100%;
    margin: 1rem 0 0.5rem 0;
  }
}
