body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
}

#loadingScreen {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background-size: cover;
  object-fit: cover;
  background-color:black;
}


#bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  background-size: cover;
  object-fit: cover;
}

.img-container {
  position: absolute;
  width:auto;
  height:auto;
  z-index: 2;
  max-height: 100vh;
}

img {
    width:auto;
    height:auto;
    max-height: 100vh;
    z-index: 1;
}

.video-container {
  position: absolute;
  width:auto;
  height:auto;
  z-index: 3;
}

video {
  width:auto;
  height:auto;
  max-height: 100vh;
  z-index: 1;
}

.button-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.overlay-button {
  position: absolute;
  background: rgba(255, 255, 255, 0);
  cursor: pointer;
  outline: none; /* Remove outline */
  opacity: 0; /* Set transparency (for mouse-over effects on hover) */
  transition: opacity .2s;
  z-index: 3;
  
}

.slider {
  position: absolute;
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  background: transparent; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 1; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
  z-index: 3;
}

/* Seek Slider */
.seek-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--thumb-size, 30px);
  height: var(--thumb-size, 30px);
  cursor: pointer;
  z-index: 3;
}

/* Volume Slider */
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--thumb-size, 30px);
  height: var(--thumb-size, 30px);
  cursor: pointer;
  z-index: 3;
}




/* Styles for the dimmed background when the modal is shown */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* Styles for the modal content */
.modal-content {
    position: relative;
    margin: 15% auto;
    padding: 20px;
    width: 80%; /* adjust as necessary */
    max-width: 600px; /* adjust as necessary */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styles for the close button */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

