
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

a {
    color: #121040;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    background: #121040;
    color: white;
    padding: 10px 15px;
    z-index: 1000;
    text-decoration: none;
    border-radius: 0 0 5px 0;
    transform: translateY(-100%);
}

.skip-link:focus {
    transform: translateY(0);
}


header {
    text-align: center;
    background-color: #121040;
    color: white;
    padding: 28px 0;
}

header #site-title {
    font-size: 3rem;   
    font-weight: bold;
    margin: 0;          
    line-height: 1.1;
}

@media (max-width: 600px) {
    header #site-title {
        font-size: 2.5rem;
    }
}

nav {
    width: 100%;
    text-align: center;
    margin-top: 0px;     
    background-color: #121040;
    padding: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
}

nav li {
    margin: 5px 0;          
}

nav a {
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
}

nav a:hover,
nav a:focus {
    background-color: #453e63;
    border-radius: 5px;
}

@media (min-width: 600px) {
    nav ul {
        flex-direction: row;   
    }

    nav li {
        margin: 0 20px;     
    }
}


main {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    margin-bottom: 40px;
}

ul, ol {
    padding-left: 1.5rem;
}


footer {
    text-align: center;
    background-color: #121040;
    color: white;
    padding: 20px 10px;
    font-size: 1rem;
}

footer a {
    color: white;
    font-weight: bold;
}

footer a:hover,
footer a:focus {
    text-decoration: underline;
}



.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#paragraph2 {
    text-align: center;       /* center content */
    font-size: 1.2rem;        /* slightly larger text */
    margin: 60px auto 40px;   /* push down from above content and give bottom space */
    max-width: 800px;         /* keep it from stretching too wide */
    padding: 20px;
    background-color: #534b76; /* light highlight color */
    border-radius: 10px;      /* rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* subtle shadow */
}

#paragraph2 h2 {
    font-size: 2rem;          /* make the heading bigger */
    margin-bottom: 15px;
    color: #f4f4f4;
}

#paragraph2 p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

#paragraph2 ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column; /* stack on mobile */
    gap: 10px;
    align-items: center;
    color: white;     /* center horizontally */
}

#paragraph2 ul li {
    font-size: 1.1rem;
}

#paragraph2 ul li a {
    font-weight: bold;
    color: #f4f4f4;
}

@media (min-width: 600px) {
    #paragraph2 ul {
        flex-direction: row;    /* horizontal layout on larger screens */
    }
    #paragraph2 ul li {
        margin: 0 20px;        /* spacing between links */
    }
}
