body, html {
  overflow-x: hidden !important;
}

.container-fluid.bg {
  background: url("/img/history-after.png") top right;
}

.anim-text {
  display: block;
  opacity: 0;
}
.anim-text.show {
  -webkit-animation: reveal 0.5s forwards var(--d);
          animation: reveal 0.5s forwards var(--d);
}

.history-about-wrapper {
  padding: 0px !important;
  padding-top: 3em !important;
}

.about-video-box {
  display: grid;
  grid-template-columns: 4fr 6fr;
  padding: 30px 0;
  gap: 50px;
  margin: 50px 0;
}
.about-video-box .text-box {
  font-size: 16px;
  line-height: 24px;
}
.about-video-box .text-box h1 {
  font-size: 34px;
  line-height: 36px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.about-video-box .tour-3d {
  aspect-ratio: 1366/664;
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.about-video-box .tour-3d .text {
  position: absolute;
  top: 50px;
  left: 20px;
  width: 50%;
  font-size: 20px;
  line-height: 32px;
}
.about-video-box .tour-3d .text b {
  font-weight: 700;
  font-size: 30px;
}
.about-video-box .tour-3d img {
  -o-object-fit: scale-down;
     object-fit: scale-down;
  width: 100%;
}

.photogallery-box {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}
.photogallery-box div {
  aspect-ratio: 3/2;
  transition: all 0.3s ease;
}
.photogallery-box div:hover {
  transform: scale(0.95);
  transition: all 0.3s ease;
}
.photogallery-box div img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

@-webkit-keyframes reveal {
  from {
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal {
  from {
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 500px) {
  .about-video-box {
    grid-template-columns: repeat(1, 1fr) !important;
    margin-bottom: 20px;
  }
  .about-video-box #tdcarousel .carousel {
    width: 60vw !important;
  }

  .photogallery-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }
}