body {
    margin:0;
    background-color: #e5e9e9;
}

nav {
    display: flex;
    background-color: #3769b1;
    justify-content: flex-start;
}

#standardNavbar ul {
    display: flex;
    align-items: flex-end;
}

#standardNavbar li {
    display: inline;
    color: #e5e9e9;
    padding: 10px 10px 0px;
    flex-basis: 220px;
    margin-bottom: 0;
}

#homeLogo {
    max-height: 100px;
}

.navlink {
    color: #e5e9e9;
    text-decoration: none;
    font-size: 21px;
    font-weight: bold;
    font-family: 'PT Sans', sans-serif;
}

.navlink:hover {
    text-decoration: underline;
}

#aboutlink {
    position:relative;
    left:20px;
}

#mobileTop {
    position: fixed;
    display:none;
    top:0;
    height: 60px;
    width: 100%;
    background-color: #3769b1;
    z-index: 1;
}

#mobileHomeLogo {
    position: relative;
    height: 100%;
    float:left;
 
}

#menuButton {
    position: relative;
    height:50%;
    float: right;
    padding: 5px;
    margin: 6px;
    border: 3px solid #e5e9e9;
    border-radius: 8px;
    background-color: #25334F;
}

#menuButton:hover, #menuButton:active {
    background-color: #6e718f;
}

#mobileNavbar {
    position: fixed;
    display:block;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    transform-origin: top;
    top:60px;
    width: 100%;
    transform: scaleY(0%);
    transition: 1s;
    z-index: 2;
}

#mobileNavbar a {
    position: relative;
    text-decoration: none;
    display: block;
    list-style: none;
    text-align: left;
    padding-left: 10%;
    font-family: 'PT Sans', sans-serif;
}

#mobileNavbar a:hover {
    background-color: #25334F;
}

.titleblock {
    position: relative;
}

.pagetitle {

    font-size: 2.9em;
    color: #3769b1;
    text-align: center;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    text-shadow: 1px 2px #25334F;
    margin:20px 20px 0px;
}

.pagesubtitle {
    font-size: 2.4em;
    color: black;
    text-align: center;
    font-family: 'Merriweather', serif;
    font-weight: 600;
    margin:0;
}

main {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

li {
    list-style: none;
    font-size: 1.5em;
    font-family: 'Merriweather', serif;
    margin:5px 0;
}

p {
    position: relative;
    top: 20px;
    font-size: 1.4em;
    font-family: 'Merriweather', serif;
    margin:15px;
}

.thumbnail {
    cursor: pointer;
}

.titlelist {
    flex-shrink:1;
    width: 50%;
}

.titleimg img {
    max-width: 600px;
    min-width: 350px;
    padding:20px 20px 20px 0;
}

.pagecontent {
    display: flex;
}

#icf01 {
    display: flex;
    align-items: center;
    background-color: white;
}
#icf01 ul{
    padding-top: 30px;
    padding-right:10px;
}

#explanation {
    padding-right:15px;
    
}

h4 {
    font-size: 2em;
    color: black;
    text-align: center;
    font-family: 'PT Sans', sans-serif;
    font-weight: 600;
    text-decoration: underline;
    margin-bottom: 10px;
}

#icfmaterials p {
    font-family: 'PT Sans', sans-serif;
    text-align: center;
    top:0px;
}

.footercontainer {
    position: relative;
    display: block;
    width: 100%;
    padding:15px;
    background-color: #3769b1;
    color:#e5e9e9;
    font-size: 12px;
    line-height: 18px;
}

.footercontainer a {
    color:#e5e9e9;
}

@media (max-width:900px) {
    #mobileTop {
        display: block;
    }
    #standardNavbar {
        display:none;
    }
    .titleblock {
        top: 60px;
        margin-bottom: 60px;
    }
    .pagetitle {
        font-size: 2.4em;
    }
    .pagesubtitle {
        font-size: 1.9em;
    }
    #icf01 {
        flex-direction: column-reverse;
    }
    .titleimg img {
        width: 90%;
        margin: auto;
        padding: 15px;
    }
    .titlelist {
        width:100%;
        margin: auto;
        padding-bottom: 15px;
    }
    .thumbnail {
        width: 95%;
    }
    #icf01 ul {
        padding-top: 0;
        padding-left: 20px;
    }
    .pagecontent {
        flex-direction: column;
    }
    #icfmaterials div{
        align-items: center;
    }
    iframe {
        width: 90%;
    }
    .footercontainer {
        top:60px;
    }
}

@media (max-width:600px){
    .footerlinks {
        display:flex;
        flex-direction: column;
        max-width: 200px;
        padding-left:15px;
    }
    .footercontainer {
        padding:15px 0 15px 0;
    }
    .footercontainer span {
        padding-left:15px;
    }
}