body {
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text */
    font-family: Arial, sans-serif;
}

header {
    background-color: #1e1e1e; /* Slightly lighter header */
    color: #ffffff;
    padding: 10px 20px;
}

a {
    /*color: #bb86fc;*/ /* Purple link for dark mode */
    color: #0b3d91;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Add some flair to the Space Pictures section */
.space-pictures {
    background-color: #000;
    color: #fff;
    padding: 20px;
}

.space-pictures .gallery img {
    width: 300px;
    margin: 10px;
    border: 2px solid #fff;
    border-radius: 10px;
}

/* Space Pictures NASA Theme */
.space-pictures {
    background-color: #0b3d91; /* NASA Blue */
    color: #ffffff;
}

.space-pictures h1 {
    color: #fc3d21; /* NASA Red */
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

.space-pictures .gallery img {
    border: 3px solid #fc3d21; /* NASA Red for borders */
    transition: transform 0.2s; /* Subtle zoom effect */
}

.space-pictures .gallery img:hover {
    transform: scale(1.05); /* Zoom in on hover */
}

.category h2 {
    margin-top: 30px;
    text-align: center;
    font-size: 1.8em;
}

.category .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* Header Styling */
header {
    background-color: #1e1e1e; /* Slightly lighter than the body */
    color: #ffffff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    flex-direction: row; /* Ensure horizontal alignment */
    justify-content: flex-start; /* Align everything to the left */
    align-items: center;
    max-width: 12000px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px; /* Adds space between elements */
}

.logo {
    position: relative;
    margin-right: 20px;
}

.logo a {
    font-size: 2.5em;
    font-weight: bold;
    /*color: #bb86fc;*/
    color: #0b3d91;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    margin-left: 20px;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
}

nav ul li a:hover {
    /*color: #bb86fc;*/ /* Purple accent on hover */
    color: #0b3d91;
}

/* Dropdown Styling */
.dropdown ul.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #2c2c2c;
    top: 100%; /* Directly below parent */
    left: 0;
    min-width: 150px;
    list-style: none;
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.dropdown:hover ul.dropdown-menu {
    display: block;
}

.dropdown ul.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown ul.dropdown-menu li a {
    padding: 10px 15px;
    display: block;
    color: #e0e0e0;
    text-decoration: none;
}

.dropdown ul.dropdown-menu li a:hover {
    /*background-color: #bb86fc;*/
    background-color: #0b3d91;
    color: #e0e0e0;
    font-weight: bold;
}

.dropdown:hover ul.dropdown-menu {
    display: block;
}
