/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Bebas+Neue&display=swap');

/* Global styles */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: #ffffff;
    color: #000000;
}

/* Headings */
h1 {
    font-family: 'Bebas Neue', sans-serif;
    color: #0463a3;
    letter-spacing: 1px;
    font-size: 2rem;
    text-align: center;
    margin: 1rem 0;
}

h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: #553393;
    letter-spacing: 1px;
    font-size: 1.5rem;
    margin: 1rem 0;
}

/* Navigation bar */
nav {
    background-color: #0463a3;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Wrap on smaller screens */
}

nav ul li {
    margin: 5px 10px;
}

nav ul li a {
    font-family: 'Lato', sans-serif;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    padding: 8px 12px;
    transition: background-color 0.3s, color 0.3s;
    display: block;
    text-align: center;
}

/* Hover effect: inverse colors */
nav ul li a:hover {
    background-color: #ffffff;
    color: #0463a3;
    border-radius: 5px;
}

/* Main content area */
main {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Grey content div */
.greydiv {
    background-color: #f9f9f9;
    border-radius: 25px;
    padding: 15px;
    width: 90%;
    max-width: 800px;
    margin: 15px auto;
}

/* Footer */
footer {
    background-color: #0463a3;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    padding: 20px;
    text-align: center;
}

footer p {
    margin: 5px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    .greydiv {
        width: 95%;
        padding: 10px;
    }

    main {
        padding: 15px;
    }
}
