/* ----------Video Modal---------------------- */

.modal {
  display: none;
  opacity: 1;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-out;
}

.modal-content {
  background-color: var(--colorBrandPrimary70);
  /* margin: 15% auto; */
  /* padding: 100px 70px; */
  /* padding: 10px 7px; */
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;

  align-items: center;
  user-select: none;
}

/* Close Button */
.close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: rgb(255, 255, 255);
  text-decoration: none;
  cursor: pointer;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#videoPlayer {
  outline: 10px solid rgb(125 125 125 / 5%);
  transition: outline 0.5s ease;
}

#videoPlayer:hover {
  outline: 10px solid rgb(125 125 125 / 15%);
}

.video-popup {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  background: transparent;
}
