/*
 * 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 #99FFFF */
a:link,
a:visited,
a:active {
    color: #b33521;
}

/* Hover state adds an underline for a clear visual cue */
a:hover {
    color: #FF6600;
    text-decoration: none;
}

/* ================================
   Body and Typography
   ================================ */

body {
    background: #000000;
    color: #99FFFF;
    font-family: 'Arial', Times New Roman, Times, serif;
    line-height: 1.2; /* 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;
}

.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: 'Arial', 'Courier New', Courier;
    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: 'Arial', 'Courier New', Courier;
    text-align: justify;
}

p {
   max-width: 520px; /* Sets a maximum width of 520 pixels */
   margin: 0 auto; /* Centers the paragraph horizontally */
   text-align: justify;
   color: #99FFFF;
}