/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #fff;
    background-color: #000;
    line-height: 1.6;
    scroll-behavior: smooth;
    font-size: 1.1em;
}

/* Paragraph font size adjustment */
p {
    font-size: 1.2em;
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 10px 0;
    border-bottom: 2px solid #444;
}

.sticky-header h1 {
    font-size: 2em;
    margin: 0;
    color: #fff;
}

.sticky-header p {
    font-size: 1.2em;
    margin: 5px 0 0;
    color: #ccc;
}

/* Fixed Navbar styling */
.navbar {
    position: fixed;
    top: 115px; /* Adjust this based on the height of the sticky header */
    left: 0;
    width: 100%;
    z-index: 21;
    background-color: #333;
    border-bottom: 2px solid #444;
    padding: 10px 0;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.navbar li {
    margin: 0 20px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: #555;
}

/* Fullscreen Background Image */
.background-image {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1; /* Ensure it stays behind other elements */
    overflow: hidden;
}

.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main content section */
#featured-posts {
    position: relative;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3em 1em;
    border-radius: 12px;
    margin: 3em auto;
    max-width: 800px;
    z-index: 1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    margin-top: calc(115px + 2em); /* Adjust the space to prevent overlap with the navbar */
    scroll-margin-top: 115px; /* Ensures the section aligns well when scrolling */
}
/* Content Box Styling */
.content-box {
    background: #444;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    text-align: center;
    opacity: 0.95;
}

.content-box h2 {
    margin-bottom: 15px;
    font-size: 1.8em;
}

.content-box p {
    margin-bottom: 15px;
    font-size: 1.3em;
}

/* Styling for images in featured posts */
.content-image {
    width: 100%;
    height: auto;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

/* Read more link styling */
.read-more {
    color: #1e90ff;
    text-decoration: none;
    font-size: 1.1em;
}

.read-more:hover {
    text-decoration: underline;
}

/* General Image Styling */
img {
    display: block;
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5em;
    background-color: #000;
    color: #fff;
    font-size: 1.2em;
}

/* Footer Logo Styling */
footer p {
    display: inline-block;
    margin: 0 15px;
}

footer a img {
    width: auto;
    height: 240px;
} 

