/* General reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e2e9e9;
}

header {
    width: 100%;
    position: relative;
    text-align: center;
}

.header-content {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.header-image {
    width: 100%;
    height: 200px;
    object-fit: none;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.container {
    display: flex;
    width: 80%;
    margin: 10px auto; 
}

.column,
.main {
    padding: 15px;
    background-color: #e2e9e9;
    border: 0px solid #000;
    margin: 5px;
}

.main {
    flex: 2; /* Main content takes up more space */
    width: 70%; /* Only applied when not using flex */
}

.sidebar,
aside.sidebar {
    flex: 1; /* Sidebar takes up less space */
    background-color: #e2e9e9;
    width: 30%; /* Only applied when not using flex */
    padding: 15px;
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
    margin-bottom: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav li {
    display: inline;
    margin: 0 10px;
}

/* Default light mode */
body.light {
    background-color: #ffffff;
    color: #000000;
}

/* Dark mode styles */
body.dark {
    background-color: #000000;
    color: #ffffff;
}

/* Dark mode styles */
body.dark {
    background-color: #000000;
    color: #ffffff;
}

body.dark .container,
body.dark .main,
body.dark .column,
body.dark .sidebar {
    background-color: #000000; /* Darker background for containers */
    color: #ffffff; /* Light text color */
}

body.dark .header-content {
    background-color: #333333; /* Optional: Dark header background */
}

body.dark .overlay-text {
    color: #f0f0f0; /* Light overlay text color */
}