html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

.hero-video-homepage {
  position: relative;
  height: 100vh; /* Adjust to vh to allow scrolling */
  width: 100%;
  overflow: hidden;
}

#hero-video {
  position: relative;
  height: 100%;
  width: 100%;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.container .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  text-align: center;
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Shadow to distinguish the text block */
  z-index: 1;
}

#hero-video-control {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2; /* Ensure button is on top */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  border: none;
  border-radius: 50%; /* Make it circular */
  width: 50px; /* Set width */
  height: 50px; /* Set height */
  color: white; /* Ensure the icon is visible */
  font-size: 24px; /* Increase size if needed */
  cursor: pointer; /* Add cursor pointer */
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .container .content {
    padding: 10px;
    font-size: 14px;
  }

  #hero-video-control {
    width: 40px; /* Adjust width for smaller screens */
    height: 40px; /* Adjust height for smaller screens */
    font-size: 18px; /* Adjust icon size for smaller screens */
  }
}
