@charset "UTF-8";
/* CSS Document */

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



.video-container {
  position: relative;
  width: 90%; 
 margin-bottom: 50px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

video, iframe {
  width: 100%;
  height: auto; /* Maintains aspect ratio */
  object-fit: cover;
  justify-content: center;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(360deg);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 0 25px 40px;
  border-color: transparent transparent transparent rgba(200, 200, 200, 0.5);
  cursor: pointer;
  z-index: 1;
}

.arrow {
  position: fixed;
  width: 40px;
  height: 40px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.arrow-top {
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
}

.arrow-bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(270deg);
}

.arrow-left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.arrow-right {
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(180deg);
}

.video-container:hover .arrow {
  opacity: 1;
}

.video-container:hover .play-button {
  opacity: 1;
}

.caption {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 5px 10px;
}
