.carousel {
  min-height: 73vh;
  position: relative;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: transparent;
}
.progress-bar__fill {
  width: 0;
  height: inherit;
  background: #45B76D;
  background: linear-gradient(45deg,rgba(69, 183, 109, 1) 0%, rgba(237, 182, 29, 1) 50%, rgba(232, 24, 80, 1) 100%);
  transition: all 0.16s;
}
.progress-bar--primary {
  z-index: 2;
}

.main-post-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.main-post {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.main-post__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
}
.main-post__image img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.main-post__image::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(14, 13, 14, 0.5);*/
}
.main-post__content {
  position: absolute;
  top: 40%;
  left: 4%;
  transform: translateY(-40%);
  color: #fff;
  width: 45%;
}

.main-post__link {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
}
.main-post__link-text {
  font-size: 0.9em;
}
.main-post__link-icon--arrow {
  margin-left: 12px;
}
.main-post__link-icon--play-btn {
  margin-right: 12px;
}

.main-post__link:hover .main-post__link-text,
.main-post__link:hover .main-post__link-icon--arrow path {
  color: #c20000;
  stroke: #c20000;
}

.main-post--active {
  top: 0;
  z-index: 1;
  transition: top 0.9s 0.4s ease-out;
}

.main-post--not-active {
  top: 100%;
  z-index: 0;
  transition: top 0.75s 2s;
}

.main-post.main-post--active .main-post__tag-wrapper {
  width: 25%;
  transition: all 0.98s 1.9s;
}

.main-post.main-post--not-active .main-post__tag-wrapper {
  width: 0;
  transition: width 0.3s 0.2s;
}

.main-post.main-post--active .main-post__title {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s 1.42s, transform 0.5s 1.4s;
  font-size: 28px;
  font-weight: 500;
    margin: 0px 0 25px;
    line-height: 40px;
}

.main-post.main-post--not-active .main-post__title {
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.2s 0.35s, opacity 0.5s 0.2s;
  font-size: 28px;
  line-height: 40px;
  margin: 0 0 25px;
}

.main-post.main-post--active .main-post__link {
  opacity: 1;
  transition: opacity 0.9s 2.2s;
}

.main-post.main-post--not-active .main-post__link {
  opacity: 0;
  transition: opacity 0.5s 0.2s;
}

.posts-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 14px;
       column-gap: 14px;
  position: absolute;
  bottom: 0;
  max-width: 95%;
  margin: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 45%;
  z-index: 1;
}

.post {
  background: rgba(14, 13, 14, 0.6);
  opacity: 0.3;
  color: #fff;
  position: relative;
  padding: 16px 20px;
  transition: opacity 0.2s linear;
}
.post__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8em;
}
.post__tag {
  color: #80837e;
}
.post__title {
  font-weight: 400;
  font-size: 0.95em;
  line-height: 1.5;
  margin: 0px 0 0;
  text-align: center;
}
.post__published {
  margin: 0px;
}
.post--active {
  opacity: 1;
  background: rgba(14, 13, 14, 0.75);
  pointer-events: none;
}
.post--disabled {
  pointer-events: none;
}
.post:hover {
  cursor: pointer;
  opacity: 1;
}

.hide-on-mobile {
  display: none;
}

@media screen and (max-width: 991px) {
  .main-post__content {
    width: 80%;
    text-align: center;
    left: 10%;
    
  }
  .main-post__content h1 {
    background-color:rgb(0, 0, 0, 0.7);
    padding: 25px 10px;
    -webkit-border-radius: 35px 55px;
    -moz-border-radius: 35px 55px;
    border-radius: 35px 55px;
    font-size: 24px !important;
    line-height: 35px !important;
  }
}
@media screen and (max-width: 1023px) {
.progress-bar__fill {
  background: #45B76D;
  background: linear-gradient(45deg,rgba(255, 235, 195, 1) 0%, rgba(255, 235, 195, 1) 50%, rgba(255, 235, 195, 1) 100%);
}
}
@media screen and (min-width: 1024px) {
  .hide-on-mobile {
    display: grid;
  }

  .hide-on-desktop {
    display: none;
  }
}
@media screen and (min-width: 1440px) {
  .main-post__content {
    width: 45%;
  }

  .posts-wrapper {
    left: 70%;
    transform: translatex(-80%);
    max-width: 70%;
  }
}

/* From Uiverse.io by jawad_8494 */ 
.super-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(145deg, #0f0f0f, #1c1c1c);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  z-index: 1;
}
.super-button a {
  color: #ffffff;
  text-decoration: none;
}
.super-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, #45B76D, #EDB61D, #E81850);
  animation: rotate 4s linear infinite;
  z-index: -2;
}

.super-button::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #1B1D50;
  border-radius: inherit;
  z-index: -1;
}

.super-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
}

.super-button:hover .arrow {
  transform: translateX(6px);
}

.arrow {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease-in-out;
  color: #EDB61D;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1199px) {
  .posts-wrapper {
    left: 57.7%;
  }
}
