body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    padding: 10px;
}

h1 {
    font-size: 2em;
    font-weight: bolder;
}

h2 {
    font-size: 1.5em;
    font-weight: bolder;
}

h3 {
    font-size: 1.17em;
    font-weight: bolder;
}

h4 {
    font-size: 1em;
    font-weight: bolder;
}

h5 {
    font-size: .83em;
    font-weight: bolder;
}

small {
    font-size: 80%;
}

strong {
    font-weight: bold;
}

header {
    height: 75px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background-color: #fff;
}

header h1 {
    display: inline-flex;
}

nav {
    margin: 0 10px 0 auto;
}

nav ul li {
    display: inline-block;
    text-decoration: underline;
    padding: 0 10px;
}

a:link, a:visited, a:hover, a:active {
    color: #000;
}

header img {
    height: 50px;
}

main {
    position: relative;
    top: 75px;
    text-align: center;
}

section {
    padding: 20px;
    line-height: 1.5;
}

aside {
    line-height: 2;
    height: 200px;
}

.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.team-member {
    margin: 10px;
    width: 200px;
}

.team-member img {
    height: 200px;
    width: auto;
    margin: 10px 0;
    border-radius: 5px; 
}

.photo {
    background-color: #f3f3f3;
    border-radius: 5px; 
    padding: 20px 5px;
    margin: 5px;
}

.photo small {
    display: block;
}

@media only screen and (max-width: 600px ) {
    .team-members {
        flex-direction: column;
        align-items: center;
    } 

    header h1 {
        font-size: 1.5em;
    }
}