/* General styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Navigation styles */
nav {
    position: sticky;
    top: 0;
    background-color: #2c84be; /* Solid dark blue */
    padding: 5px 0; /* Reduced padding to make it thinner */
    text-align: center;
    z-index: 1000; /* Ensure nav is above other elements */
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px; /* Slightly reduced font size */
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover, nav a.active {
    background-color: #3498db; /* Light blue */
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2c84be; /* Solid dark blue */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a {
    color: white;
    padding: 10px 16px; /* Slightly reduced padding */
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #3498db; /* Light blue */
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Header styles */
header {
    background-color: #f4f4f4; /* Match body background */
}

.header-image {
    background-image: url('/images/pospt3.webp');
    background-size: cover;
    background-position: center;
    height: 150px;
    position: relative;
    color: white;
}

h1 {
    text-align: center;
    color: white;
    margin: 0;
    padding-top: 45px;
    font-size: 36px;
}

/* Main content styles */
/* Style for the main container */
main {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Style for each post */
.post {
    margin-bottom: 50px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
}

/* Style for the date */
.date {
    color: #888888;
    font-size: 0.9em;
    margin-bottom: 5px;
}

/* Style for the article titles */
.post h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #333333;
}

/* Style for the images */
.post-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

/* Style for paragraphs */
.post p {
    line-height: 1.6;
    font-size: 1em;
    color: #555555;
}

/* Style for the audio player */
audio {
    width: 100%;
    margin: 20px 0;
}


main, footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

footer {
    background-color: transparent;
    color: #333;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    main, footer {
        max-width: 100%;
        padding: 10px;
    }
}