  body {
            margin: 0;
            font-family: Arial, sans-serif;
            background-attachment: fixed; /* Optional */
            height: 100vh; /* Ensures the body takes full viewport height */
            /* Other styles */
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
            background-attachment: fixed; /* Optional: This makes the background fixed during scroll */
        }
  
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.5% 1%;
}

.header h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    flex-grow: 1; /* Ensure it takes up the space it needs */
}

.header-nav {
    display: flex;
    align-items: center;
    /* Remove padding-left if you want the links to be closer to the header text */
}

.header-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    font-family: 'Playfair Display', serif;
    padding: 20px 10px; /* Control spacing around the links */
}

.header-nav .divider {
    color: #fff;
    padding: 0 5px;
}

.header-nav a:hover {
    background-color: #ddd;
    color: black;
}

.header-image {
    height: 62px;
    /* Ensure the image stays on the right */
    margin-left: auto;
}
  
.links-title {
  color: white;
  text-align: center; /* Centers the title text */
  width: 100%; /* Ensures the title spans the full width of the container */
  margin-top: 5px; /* Adjust spacing between the title and links */
  margin-bottom: 2px; /* Adjust spacing between the title and links */
  font-size: 16px; /* Adjust font size as needed */
      font-family: 'Playfair Display', serif;
}
.nav-container {
  background-color: rgba(0, 0, 0, 0.6); /* Light gray background */
  display: inline-flex; /* Makes the container only as wide as its content */
  padding: 5px; /* Optional: Adds some padding around the links */
  border-radius: 5px; /* Optional: Adds rounded corners to the container */
  margin-left: 0%; /* Adjust as needed to align with your layout */
}

.nav {
  display: flex;
  justify-content: left;
}

.nav a {
  color: #fff;
  text-decoration: none;
  padding: 14px 16px;
  text-align: center;
  font-family: 'Playfair Display', serif;
}

.nav a:hover {
  background-color: #ddd;
  color: black;
}

.footer {
  background: rgba(0, 0, 0, 0.8);
  color: #fff; /* Ensures all text in footer is white */
  text-align: center;
  padding: 5px 10px;
  position: absolute;
  bottom: 0;
  width: 100%;
}


.white-link, .footer a {
  color: white; /* Ensures all links in footer are white */
  text-decoration: none; /* Removes underline from links */
  font-family: 'Playfair Display', serif;
      font-size: .9em;
}

.white-link:hover, .white-link:focus, .white-link:active,
.footer a:hover, .footer a:focus, .footer a:active {
  color: white; /* Keeps the link color white even when hovered over */
  text-decoration: none; /* Optionally keeps the underline removed */
}


.links-container {
  background: rgba(0, 0, 0, 0.6);
  padding: 8px;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-family: "Arial", sans-serif;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  position: absolute; /* Keep in view on scroll, use absolute for relative to parent */
  bottom: 17%; /* Distance from bottom */
  right: 5%; /* Distance from right */
  width: 40%; /* Set a specific width */
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* Align items to the start */
  align-items: flex-start; /* Align items vertically to the start */
}

.links-container a {
  color: white;
  font-family: 'Playfair Display', serif;
  text-decoration: none;
  padding: 5px 10px;
  margin: 5px;
  border: 1px solid white;
  border-radius: 10px;
  transition: background-color 0.3s, color 0.3s;
}

.links-container a:hover {
  background-color: white;
  color: black;
}

  /* Style for the countdown timer, similar to the links box */
    .countdown-container {
      position: absolute;
      right: 5%; /* Adjust as needed */
      bottom: 40%; /* Align with the links box */
      
      background: rgba(0, 0, 0, 0.6);
      padding: 10px;
      border-radius: 10px;
      color: white;
      font-size: 18px;
      font-family: "Courier New", Courier, monospace;
      text-align: center;
      width: 40%; /* Adjust width as needed */
    }

    .countdown-input-group {
      display: flex;
      justify-content: center;
      margin-bottom: 10px;
    }

    .countdown-input-group input {
      width: 40px;
      padding: 5px;
      border: 1px solid #ccc;
      border-radius: 5px;
      text-align: center;
      margin: 0 5px;
      background: rgba(0, 0, 0, 0.6);
      color: white;
    }

    .countdown-button {
      background-color:  rgba(0, 0, 0, 0.6);
      color: white;
      border: 1px solid #ccc;
      padding: 5px 10px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 16px;
      margin: 4px 2px;
      cursor: pointer;
      border-radius: 5px;
    }

    #countdownDisplay {
      font-size: 400%;
      font-weight: bold;
      color: #FFF;
    }

@keyframes blink {
    0% { background-color: rgba(0, 0, 0, 0.6); }
    50% { background-color: red; }
    100% { background-color: rgba(0, 0, 0, 0.6); }
}

.flash-red {
    animation: blink 1s linear infinite;
}

/* CSS Media Query for smaller screens */
@media screen and (max-width: 768px) {
  .links-container, .links-container2, .countdown-container {
    width: 80%; /* Increase the width for smaller screens */
    right: 1%; /* Adjust right margin */
    bottom: 10vh; /* Adjust bottom spacing */
    max-width: none; /* Remove the maximum width restriction */
  }
}

#countdownDisplay {
  font-size: 500%; /* Current font size for larger screens */
  font-weight: bold;
  color: #FFF;
}

/* CSS Media Query for smaller screens */
@media screen and (max-width: 600px) {
  #countdownDisplay {
    font-size: 250%; /* Smaller font size for mobile screens */
  }
}

/* CSS Media Query for smaller screens */
@media screen and (max-width: 768px) {
  .countdown-container {
    bottom: auto; /* Override the default bottom value */
    top: 40%; /* Set the new position from the top */
  }
}