/* Body and general styles */
body {
  color: white;
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
}

p {
  font-size: 16px;
  opacity: 0.8;
}

/* Wrapper for video and text */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
}

video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border: 2px solid white;
  border-radius: 10px;
  margin-top: 20px;
  z-index: 1; /* Ensure video stays behind text */
}

/* Text positioning */
#message {
  position: absolute;
  top: 40px;  /* Adjust vertical position */
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 20px;
  background-color: rgba(0, 0, 0, 0.6);  /* Add background color for visibility */
  padding: 10px;
  z-index: 10; /* Keep text above the video */
  pointer-events: none; /* Prevent text from blocking user interaction */
}

/* .message */
.message {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: Georgia, serif;
  z-index: 10;
  opacity: 1;
  pointer-events: none; /* Ensure no interaction blocking */
}

.to {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.text {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.from {
  font-size: 1rem;
  opacity: 0.8;
}
