html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Special Elite', monospace;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Use viewport height instead of 100% */
  position: relative; /* For absolute positioning context */
}

.content {
  flex: 1;
  padding-bottom: 150px; /* Add padding to prevent content from going under footer */
  overflow-y: auto; /* Allow content to scroll */
}

.footer {
  position: fixed; /* Fix the footer to the viewport */
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.839);
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 10px 0;
  width: 100%;
  z-index: 998; 
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.footer-links li {
  margin: 0 15px;
}

.footer-links li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.footer-text {
  font-size: 14px;
  margin: 5px 0;
  color: rgb(255, 255, 255);
}

/* Add backdrop filter for better readability */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(5px);
  z-index: -1;
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-overlay.active {
  display: flex;
}

.video-wrapper {
  width: 90%;
  max-width: 600px;
  background: #000;
  position: relative;
}

.video-wrapper iframe,
.video-wrapper video {
  width: 100%;
  height: auto;
}

/* Close button for overlay */
.video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

@media (max-width: 600px) {
  /* Ensure the video is still readable on mobile */
  .video-wrapper {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .footer-links {
    flex-wrap: wrap;
    font-size: 12px;
  }

  .footer-links li {
    margin: 5px 10px;
  }
  
  .footer-text{
    font-size: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .content {
    padding-bottom: 200px; /* Increase padding for mobile */
  }
}