﻿/* Make sure the body takes up the full height of the screen */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* styles.css */
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #2b0f4c; /* Dark color for text */
}

body {
    padding-top: var(--navbar-height); /* Ensure content starts below the fixed navbar */
    background-color: #ffffff; /* Background color for the entire page */
    font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}


#section_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
}

/* This section wraps everything below the header and is flexible */
#main_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: var(--navbar-height);*/ /* Adds space for the fixed navbar */
}


    /* Adjust the content section's height dynamically */
    #section_page {
        flex: 1;
        overflow-y: auto;
        background-color: #f8f9fa;
    }



    /* Footer stays at the bottom */
    #section_footer {
        background-color: #333;
        color: #fff;
        padding: 20px;
        text-align: center;
    }


/* Make sure the body takes up the full height of the screen */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#section_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
}

/* Main content wrapper */
#main_content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Adjust the content section's height dynamically */
#section_page {
    flex: 1;
    overflow-y: auto;
    background-color: #f8f9fa;
}

/* Footer Styling */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: left;
    width: 100%;
}

    .footer .row {
        display: flex;
        justify-content: flex-start; /* Aligns the items to the left */
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }

.footer-text {
    margin-bottom: 10px;
    text-align: left;
}

.bottom_nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Aligns the items to the left */
    padding: 0;
    margin: 0;
}

    .bottom_nav ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start; /* Aligns the list items to the left */
        align-items: center;
    }

    .bottom_nav li {
        margin: 5px 10px;
    }

    .bottom_nav a {
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
    }

        .bottom_nav a:hover {
            color: #1e90ff;
        }

/* Center the copyright text */
.footer p.text-center {
    margin-top: 20px;
    font-size: 12px;
    opacity: 0.7;
    text-align: left; /* Aligns copyright text to the left */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .footer .row {
        flex-direction: column;
        align-items: flex-start; /* Align items to the left on mobile */
    }

    .bottom_nav ul {
        flex-direction: column;
        align-items: flex-start; /* Align items to the left on mobile */
    }

    .bottom_nav li {
        margin: 8px 0;
    }

    .footer-text {
        text-align: left; /* Keep footer text left-aligned on mobile */
    }

    .footer p.text-center {
        font-size: 14px;
        text-align: left; /* Keep the copyright left-aligned on mobile */
    }
}
