.video-block-widget {
  display: flex;
  gap: 24px;
  flex-direction: column;
  border-radius: 8px;
}
.video-block-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  gap: 24px;
}
.video-block-widget .video-block-heading {
  color: var(--Default-White, #dddddd);
  font-family: "Urbanist";
  font-size: 80px;
  font-style: normal;
  font-weight: 900;
  line-height: 115%;
  margin: 0;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
}

.video-block-widget .video-block-subtitle {
  color: var(--Default-White, #999999);
  font-family: "Hanken Grotesk";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin: 0;
  margin-bottom: 1rem;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
}
.video-block-videos {
  display: flex;
  flex-direction: row;
  position: relative;
  gap: 24px;
  width: 100%;
}
.video-block-video {
  position: relative;
  width: 100%;
}
.one-video-block {
  display: flex;
  position: relative;
  padding: 0 34px;
}

.video-block-video-heading {
  position: absolute;
  left: 1%;
  bottom: 1%;
  z-index: 3;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.video-block-widget .video-block-video-title {
  color: var(--Default-White, #dddddd);
  font-family: "Hanken Grotesk";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin: 0;
  text-align: start;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
}
.video-block-widget .video-block-video-subtitle {
  color: var(--Default-White, #606060);
  font-family: "Hanken Grotesk";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin: 0;
  text-align: start;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
}

.video-block-media {
  position: relative;
  z-index: 2;
  border-radius: 12px;
}
.video-blocks-image-right,
.video-blocks-image-left,
.one-video-blocks-image-right,
.one-video-blocks-image-left {
  position: absolute;
}
.one-video-blocks-image-right {
  bottom: 30%;
  right: -5%;
  z-index: 3;
}

.video-blocks-image-right {
  bottom: 30%;
  right: -5%;
  z-index: 3;
}
.one-video-blocks-image-left {
  bottom: 30%;
  left: -5%;
  z-index: 1;
}
.video-blocks-image-left {
  bottom: 30%;
  left: -5%;
  z-index: 1;
}
@keyframes crombie-float-video {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(30px);
  }
}

.video-block-widget .video-blocks-miscellany-icon {
  width: 122px;
  height: 169px;
  animation: crombie-float-video 4s infinite alternate ease-in-out;
  transform: rotate(141deg);

  filter: blur(4px);
}
.video-block-widget .crombie-icon-rotate-video {
  transform: rotate(141deg);
  width: 122px;
  height: 169px;
  filter: blur(4px);
  display: block;
}
@keyframes crombie-float-x-video {
  0%,
  100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(-30px);
  }
}
.crombie-float-x-video {
  animation: crombie-float-x-video 4s infinite alternate ease-in-out;
}

.video-block-media-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-block-media-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-block-custom-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  color: white;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  z-index: 3;
}

.video-block-custom-play-button:hover {
  opacity: 1;
}
.video-block-fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-block-fade-in {
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-block-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: opacity 0.3s ease;
}

@media (max-width: 1200px) and (min-width: 768px) {
  .video-block-widget .video-block-heading {
    font-size: 32px;
  }
  .video-block-widget .video-block-subtitle {
    font-size: 16px;
  }
  .video-block-widget .video-block-videos {
    flex-direction: column;
  }
  .video-block-widget .crombie-icon-rotate-video {
    transform: rotate(141deg);
    width: 41px;
    height: 52px;
    filter: blur(4px);
    display: block;
  }
  .one-video-blocks-image-right {
    top: 2%;
    right: 5%;
    z-index: 3;
  }

  .video-blocks-image-right {
    top: 2%;
    right: 5%;
    z-index: 3;
  }
  .one-video-blocks-image-left {
    bottom: -18%;
    left: 5%;
    z-index: 1;
  }
  .video-blocks-image-left {
    bottom: -3%;
    left: 6%;
    z-index: 1;
  }

  @keyframes crombie-float-x-video {
    0%,
    100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-30px);
    }
  }
  .crombie-float-x-video {
    animation: crombie-float-x-video 4s infinite alternate ease-in-out;
  }
  .one-video-block {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .video-block-widget .video-block-heading {
    font-size: 32px;
  }
  .video-block-widget .video-block-subtitle {
    font-size: 16px;
  }
  .video-block-widget .video-block-videos {
    flex-direction: column;
  }
  .video-block-widget .crombie-icon-rotate-video {
    transform: rotate(141deg);
    width: 41px;
    height: 52px;
    filter: blur(4px);
    display: block;
  }
  .one-video-blocks-image-right {
    top: 2%;
    right: 5%;
    z-index: 3;
  }

  .video-blocks-image-right {
    top: 2%;
    right: 5%;
    z-index: 3;
  }
  .one-video-blocks-image-left {
    bottom: -22%;
    left: 5%;
    z-index: 1;
  }
  .video-blocks-image-left {
    bottom: -12%;
    left: 9%;
    z-index: 1;
  }

  @keyframes crombie-float-x-video {
    0%,
    100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-30px);
    }
  }
  .crombie-float-x-video {
    animation: crombie-float-x-video 4s infinite alternate ease-in-out;
  }
  .one-video-block {
    padding: 0;
  }
}
