/*
 * Updated and Modernized Stylesheet
 *
 * This version replaces deprecated code with current best practices.
 */

/* ================================
   Base Styles for Links and Text
   ================================ */

/* General link styling to remove underlines and add a smooth color transition */
a {
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Link states with the new color #FF0033 */
a:link,
a:visited,
a:active {
    color: #FF0033;
}

/* Hover state adds an underline for a clear visual cue */
a:hover {
    color: #E1B049;
    text-decoration: underline;
}

/* ================================
   Body and Typography
   ================================ */

body {
    background: #000000;
    color: #99FFFF;
    font-family: 'Courier', Times New Roman, Times, serif;
    line-height: 1.1; /* Adds spacing between lines for better readability */
    -webkit-font-smoothing: antialiased; /* Improves font rendering on macOS */
    -moz-osx-font-smoothing: grayscale; /* Improves font rendering on Firefox */
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    /* This ensures the image covers the entire page */
    position: relative;
}

ul {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.static-bg {
    position: fixed; /* Makes the image static relative to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Equivalent to background-size: cover */
    z-index: -1; /* Puts the image behind all other content */

    /* Set the initial state and apply the animation */
    opacity: 0;
    animation: fadeIn 6s forwards;
}

.content {
    position: relative;
    z-index: 1; /* Ensures your content appears on top of the image */
    color: #99FFFF; /* Example styling for visibility */
    padding: 20px;
    /* Other content styling... */
}

/* The same @keyframes rule as before */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}





/* Use a class for justified text to apply it selectively,
   rather than to the entire body. */
.justify-text {
    text-align: justify;
    max-width: 29em;
}

.image-container {
  text-align: center;
}

.example-paragraph {
  text-align: justify;
}

/* Styling for the sidebar */
.sidebar {
  height: 100%; /* Make the sidebar take up the full height of the viewport */
  width: 220px; /* Set a fixed width for your sidebar */
  position: fixed; /* This is the key to making it static */
  z-index: 1; /* Puts the sidebar on top of other content */
  top: 0; /* Positions the sidebar at the top of the viewport */
  left: 0; /* Positions the sidebar at the left of the viewport */
  background-color: #000000; /* A background color for visibility */
  overflow-x: hidden; /* Disable horizontal scrolling */
  padding-top: 15px; /* Add some space at the top */
}

/* Styling for the menu links */
.sidebar a {
  padding: 0px 0px 0px 0px;
  text-decoration: none;
  font-size: 10px;
  color: #ffffff;
  display: block; /* Make the links block-level for padding */
}

/* On hover, change the link color */
.sidebar a:hover {
  color: #f1f1f1;
}

/* Styling for the main content */
.main-content {
  margin-left: 250px; /* Push the main content to the right, past the sidebar */
  padding: 0px 0px;
}

#overlappopup{ /*div containing enlarged image. Don't change id name. */
position: absolute; /*don't change position property */
z-index: 1000;
background: white;
border: 3px solid #B33521;
padding: 0px;
left: 0;
top: 0;
visibility: hidden }



/* ================================
   Table and Layout Elements
   ================================ */

/*
 * This rule assumes <td> is used for tabular data, not layout.
 * If <td> is used for layout, it's highly recommended to update the HTML
 * to use modern elements like <div> with Flexbox or Grid.
 */
td {
    font-family: 'Courier New', Courier, monospace;
    text-align: justify;
}
 * This rule assumes <td> is used for tabular data, not layout.
 * If <td> is used for layout, it's highly recommended to update the HTML
 * to use modern elements like <div> with Flexbox or Grid.
 */
td {
    font-family: 'Courier New', Courier, monospace;
    text-align: justify;
}

.leaders {
  max-width: 29em; /* Adjust as needed */
  padding: 0;
  overflow-x: hidden; /* To prevent horizontal scrollbar from dots */
  list-style: none;
}

.leaders li {
  display: flex; /* Makes the list items flex containers */
  justify-content: space-between; /* Pushes the spans to the ends */
  position: relative;
  align-items: baseline;
}

.leaders li:before {
  /* This creates the dots */
  content: "..................................................................................................................."; /* A long string of dots */
  position: absolute;
  bottom: 3px; /* Adjust vertical position of dots */
  left: 0;
  right: 0;
  top: 0;
  z-index: -1; /* Puts the dots behind the text */
  border-bottom: 3px dotted #333 color: #99FFFF; /* For a dotted line instead of characters */
}

.leaders span {
  background: black; /* Hides the dots behind the text */
  padding: 0 0.2em; /* Padding around the text */
}

            p {
                max-width: 458px; /* Sets a maximum width of 400 pixels */
                margin: 0 auto; /* Centers the paragraph horizontally */
                text-align: justify;
                color: #99FFFF;
            }