.banner-vimeo {
  position: relative;
  aspect-ratio: 2.5;
  max-height: 690px;
  width: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;

  @media (max-width: 768px) {
    height: 100vh;
    max-height: inherit;
    aspect-ratio: inherit;
  }
}

.banner-vimeo .banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  background-image: url('../../assets/images/icon-play.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

  @media (max-width: 768px) {
    width: 88px;
    height: 88px;
  }
}

.banner-vimeo .banner-content {
  position: absolute;
  left: 50%;
  padding-left: 200px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
  max-width: 600px;
  text-align: left;

  @media (max-width: 768px) {
    transform: none;
    max-width: 100%;
    padding: 0 16px;
    top: calc(50% - 180px);
    left: 0;
  }
}

.banner-vimeo .title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 24px;

  @media (max-width: 768px) {
    font-size: 38px;
    margin-bottom: 12px;
  }
}

.banner-vimeo .text {
  font-size: 20px;
  margin-bottom: 0;
  margin-top: 0;

  @media (max-width: 768px) {
    font-size: 17px;
  }
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999;
}

.video-modal .close-button {
  position: absolute;
  top: 3vh;
  right: 3vh;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.modal-inner {
  width: 95vw;
  max-width: 95vw;
  max-height: 95vh;
  aspect-ratio: 16 / 9;
}

.modal-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}
