/* general section setup */
main {
    width: 90vw;
    margin: 3vh auto 10vh;
    min-height: 50vh;
} @media screen and (min-width: 600px) {
    /* on large screens, if elements doesnt have class "full"
        its width will be 70% */
    main:not(.full) {
        width: 70vw;
    }
}

hr {
    color: #b6acaa;
}

ol {
    list-style:upper-roman;
}

/* content title and subtitle */
.title {
    text-align: center;
    margin-bottom: 3%;
} .title * {
    margin: 0;
} .title h1 {
    font-size: 5em;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-variant: small-caps;
} .title h2 {
    font-size: 2.5em;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1em;
}

/* expand section element to take up entire width of main element */
/* section element should hold main text */
section {
    width: 100%;
    line-height: 1.5;
}

/* styles for photo gallery */
.photos {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
}

.photo {
    flex: 0 1 45%;
    margin-bottom: 5%;
    text-align: center;
} .photo * {
    width: 100%;
}

/* styles for officer list/photos */
.officers {
    display: flex;
    justify-content: space-evenly;
}

.officer {
    /* sets base width of each officer to 20% body width so they all fit in a row with nice gaps */
    flex: 0 1 22%;
    margin-bottom: 10%;
} .officer * {
    margin: 0;
} .officer div {
    margin-top: 5%;
} .officer img {
    width: 90%;
}

img:not(.logo, .skyline) {
    border: 1px solid lightgrey;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 0 2px 1px lightgrey;
}

/* Utility Classes */

.twoCols {
    column-count: 2;
    gap: 5%;
}

.float-left {
    float: left;
    width: 40%;
    margin: 0 20px 20px 0;
}

.float-right {
    float: right;
    width: 40%;
}

.clear {
    clear: both;
}