*{
    cursor: crosshair;
}
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin-top: 150px;
    background-color: #333;
  }

  .header-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; /* however tall your top area is */
    background-color: #333;
    z-index: 3; /* just below .topnav */
}
  
  #cipher-heading {
    transition: color 0.3s ease; /* Smooth transition for color change */
    width: auto;
    margin-top: 180px;
  }
  
  #cipher-heading.ciphered {
    color: #f0f0f0; /* Light color for ciphered state (adjust as needed) */
    width: auto;
    font-family: monospace;
  }
  
  /* Color change when hovered */
  #cipher-heading:hover {
    color: #8cffd5; /* The color you want when the text is hovered */
  }
  
  h1 {
    width: 1em;
    margin-top: 3rem;
    font-family: monospace;
    font-size: 3em;
    }

  /* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 0;
    overflow: visible;
    left: 0;
    width: 100%; /* <-- Important */
    z-index: 1000;
    padding: 5px 0; /* Optional: Adds vertical spacing */
}

  
  /* Style the links inside the navigation bar */
  .topnav a {
    
    color: #0087b8;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    font-family: monospace;
    padding: 14px 16px; /* Add padding for better spacing */
    
    
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    background-color: #00bbffaf;
    color: white;
  }
  
  /* Add a color to the active/current link */
  .topnav a.active {
    background-color: #8cffd5;
    color: white;
  }

  /* Background container */

audio {
  display: none;
}

/* Position dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Hidden dropdown by default */
.dropdown-content {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 150%;
  background-color: #444;
  min-width: 180px;
  max-height: 200px;       /* Control how much is visible */
  overflow-y: auto;        /* Enable scrolling */
  z-index: 1200;           /* Must be above .topnav */
  box-shadow: 0 4px 8px rgba(56, 255, 199, 0.5);
}

/* Style the links inside the dropdown */
.dropdown-content a {
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #0087b8;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.scroll-label {
  position: absolute;
  top: calc(100% + 215px); /* position below dropdown (100% of dropdown + its height) */
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.0em;
  font-style: italic;
  color: #8cffd5;
  background-color: rgba(0, 0, 0, 0);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1002;
}

/* Show the scroll label only when dropdown is visible */
.dropdown:hover .scroll-label {
  opacity: 1;
}


#restart-button {
    float: center;
    color: #0087b8;
    text-align: center;
    padding: 9px 10px;
    text-decoration: none;
    font-size: 17px;
    font-family: monospace;
    background-color: #333;
    margin-left: .5em; 
    display: none;
    

}

#restart-button:hover {
  background-color: #8cffd5;
  color: white; 
}

#song-ID {
  float: center;
  color: #0087b8;
  text-align: center;
  padding: 9px 10px;
  text-decoration: none;
  font-size: 17px;
  font-family: monospace;
  background-color: #333;
  margin-left: .5em; 
  display: none;
  border: none;

}

#stop-button {
  float: center;
  color: #0087b8;
  text-align: center;
  padding: 9px 10px;
  text-decoration: none;
  font-size: 17px;
  font-family: monospace;
  background-color: #333;
  margin-left: .5em; 
  display: none;
  

}

#stop-button:hover {
background-color: #8cffd5;
color: white; 
}

#background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.background-image {
  position: absolute;
  opacity: 0; /* Start fully transparent */
  width: 200px; /* Adjust size as needed */
  height: auto;
  animation: float 10s infinite ease-in-out, fadeInOut 10s forwards;
  transition: opacity 0.3s, transform 0.3s;
}

.background-image:hover {
  opacity: 1; /* Fully visible */
  transform: scale(1.5); /* Slightly enlarge */
}

/* Full-screen styles */
.background-image:fullscreen {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensure the image fits within the screen */
}

@keyframes float {
  0% {
      transform: translateY(0);
  }
  100% {
      transform: translateY(-180px);
  }
}

@keyframes fadeInOut {
  0% {
      opacity: 0; /* Start fully transparent */
  }
  20% {
      opacity: 0.3; /* Fade in to half opacity */
  }
  80% {
      opacity: 0.3; /* Stay at half opacity */
  }
  100% {
      opacity: 0; /* Fade out to fully transparent */
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Grayed-out background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure it's on top */
}

/* Enlarged image container */
.enlarged-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: #0087b8;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Enlarged image */
.enlarged-image {
  max-width: 100%;
  max-height: 80vh; /* Limit height to 80% of viewport height */
  display: block;
  margin: 0 auto;
}

/* Close button */
.close-button {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #8cffd5;
}

.caption-box {
  font-size: 18px;
  font-family: monospace;
  color: #0087b8;
  margin-top: 10px;
}

.close-button:hover {
  color: #fff;
  transform: scale(1.5);
}

/* drafting slideshow styles */ 


.slideshow-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
}

#main-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
}

#prev-btn {
    left: 10px;
}

#next-btn {
    right: 10px;
}

#thumbnail-menu {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: #007bff;
}

.thumbnail:hover {
    border-color: #007bff;
}



.about-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.about-text {
  width: 48%;
  padding: 20px;
}

h2 {
  color: #0087b8;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    font-family: monospace;
    
}

a:link {
  color: #0087b8;
  text-decoration: none;
}
a:hover {
  color: #8cffd5;
}

p {
  color: #0087b8;
    text-align: left;
    text-decoration: none;
    font-size: 17px;
    font-family: monospace;
}

.image-gallery {
  width: 48%;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.gallery a:hover img {
    transform: scale(1.05);
}