CSS
/* General Styles */
body {
    font-family: "Open Sans", sans-serif;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    color: #495057;
    background-color: #F8F9FA;
}

/* Header */
header {
    background-color: rgba(114, 144, 154, 0.7); 
    color: #FFFFFF;
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 10;
    top: 50px; /* Adjust the value (e.g., 100px, 150px) to your preference */ 
}

header h1 {
    font-size: 2.8rem;
    margin: 0;
}

header nav a {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add text shadow for better visibility */
}

/* Navigation Styles */
nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0; 
    display: flex;   /* Use Flexbox for horizontal layout */
    justify-content: center; 
    flex-wrap: wrap; /* Allow items to wrap if they don't fit */
}

nav li {
    margin: 0 5px;  /* Reduce horizontal margin for mobile */
}

nav a {
    color: #FFFFFF; 
    text-decoration: none;
    padding: 8px 10px;  /* Slightly reduce padding for mobile */
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #555;
}
/* Main Content */
main {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
}

/* Image Styling */
.intro-and-image {
    display: flex; /* Enable Flexbox for the intro section */
    align-items: flex-start; /* Align items to the top */
}

.profile-image-container {
    width: 30%; /* Adjust as needed */
    margin-left: 20px; /* Add spacing between the image and text */
}

.profile-image {
    width: 100%; 
    height: auto; 
    border-radius: 8px;
}

/* Intro Text Container */
.intro-text {
    width: 70%; /* Adjust as needed */
}


section {
    margin-bottom: 20px; /* Reduced margin between sections */
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    padding: 20px; 
}

h2 {
    color: #495057;
    margin-bottom: 10px;
}

p, li {
    font-size: 1.1rem;
    margin-bottom: 10px; /* Reduced margin between paragraphs and list items */
}


/* Other Styles */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px; 
}

.image-grid img {
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 8px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}

/* Event Card Styles */
.event-card {
    background-color: #fff;
    border: 1px solid #ddd; /* Light gray border */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.event-card h3 {
    color: #343A40; /* Darker heading color */
    margin-top: 0;
}

.event-card a {
    display: inline-block;
    background-color: #72909A;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
}

.event-card a:hover {
    background-color: #495057; 
}

/* Footer */
footer {
    background-color: #343A40; 
    color: #F8F9FA; 
    text-align: center;
    padding: 15px 0;
}

footer a { 
    color: #007BFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

#follow-blog-container {
    background-color: #fff; /* Light background for better contrast */
    border-radius: 10px;  /* Rounded corners */
    padding: 30px;         /* More padding */
    text-align: center;  /* Center the elements */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    margin-bottom: 30px;
}

#follow-blog-container h2 {
    color: #343A40; /* Darker heading color */
    margin-bottom: 20px;
}

#bd-email {
    width: 80%;            /* Make the input field wider */
    padding: 12px;         /* More padding */
    border: 1px solid #ced4da; /* Light gray border */
    border-radius: 5px;  
    margin-bottom: 15px;  /* Spacing between input and button */
}

#follow-button {
    background-color: #72909A;  /* Match your header color */
    color: #fff; 
    padding: 12px 20px;  
    border: none;
    border-radius: 5px; 
    cursor: pointer;
    transition: background-color 0.3s; /* Smooth transition on hover */
}

#follow-button:hover {
    background-color: #495057; /* Darker color on hover */
}

#consent { /* Style for the checkbox */
    margin-right: 5px; /* Adjust as needed */
}

#consent + label { /* Style for the label text */
    /* ...your existing styles... */
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f0f0f0;
    padding: 15px;
    text-align: center;
    z-index: 100; /* Ensure banner appears on top */
}

#cookie-accept {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in; 
}
.fade-in.show {
    opacity: 1;
}


/* Media Query for Mobile Responsiveness */
@media (max-width: 768px) { 
    .intro-and-image {
        flex-direction: column; /* Stack image and text vertically on mobile */
    }

    .profile-image-container {
        width: 100%;
        margin: 0 auto 20px; /* Center image and add bottom margin */
        text-align: center; /* Center the image within the container */
    }

    .intro-text {
        width: 100%; /* Make intro text full width on mobile */
    }

    nav ul {
        flex-direction: column; /* Stack navigation items vertically */
        align-items: center;
    }

    nav li {
        margin: 10px 0; /* Adjust vertical margin for stacked items */
    }
}

#media-banner {
    position: relative;
    overflow: hidden;
}

.media-container {
    display: flex; /* Use Flexbox for easy horizontal arrangement */
    justify-content: space-around; /* Distribute items evenly */
}

.banner-media {
    width: 32%; /* Adjust as needed for spacing/responsiveness */
    height: auto;  
    object-fit: cover; /* Cover the container while maintaining aspect ratio */
}

.left-image {
    order: -1; /* Position this image on the left */
}

/* Overlay Styles (to keep header visible) */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    align-items: center;
    color: white; /* Ensure text is visible on the dark background */
}

/* Media Query for Mobile Responsiveness - Removed */
/*@media (max-width: 768px) { 
    nav ul {
        flex-direction: column;  
        align-items: center;
    }
    
    nav li {
        margin: 10px 0;  
    }
    
    nav a {
        display: block;  
        width: 100%;
        text-align: center;
    }
}*/

@media (max-width: 768px) {
    header {
        top: 100px; /* Adjust for mobile */
    }
}