body, html {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  color: #fff;
  background-color: #000;
}

body {
  background-image: url('1.jpg');
  background-repeat: repeat-y; /* The image will repeat vertically */
  background-size: 100% auto; /* Scale the image to fill the width */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0,0,0,0.82);
  z-index: 1;
}

.container {
  z-index: 2;
  text-align: center;
  max-width: 800px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

h1 {
  font-size: 2.5rem;
  margin: 20px 0 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.container img {
  width: 100%; /* Makes the image width adapt to the container width */
  height: auto; /* Maintains the aspect ratio */
  display: block; /* Ensures images are on new lines */
  margin-bottom: 20px; /* Adds some space below each image */
}

.container a, .container a:visited {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

/* More specific selectors for video link */
.container a.video-link, .container a.video-link:visited {
  color: #FFD700; /* This should now take precedence */
  font-weight: bold;
}

.click-here {
  color: #FF4500; /* Specificity is usually not an issue for unique class names */
}

/* Base styling for mobile devices */
.iframe-container {
  position: relative;
  width: 100%; /* Full width of the container */
  padding-top: 177.77%; /* Maintains 9:16 aspect ratio */
}

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

/* Styling for larger screens (e.g., tablets and desktops) */
@media (min-width: 768px) {
  .iframe-container {
    max-width: 500px; /* Maximum width for larger devices */
    padding-top: 88.88%; /* Adjusted for a wider aspect ratio if necessary */
    margin: auto; /* Centers the video */
  }
}

.container .responsive-video {
  width: 100%; /* Makes the video width adapt to the container width */
  height: auto; /* Maintains the aspect ratio */
  display: block; /* Ensures videos are on new lines */
  margin-bottom: 20px; /* Adds some space below each video */
}


/* Styling for embedded YouTube video */
.youtube-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  margin-bottom: 20px; /* Adds space below the video */
}

.youtube-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0; /* Removes the border around the iframe */
}
