body {
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    background-image: url('images/5062524.jpg'); 
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #333;
}
 
header {
    background-color: rgba(51, 51, 51);
    color: #fff;
    padding: 0px;
    text-align: center;
    
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0px;
}

header nav ul li {
    display: inline;
    margin-right: 40px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

section {
    margin: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, .8);
    border: 1px solid #ccc;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: rgba(51, 51, 51,.8);
    color: #fff;
}

.banner {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    font-size: 2rem;
    color: white;
    z-index: 10; /* Above the image */
    opacity: 0; /* Invisible by default */
}

header {
    background-color: rgba(51, 51, 51, .8);
    color: #fff;
    padding: 0; 
    text-align: center;
    width: 100;
}

header h1, header nav {
    padding: 8px; /* Added padding to h1 and nav instead of the whole header */
}

.loneImg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
}

.loneImg img{
    border-style: solid;
    border-width: 5px;
    border-color: rgb(0, 0, 0);
}

.loneImg h3 {
    color:rgb(0, 0, 0);
    margin-top: 0px;
    background-color: rgb(248, 248, 248, .8);
    width: 610px;
    text-align: center;
}

.sidebyside {
    display: flex;
    flex-direction: column;  /* Stacks elements vertically */
    justify-content: center;
}

.sidebyside h2 {
    text-align: center;
    width: 100%;  /* Ensures the header spans the full width */
}

.content {
    display: flex;
    justify-content: space-between; /* This will now only affect the <p> and <img> */
}

.content p {
    width: 75%;        /* Each item takes almost half of the container's width */
    padding: 0px;      /* Adds space inside the boxes */
}

.content img{
    width: 20%;
    padding-left: 10px;
}

#navbar-placeholder nav {
    width: 100%;
    background-color: transparent;  
    color: white; /* Text color that stands out on initial background */
    padding: 1rem;
    text-align: center;
    position: fixed;
    top: 0;
    transition: background-color 0.5s ease; /* Smooth transition for background color */
    z-index: 1000; /* Make sure it's on top of other content */
}

#navbar-placeholder nav.visible {
    background-color: #333; /* Change to visible background color */
}


.full-image {
    width: 100%;    /* Ensure the image spans the full width of the viewport */
    height: 100vh;  /* Set the height to be 100% of the viewport height */
    object-fit: cover; /* Cover the container without stretching */
    display: block; /* Removes any space below the image */
}