html {
    scroll-behavior: smooth;
  }
  

:root {
    --primary-color: rgb(56, 88, 137);
    --secondary-color: #F5F5F5;
    --text-color: #333;
    --link-focus: #4A90E2;
}

/* General Styles */
body {
    font-family: 'Roboto', system-ui, -apple-system, sans-serif;
    background-color: #9990;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

h3 {
    color: #000;
}

.header-content {
    position: relative;
    bottom: 10px;
}

/* Banner/Header Styles */
#mast {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-color);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 120px;
    box-sizing: border-box;
}

/* Main Content Area */
main {
    margin-top: 70px;
    padding: 50px;
    padding-bottom: 75px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

/* Question Container */
#question-container {
    background: #F5F5F5;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: calc(100vh - 330px);
    box-sizing: border-box;
    position: relative;
    top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Custom scrollbar */
#question-container::-webkit-scrollbar {
    width: 12px;
}

#question-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
    border: 3px solid var(--primary-color);
}

#question-container::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 10px;
}

/* Question Text */
#question-container p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #000;
  
}

/* Answer Buttons */
#question-container button {
    background: #fff;
    color: var(--primary-color);
    border: solid 2px var(--primary-color);
    border-radius: 5px;
    padding: 10px 20px;
    margin: 25px 5px 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
    max-width: 500px;
    display: block;
    width: 300px;
}

#question-container .button-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#question-container button:hover {
    transform: scale(1.05);
}

.back-button {
    float: right;
    background: rgba(0, 0, 0, 0.84) !important;
    padding: 5px 10px;
    width: auto !important;
    color: white !important;
}

/* Navigation Buttons */
#navigation-buttons {
    margin-top: 20px;
}

#navigation-buttons button {
    background: #f0f0f0;
    color: rgb(228, 47, 167);
    border: 1px solid rgb(153, 17, 66);
    border-radius: 5px;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

#navigation-buttons button:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Logo Link */
.logo-link {
    background: url(../images/west_white_logo.svg) transparent no-repeat;
    width: 300px;
    height: 60px;
    margin: 15px 0;
    float: left;
    display: inline;
    background-size: contain;
    bottom: 200px;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    #mast {
        height: 100px;
    }

    main {
        margin-top: 40px;
        height: calc(100vh - 100px);
        padding: 10px;
    }

    #question-container {
        max-height: calc(100vh - 150px);
        width: 95%;
        margin: 0 auto;
    }

    .logo-link {
        width: 200px;
        height: 40px;
    }
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Focus States */
button:focus,
a:focus {
    outline: 3px solid var(--link-focus);
    outline-offset: 2px;
}

footer {
    background-color: #000000; /* Dark background color */
    color: #ffffff; /* White text color */
    padding: 20px 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}
footer ul {
    padding: 0;
    margin: 0 0 20px 0;
    list-style: none;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
}

footer ul li a:hover, footer ul li a:focus {
    text-decoration: underline;
}

footer #social h4 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color:#ffffff
}

footer #social ul {
    display: flex;
    justify-content: center;
    padding: 0;
}

footer #social ul li {
    margin: 0 10px;
}

footer #social ul li a {
    display: block;
    width: 36px;
    height: 36px;
}

footer #social ul li a svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
}

footer #social ul li a:hover svg, footer #social ul li a:focus svg {
    fill: #c0c0c0; /* Slightly lighter on hover */
}

footer .footer-links {
    margin-top: 20px;
}

footer .footer-links a {
    display: inline-block;
    margin: 5px 10px;
    color: #ffffff;
}

footer .footer-links a:hover, footer .footer-links a:focus {
    color: #c0c0c0; /* Slightly lighter on hover */
}

/* Accessibility Enhancements */
footer a:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    footer {
        padding: 10px 0;
    }

    footer ul li {
        display: block;
        margin: 10px 0;
    }

    footer #social ul {
        flex-direction: column;
    }

    footer #social ul li {
        margin: 5px 0;
    }
}
