html, body {
    height: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: #ffffff; /* Body has a white background or any color different from the footer */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General link styles */
a:link {
    color: #0f30ac; /* Default color for unvisited links */
    text-decoration: underline;
}

a:visited {
    color: #8b00ff; /* Purple color for visited links */
    text-decoration: underline;
}

a:hover {
    color: #006cff; /* Hover color */
    text-decoration: underline;
}

a:active {
    color: #ffffff; /* Color when active */
    text-decoration: underline;
}

h1, h2 {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px; /* Reduced margin-bottom for headings */
    color: #000000 !important;
}

h3 {
    font-size: 18px;
    margin-bottom: 12px; /* Reduced margin-bottom for headings */
    color: #122355 !important;
}

h4 {
    margin-bottom: 16px; /* Reduced margin-bottom for headings */
    font-size: 16px;
}

#header {
    padding-top: 20px; /* Reduced padding-top for header */
    padding-bottom: 15px; /* Reduced padding-bottom for header */
    text-align: center;
}

#header img {
    width: 75%; /* 75% of the screen width */
    max-width: 800px; /* Maximum width to ensure it doesn't grow too large on big screens */
}

#menu_launch_page {
    background-image: url(img/tabs_bg.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 48px;
    margin-bottom: 15px; /* Reduced margin for better spacing below */
    padding: 8px 0; /* Reduced padding for spacing within the menu */
}

#lowerContainer {
    position: relative;
    width: 100%;
    padding: 10px 0; /* Reduced padding for lower container */
}

#content {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.6em;
    text-align: center;
    padding: 0 20px;
    background-color: #ffffff; /* Ensure content has body background */
}

.tableParagraph {
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.btn {
    background-color: #28a745; /* Green color */
    color: white !important; /* Ensure white text inside buttons */
    padding: 12px 25px; /* Reduced padding inside buttons */
    text-decoration: none !important;
    font-size: 18px;
    border-radius: 5px;
    border: none;
    display: inline-block;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin: 8px; /* Reduced margin around buttons */
}

.btn:hover {
    background-color: #218838; /* Darker green on hover */
    text-decoration: none !important; /* Ensure no underline on hover */
    color: white !important; /* Keep text white on hover */
}

.button-container {
    display: flex;
    justify-content: center; /* Centers the buttons */
    gap: 20px; /* Reduced space between buttons */
    flex-wrap: wrap; /* Allows buttons to wrap on smaller screens */
    padding: 15px 0; /* Reduced padding for button container */
}

.alert {
    font-size: 18px;
    line-height: 1.8;
    margin-top: 20px; /* Reduced space between buttons and the alert */
    color: #ff0000;
    font-weight: bold;
}

/* Footer Styling */
#footer {
    margin-top: 30px; /* Reduced margin-top for footer */
    padding: 15px; /* Reduced padding inside footer */
    background-color: #f1f1f1; /* Footer background color */
    text-align: center;
    font-size: 14px;
}

/* Footer paragraph */
#footer p {
    margin: 8px 0; /* Reduced margin for paragraphs in footer */
}

.footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Footer Links */
#footer a {
    color: #0f30ac;
    text-decoration: none;
    margin: 0 4px; /* Reduced margin between footer links */
    white-space: nowrap; /* Prevent links from breaking mid-word */
}

#footer a:hover {
    color: #006cff;
    text-decoration: underline;
}

/* Separators */
.separator {
    color: #0f30ac;
    margin: 0 4px; /* Reduced margin for separators */
}

/* Remove last separator */
.footer-links a:last-child + .separator {
    display: none;
}

/* Design line above footer */
.footer-line {
    width: 80%;
    margin: 15px auto; /* Reduced margin for the footer line */
    border: 0;
    border-top: 2px solid #ccc;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    #footer {
        font-size: 12px;
    }

    #footer a {
        margin: 4px; /* Reduced margin between footer links on small screens */
    }

    .footer-links {
        flex-direction: column; /* Stack links vertically on smaller screens */
    }

    .separator {
        display: none; /* Hide separators on mobile */
    }
}

/* Apply footer styling to any section below it */
.below-footer {
    background-color: #f1f1f1; /* Same background color as footer */
    padding: 20px; /* Add padding to sections below the footer */
    text-align: center;
    font-size: 14px;
}
