.iframe-container {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "SVN-Gotham", sans-serif;
}

.iframe-box {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "SVN-Gotham", sans-serif;
}

.iframe-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-53%, -53%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 1);
  border: 2px solid #d694dc;
  z-index: 1;
  transition: background-color 0.3s ease;
}

.iframe-container::after {
  content: "";
  position: absolute;
  top: 49.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  clip-path: polygon(100% 50%, 0% 0%, 0% 100%);
  background-color: #d694dc;
  border-radius: 3px;
  z-index: 1;
  transition: background-color 0.3s ease;
}

.iframe-container:hover::before {
  /* border: 2px solid #fff; */
  background: #d694dc;
}

.iframe-container:hover::after {
  background-color: #fff;
}

.iframe-container .iframe-thumbnail {
  border-radius: 5px;
}

/* .iframe-container .iframe-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} */

.iframe-container .iframe-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iframe-box .modal {
  display: none;
  position: fixed;
  z-index: 101;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
}

.iframe-box .modal-container {
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* overflow: hidden; */
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.iframe-box .modal-container .iframe-youtube-embed {
  width: 100%;
  height: auto;
  max-width: 844px;
  max-height: 475px;
  border: none;
  aspect-ratio: 16/9;
}

/* .ytp-cued-thumbnail-overlay-image {
  background-size: contain !important;
  -webkit-background-size: contain !important;
} */

.iframe-box .modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.6);
  border: none;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 102;
  transition: color 0.3s;
}

.iframe-box .modal-close-btn:hover {
  color: rgba(255, 255, 255, 1);
}

.iframe-box .bottom-title {
  position: absolute;
  color: white;
  bottom: 5px;
}
