/* styles.css */

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Dosis', sans-serif;
    height: 100%;
    background: url('images/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333; /* Fully opaque background */
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.logo {
    max-width: 250px; /* Maximum width for the logo */
    margin-right: 20px; /* Add some space to the right of the logo */
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    width: 100%;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-grow: 1;
}

nav ul li {
    flex: 1;
    text-align: center;
}

nav ul li a {
    display: block;
    color: white;
    padding: 14px 0;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: #111;
}

main {
    padding-top: 70px; /* Default padding to be adjusted dynamically */
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

section {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Adding some background to make text readable */
    margin: 20px auto; /* Center the sections horizontally */
    border-radius: 10px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px; /* Maximum width for the sections */
}

footer {
    background-color: #333; /* Fully opaque background */
    color: white;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-content a {
    color: white;
    margin: 5px;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-content .social-media,
.footer-content .contact-info,
.footer-content .sitemap {
    margin: 10px 0;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    .logo {
        margin-bottom: 10px;
    }
    nav {
        width: 100%;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    nav ul li {
        width: 100%;
    }
    nav ul li a {
        padding: 10px 20px;
    }
}
