@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  font-family: "Playfair Display SC";
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

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

.video {
  width: 100%;
  height: 100%;
  background-color: #000;
}

.video-ended { visibility: hidden !important; }

.container {
  padding: 75px 0;
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.hidden {
  display: none !important;
  opacity: 0 !important;
}

.cta-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 16px 24px;
  font-size: 18px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s, opacity 0.5s ease;
  opacity: 1;
}

.cta-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.cta-button svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.cta-button.fade-out {
  opacity: 0;
  pointer-events: none;
}

#playButtonMain {
  font-size: 50px;
  color: #fff;
  position: absolute;
  z-index: 11;
  left: 50%;
  top: 50%;
}

@media (max-width: 768px) and (orientation: portrait) {
  .container {
    padding: 50px 0;
  }

  .video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #808080;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .video video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
  }

  #playButtonMain {
    left: 43%;
    top: 45%;
  }
}

@media (max-width: 968px) and (orientation: landscape) {
  .container {
    padding: 50px 0;
  }

  .video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000;
  }

  .video video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
  }

  #playButtonMain {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 896px) {
  .container {
    padding: 50px 0;
  }
}
