.site {
  width: 100%;
  margin: auto;
  background: white;
}
.site h1 {
  border-bottom: 1px solid #837c7c73;
  color: #000;
}
.error {
  width: 1280px;
  margin: auto;
  height: 100%;
  padding: 20px;
}
.error li {
  list-style: none;
}
.active h1 {
  font-size: 45px;
}
.error ul {
  position: relative;
  top: 40%;
  text-align: center;
}
.erorr-btn {
  margin: 20px;
  padding: 20px;
  color: #fff;
  border: 0;
  background-color: rgb(159, 11, 19);
}
a {
  text-decoration: none;
}
.post {
  width: 100%;
  display: grid;
  padding-top: 10px;
  grid-template-columns: repeat(3, 3fr);
  grid-auto-rows: auto;
}
.head-text a {
  text-decoration: none;
}
.site h1 {
  padding: 1.25rem 0;
}
.pagination {
  display: flex;
  justify-content: center;
}
.pagination .nav-links a.next,
.pagination .nav-links a.prev {
  width: 100px;
}

.nav-previous {
  float: right;
}

.pagination .nav-links .page-numbers,
.pagination .nav-links a {
  border: 1px solid #e9e9e9;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
  font-weight: 600;
  transition: all 0.3s ease 0s;
  font-size: 1.125rem;
  border-radius: 5px;
  margin: 0 0.125rem 0.625rem;
  padding: 0.625rem;
  color: #236ad4; /* Default color */
  vertical-align: baseline;
  white-space: nowrap;
  width: 3.125rem;
  height: 3.125rem;
}

.pagination .nav-links .page-numbers.current,
.pagination .nav-links a.current {
  color: #254e8a;
}
.pagination .nav-links .next {
  font-size: 20px;
}
.post img {
  width: 100%;
  object-fit: cover;
  height: 280px;
}
.card {
  width: 90%;
  display: flex;
  justify-content: space-between;
  height: auto;
  padding: 20px;
}
.card p {
  height: auto;
  padding: 5px 0;
}
.navigation.pagination .nav-links a.next,
.navigation.pagination .nav-links a.prev {
  width: 100px;
}
.nav-previous {
  float: right;
}
.category a {
  text-decoration: none;
}
.card-blog i {
  align-content: center;
}
.card-blog .textc {
  align-content: center;
}
@media screen and (max-width: 1100px) {
  .site {
    width: 100%;
  }
  .post {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 800px) {
  .card {
    padding: 0px !important;
  }
}
@media screen and (max-width: 600px) {
  .post {
    grid-template-columns: repeat(1, 2fr);
  }
  .post img {
    width: 100%;
    height: 200px;
  }
}
