.video {
  width: 400px;
  height: 240px;
  border-radius: 40px;
  overflow: hidden;
  cursor: pointer;
}

.video-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 40px;
}

.video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Popup CSS */
.video-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-popup.hidden {
  display: none;
}

.popup-content-video {
  /* background: #000; */
  padding: 20px;
  border-radius: 20px;
  position: relative;
  max-width: fit-content;
  max-height: 90%;
  overflow: hidden;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content iframe {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.close-popup {
  position: absolute;
  top: 0px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}
