body {
    background-color: white;
    color: #333;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

main {
    margin: 1em;
    padding: 0;
}


header {
    background-color: #333;
    color: #fff;
    padding: 1em;
    text-align: center;
}

header nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;    
}

a {
    color: black;
    text-decoration: none; /* To remove underline */
}

header a {
    color: white;
    text-decoration: none; /* To remove underline */
}

a:hover {
    /* change link color on hover */
    color: lightgray;
}




.vertical-links {
    display: flex;
    justify-content: space-between;
    padding: 1em;
    background-color: #333;
}


.vertical-links a {
    margin-bottom: 1em;
    text-decoration: none;
    color: white;
}

.vertical-links div {
    display: flex;
    flex-direction: column;
}

.vertical-links a:hover {
    color: #666;
}



/* Media query for mobile devices */
@media (max-width: 600px) {
    header nav ul {
        align-items: center; /* Center items horizontally */
        flex-direction: column; /* Stack items vertically */
    }

    header nav ul li {
        margin: 0.5em 0; /* Add space between items */
        text-align: center; /* Center text within each item */
        width: 100%; /* Ensure each item takes full width */       
    }
}
