.video {
  position: relative;
  padding: 0;
  margin: 100px 0;
}

@media only screen and (max-width: 992px) {
  .video {
    padding: 0;
    margin: 40px 0;
  }
}

.video img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.video__container {
  margin-top: 40px;
  aspect-ratio: 16 / 9;
  background-color: #ddd;
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: end;
}

.video__container::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: RGBA(0, 0, 0, 5);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.6) 15%, rgba(0, 0, 0, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

@media only screen and (max-width: 992px) {
  .video__container::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 15%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.1) 100%);
  }
}

.video::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  height: 50%;
  width: 100%;
  background-color: var(--accent-color);
}

.video .gallery_media-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  appearance: none;
  display: inline-block;
  outline: none;
  border: none;
  justify-content: center;
  align-items: center;
  line-height: 48px;
  border-radius: 48px;
  background: #0261bf;
  box-shadow: 0px 2px 32px 0px rgba(117, 133, 146, 0.16);
  margin-bottom: 70px;
}

@media only screen and (max-width: 992px) {
  .video .gallery_media-play {
    margin-bottom: 40px;
  }
}

.video .gallery_media-play i {
  color: #fff;
  font-size: 18px !important;
  line-height: 48px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.video .gallery_media-play:hover {
  background-color: #525252;
  border-color: #525252;
  transition: all 0.3s ease-in-out;
}

.video .gallery_media-play:hover i {
  color: #fff;
}

.video .introVideoOuter {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

@media only screen and (max-width: 992px) {
  .video .introVideoOuter {
    height: 430px;
  }
}

.video .introVideoOuter .introVideo {
  height: 600px;
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

@media only screen and (max-width: 992px) {
  .video .introVideoOuter .introVideo {
    height: 430px;
  }
}

.video .introVideoOuter .introVideo .screen {
  height: 600px !important;
  width: 106.66666667vh !important;
  /* 100 * 16 / 9 */
  min-width: 100% !important;
  min-height: 56.25vw !important;
  /* 100 * 9 / 16 */
  position: relative;
  left: 50% !important;
  top: 50% !important;
  transform: translateX(-50%) translateY(-50%) !important;
}

@media only screen and (max-width: 992px) {
  .video .introVideoOuter .introVideo .screen {
    height: 430px;
  }
}
