/* styles.css */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Set minimum height to 100% of the viewport height */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #060097;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header img {
    max-width: 200px;
}

header p {
    margin: 0.5em 0;
    font-size: 1.2em;
}

nav {
    background-color: #555;
    padding: 1em;
    text-align: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 1em;
}

main {
    flex-grow: 1; /* Allow main to grow and take remaining space */
    padding: 1em;
}

footer {
    background-color: #F2F5F7;
    color: #000;
    text-align: center;
    padding: 1em 0;
}

footer div {
    flex-basis: calc(33.3333% - 2em);
    margin: 1em;
}

footer img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1em;
}

@media only screen and (max-width: 600px) {
    footer {
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (min-width: 601px) {
    footer {
        display: flex;
        flex-wrap: wrap; /* Ensure items wrap to the next line if necessary */
        justify-content: space-evenly;
        align-items: center; /* Vertically center items */
    }

    footer div {
        flex-basis: 30%;
    }
}