
h2, h3, h4, p {
    font-family: 'Courier New', Courier, monospace;
}

html {
    background-color: #e2e2e2;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
}

div#contentWrapper {
    margin: auto;
    width: max(50%, 900px);
    background: #e8e8e8;
    border-radius: 10px;
}

img#banner {
    display: block;
    margin: 2% auto;
    /* width: 100%; */
}

img#groupPic {
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-evenly;
    position: sticky;
    top: 0;

    background-color: #e8e8e8bb;
}

div.nav-item {
    padding: 2%;
}

div.nav-item:hover {
    transition: .2s;
    background-color: #e8e8e8;
}

div#tiles {
    display: flex;
    flex-direction: row;
}

div.container {
    margin: 2em;
    margin-top: 0;
    display: flex;
    flex-direction: column;    
}

div.container#calendarContainer {
    display: flex;
    flex-direction: column;
    align-items: center;    
}

div.container#calendarContainer > h2 {
    align-self: start;
}

footer {
    padding: 2em;
    color: black;
    background-color: #e7e7e7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer a {
    color: black;
}

footer img {
    width: 150px;
}

/* mobile view */
@media only screen and (max-width: 900px) {
    h2 {
        margin: .5em 0;
    }

    img#banner {
        width: 90vw;
    }

    div#contentWrapper {
        width: 100%;
    }

    div#contentWrapper div#tiles {
        flex-direction: column-reverse;
    }

    div#tiles div.container iframe {
        margin: 0 auto;
        width: auto !important;
    }

    div#tiles div.container {
        width: auto;
        margin: 0;
        padding: 0 1em;
    }

    div#calendarContainer {
        margin: 0;
        padding: 1em;
    }

    div#calendarContainer iframe {
        width: 100%;
    }

    footer {
        font-size: .75em;
    }

    footer img {
        width: 120px;
    }
}
