section .container {
  padding-left: 80px;
  padding-right: 80px;
}

header {
  padding-left: 50px;
  padding-right: 50px;
}

.header-small {
  height: 500px;
  overflow: hidden;
  border-radius: 28px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  background-color: rgb(6, 24, 52);
  margin-top: 116px;
}
.header-small .maxw {
  z-index: 3;
}
.header-small picture {
  overflow: visible;
}
.header-small picture img {
  width: 100%;
  height: 150%;
  -o-object-fit: cover;
  object-fit: cover;
  transform: translateY(-20%);
}

.tint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 2;
}

.header-small-h1 {
  grid-column: span 12;
  text-align: center;
  color: white;
}

.blog-element {
  grid-column: span 4;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 32px;
}
.blog-element img {
  transition: 0.4s;
}

.blog-wraper .blog-element {
  opacity: 1;
  transition: 1.5s;
  /* Smooth transition when appearing */
}

.blog-wraper.hidden .blog-element {
  opacity: 0;
  transition: none;
  /* No transition when hiding */
}

.blog-element-holder {
  position: relative;
  padding-top: 120%;
}

.blog-element:hover img {
  scale: 1.07;
}

.blog-tint {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0.0784313725) 31%, #222222 100%);
  z-index: 2;
}

.blog-text {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  padding: 40px;
}

.blog-h5 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 10px;
}

.pagination {
  text-align: center;
  margin-top: 20px;
  grid-column: span 12;
  display: flex;
  justify-content: center;
}

.pagination div {
  padding: 12px 15px;
  margin: 0 5px;
  cursor: pointer;
  outline: 1px solid rgb(222, 222, 222);
  border-radius: 1px;
  border: none;
  border-radius: 5px;
}

.hidden-blog {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.pagination div.active {
  background-color: #c6783e;
  outline: 1px solid #c6783e;
  color: white;
}

@media only screen and (max-width: 1150px) {
  .blog-text {
    padding: 25px;
  }
  section .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}
@media only screen and (max-width: 850px) {
  header {
    padding: 0;
  }
  .header-small {
    border-radius: 0;
    height: 500px;
    margin-top: 76px;
  }
  .blog-element {
    grid-column: span 6;
  }
}
@media only screen and (max-width: 650px) {
  section .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .blog-element {
    grid-column: span 12;
  }
  .blog-element-holder {
    padding-top: 70%;
  }
}/*# sourceMappingURL=blog.css.map */