/*--------------------------------------------------------------
# History
--------------------------------------------------------------*/

.section-space-two {
    padding-top: 120px;
    padding-bottom: 120px;
}

.history-one {
    position: relative;
    background-color: #2C51A3;
  }
  .history-one__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    opacity: 0.1;
    mix-blend-mode: multiply;
  }
  .history-one .container,
  .history-one .container-fluid {
    position: relative;
    z-index: 1;
  }
  .history-one__container {
    position: relative;
    z-index: 1;
  }
  @media (min-width: 1400px) {
    .history-one__container {
      padding-right: 0;
      margin-left: calc((100% - 1200px) / 2);
      width: auto;
      min-width: auto;
      max-width: inherit;
    }
  }
  .history-one .sec-title__tagline, .history-one .sec-title__title {
    color: FFFFF;
  }
  @media (min-width: 1400px) {
    .history-one__carousel.owl-carousel .owl-nav {
      margin: 0;
      flex-direction: column;
      gap: 10px;
      position: absolute;
      top: 60px;
      left: -100px;
    }
  }
  @media (min-width: 1600px) {
    .history-one__carousel.owl-carousel .owl-nav {
      left: -120px;
    }
  }
  .history-one__carousel.owl-carousel .owl-nav button {
    background-color:  #FFFFFF;
  }
  .history-one__item__image {
    margin-bottom: 74px;
  }
  .history-one__item__image img {
    border-radius: 20px;
  }
  .history-one__item__content {
    text-align: center;
  }
  .history-one__item__shape {
    position: relative;
    margin: 0 auto 13px;
    width: 32px;
    height: 32px;
  }
  .history-one__item__shape::before {
    content: "";
    width: 1px;
    height: 40px;
    background-color:  #FFFFFF;
    position: absolute;
    top: -39px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 500ms ease;
  }
  .history-one__item__shape::after {
    content: "";
    width: 32px;
    height: 32px;
    position: absolute;
    top: 0;
    left: 0;
    background-color:  #FFFFFF;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    z-index: 1;
    transition: all 500ms ease;
  }
  .history-one__item:hover .history-one__item__shape::before, .history-one__item:hover .history-one__item__shape::after {
    background-color:  #33C1ED;
  }
  .history-one__item__year {
    position: relative;
    margin-bottom: 11px;
    display: block;
    font-size: 24px;
    color:  #33C1ED;
    font-weight: 600;
    line-height: 1.25;
  }
  .history-one__item__year::after {
    content: "";
    width: calc(100% + 30px);
    height: 1px;
    background-color: RGBA(255, 255, 255, 0.1);
    position: absolute;
    top: -30px;
    left: 0;
  }
  .history-one__item__title {
    margin-bottom: 11px;
    font-size: 26px;
    color:  #FFFFFF;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 1.5;
  }
  .history-one__item__text {
    margin: 0;
    font-weight: 400;
    color:  #FFFFFF;
  }


/*--------------------------------------------------------------
Card Design for Media
--------------------------------------------------------------*/

.media-card {
  position: relative;
  height: 28rem;
  width: 20rem; 
  aspect-ratio: 5/7;
  color: #ffffff;
  perspective: 50rem;
}

.media-card .shadow {
  position: absolute;
  inset: 0;
  background: var(--url);
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  filter: blur(2rem) saturate(0.9);
  box-shadow: 0 -1.5rem 2rem -0.5rem rgba(0, 0, 0, 0.5);
  transform: rotateX(var(--rotateX)) rotateY(var(--rotateY)) translate3d(0, 2rem, -2rem);
}

.media-card .image {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 40%), var(--url);
  background-size: cover;
  background-position: center;
  /* -webkit-mask-image: var(--url);
          mask-image: var(--url);
  -webkit-mask-size: cover;
          mask-size: cover;
  -webkit-mask-position: center;
          mask-position: center; */
}

.media-card .image.cutout {
  transform: rotateX(var(--rotateX)) rotateY(var(--rotateY)) translate3d(0, 0, 4rem) scale(0.92);
  z-index: 3;
}

.media-card .content {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  inset: 0;
  padding: 3.5rem;
  transform: rotateX(var(--rotateX)) rotateY(var(--rotateY)) translate3d(0, 0, 6rem);
  z-index: 4;
  left: 89%;
  width: 100%;
}

/* .media-card::after, .media-card::before {
  content: "";
  position: absolute;
  inset: 1.5rem;
  border: #e2c044 0.5rem solid;
  transform: rotateX(var(--rotateX)) rotateY(var(--rotateY)) translate3d(0, 0, 2rem);
}
 
.media-card::before {
  z-index: 0;
} */

.plyr audio, .plyr video {
  height: 350px !important;
}

.gallery-img {
    width: 360px;
    height: 270px;
    object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }
}
