@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;600&display=swap');

body  {
    font-family: 'Montserrat', sans-serif;
    font-size: large;
    font-weight: 200;
    text-align: left;
    color: rgb(66, 66, 66);
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

p {
    text-align: justify;
}

b {
    font-weight: 600;
}

ul {
    list-style-type: none;
    padding: 0;
}

a {
    text-decoration: none;
}

i {
    font-size: 1em;
    margin-right: 1em;
}

header {
    background-color: rgb(0,85,124);
    color: white;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: baseline;
}

#content {
    display: flex;
    flex-direction: column;
    margin-left: 2rem;
    margin-right: 2rem;
}

nav {
    /* Content is centered horizontally */
    display: flex;
    justify-content: space-between;
    /* Reset styles */
    margin: 0;
}

footer {
    font-size: smaller;
    background-color: rgb(0,85,124);
    color: white;
    display: flex;
    align-items: end;
    justify-content: space-between;
    /* Reset styles */
    padding: 0.5rem 1rem;
}

footer b {
    letter-spacing: .05rem;
}

footer a {
    color: white;
}

header a {
    margin: 0.5rem 1rem; 
    color: white;
    text-decoration: none;
    font-weight: 200;
    align-self: flex-end;
}

nav a:first {
    margin-left: 0;
    margin-right: auto;
    justify-self: start;
}

a.active {
    font-weight: 400;
}

nav a:hover {
    color: white;
    font-weight: 400;
}

.topNav .icon {
    display: none;
}

@media screen and (max-width: 600px) {
    body {
        font-weight: 300;
    }
    nav {
        flex-direction: column;
        justify-content: flex-start;
    }
    .topNav a:not(:first-child) { display: none;}
    .topNav a.icon {
        float: right;
        display: block;
    }
    footer {
        flex-direction: column;
        align-items: start;
    }
    footer .copyright {
        margin-top: 1rem; 
        font-size: smaller; 
        width: 100%; 
        text-align: center;
    }
} 

@media screen and (max-width: 600px) {
    .topNav.responsive {
        position: relative;
        background-color: black;
    }
    .topNav.responsive.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topNav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}
