html, body {
  margin: 0;
  padding: 0;
  background: #000;
  overflow: hidden;
}
  
  .video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  
  }

  #video-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #000;
  border: none;
  outline: none;
}

  
#controls-container {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1;
  pointer-events: auto;
  
}

#videoButton {
  position: relative;  /* Add this to contain the absolute positioned timeDisplay */
  padding: 10px 15px;
  padding-bottom: 25px;  /* Increase bottom padding to make room for time */
  font-size: 16px;
  background-color: rgba(51, 51, 51, 0.7);
  color: #fff;
  border: none;
  cursor: pointer;
  margin-right: 10px;
  width: 50px;
}

#videoButton i {
  cursor: pointer;  /* Add pointer cursor only to the icon */
}

#timeDisplay {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  font-size: 12px;  
  text-align: center;
  color: #ffffff4d;
  font-size: 12px;
  cursor: default;
}
  
  .loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  display: none;
  z-index: 10000;
}

.loading-spinner svg {
  animation: rotate 2s linear infinite;
  transform-origin: center center;
  width: 100%;
  height: 100%;
}

.loading-spinner svg circle {
  fill: none;
  stroke: white;
  stroke-width: 6;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
}

@keyframes rotate {
  100% {
      transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
      stroke-dasharray: 1, 200;
      stroke-dashoffset: 0;
  }
  50% {
      stroke-dasharray: 89, 200;
      stroke-dashoffset: -35px;
  }
  100% {
      stroke-dasharray: 89, 200;
      stroke-dashoffset: -124px;
  }
}