body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    max-width: 1920px;
    margin: 0;
    box-sizing: border-box;
    position: relative;
}

body .mobile {
    display: none;
}
p, h1, h2, h3, h4 {
    opacity: .8;
}

.sectionheading {
    text-align: center;
    margin-top: 0;
    margin-bottom: 16px;
}

nav .desktop {
    display: flex;
    height: 64px;
    padding: 0 24px;
    justify-content: space-between;
    align-items: center;
}

.home-button img {
    display: inline;
        vertical-align: middle;

}

.home-button p {
    display: inline;
    line-height: 32px;
    text-align: center;
}

.home-button span {
    font-weight: 700;
}

.menu-list ul {
    display: flex;
    list-style: none;
}

.menu-list ul li {
    margin-left: 16px;
}

/* MAIN CONTENT */

/* BANNER */

.banner {
    background-color: lightgray;
    display: flex;
    align-items: center;
    padding: 32px 0 32px 0;
    margin: auto;
}

.banner .image-container {
    flex: 0 0 60%;
    margin-left: 24px;
}

#students {
    width: 100%;
    height: auto;
}

.banner .text-container {
    flex: 0 1 40%;
    display: flex;
    flex-direction: column;
    margin-left: 24px;
    padding-right: 16px;
}

.button {
    text-align: center;
    font-weight:600;
    color: white;
    background-color: #444;
}

/* SECTION 1 & 3 */

.quote-event, .video-section {
    display: flex;
    padding-bottom: 32px;
    margin: auto;
    align-items: flex-start;
    position: relative;
}

.quote-container, .video-container {
    display: flex;
    flex-direction: column;
    flex: 0 0 60%;
    overflow: hidden;
    margin-left: 24px;
    padding-top: 16px;
}

#reader, video {
    width: 100%;
    height: auto;
}

.quote-container .text-container {
    flex-grow: 2;
}

#credit {
    position: absolute;
    margin-bottom: 32px;
    bottom: 0;
}

.event-container, .desktop-only-container {
    display: flex;
    flex-direction: column;
    padding-left: 24px;
    flex: 0 1 40%;
    }

.event:hover, .exhibit:hover {
    background-color: lightgray;
}

.event-container .event, 
.desktop-only-container .exhibit-container {
    display: flex;
    flex: 0 0;
    padding: 16px;
    border-color: gray;
    align-items: flex-start;
    justify-items: flex-start;
    }

.event .image-container,
.desktop-only-container .exhibit {
    flex: 1 0 35%;
    align-items: flex-start;
}
.event .image-container img,
.desktop-only-container .exhibit .eventimage {
    width: 100%;
    height: auto;
    min-width: 0;
}

.infotext {
    padding: 0 16px;
    flex: 1 1 65%;
    }

.infotext h3 {
    margin-top: 0;
}


/* SECTION 2 */

.courses-container {
    background-color: lightgrey;
    padding: 32px 0;
    margin-bottom: 32px;

}

.course-flex {
    padding: 0 72px;
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
}

.course {
    background-color: white;
    width: 30%;
    margin: 16px;
    overflow: hidden;
}

.course h3, .course h4, .course p {
    padding: 0 10px;
}

.courseimg {
    height: auto;
    width: 100%;
}


footer {
    margin: 16px 24px;
    display: flex;
    justify-content: space-between;
}

.footerlinks {
    position: right;
}

@media only screen and (max-width: 750px) {

    body {
        max-width: 750px;
        font-size: 12px;
    }

    body .desktop {
    display: none;
}

body .mobile {
    display: flex;
}

.nav div .mobile {
    display: flex;
    height: 64px;
    padding: 0 24px;
    width: 100%;
}

.mobile-list {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

.mobile-list li {
    line-height: 64px;
}

.mobile-list li img {
    vertical-align: middle;
}

.banner {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    overflow: hidden;
    flex: none;
    width: 100vw;
}

.banner .image-container {
    max-width: 100%;
    margin: 0;
    flex-basis: auto;
    flex: none;

}

.banner .text-container {
    margin: 0;
    padding: 32px 16px;
    flex-basis: auto;
    flex: none;
}

.banner .text-container h1 {
    margin: 0 0 16px 0;
}

.banner .text-container h3 {
    margin: 16px 0 12px 0;
}

.banner .text-container .button {
    margin-top: 12px;
}

.event-container {
    flex: none;
    justify-content: center;
    margin: 0;
    width: 100vw;
}

.event-container .event {

    flex: none;
    flex-direction: column;
    align-items: center;
    padding: 16px 16px 32px 16px;

}

.event .image-container {
    position: relative;
    overflow: hidden;
}

.event .image-container img {
      
}

.courses-container {
    background-color: white;

}
.course-flex {
    flex-direction: column;
    padding: 0 0;
    align-items: center;
}
.course {
    padding: 16px 0 16px 50px;
    font-size: large;
    text-align: left;
    background-color: lightgray;
    width: 90vw;
    margin: 8px 12px;

}

}