html {
    scroll-behavior: smooth;
    font-size: 22px;
    line-height: 26px;
    font-family: 'Cormorant Garamond', 'Times New Roman', Times, Georgia, serif;
    font-weight: 300;
}

body {
    background-color: #fff;
    color: #111;
}

h1, h2, h3, h4, h5, h6, strong {
    color: #000;
    font-weight: 700;
}

img {
    /*
     * filter: grayscale(100%);
     */
    transition: filter 0.5s ease-in-out;
}

img:hover,
img:active {
    filter: none;
}

section,
header {
    overflow: auto;
}

header, 
main,
footer {
    width: 95%;
    margin: 0 auto;
    overflow: auto;
}

footer {
    padding-bottom: 2rem;
}

a, a:visited {
    color: #1c508c;
}

header nav h1 {
    margin: 0 1rem;
}

header h1 a {
    background-image: url(/img/logo-opt.png);
    background-repeat: no-repeat;
    background-size: contain;
    text-indent: -999999em;
    width: 4.5rem;
    height: 4.5rem;
    padding: 0;
}

h3,
section {
    border-style: solid;
    border-color: rgba(128, 128, 128, .05);
    border-width: 1px 0 0 0;
}

h2 {
    text-align: center;
    margin: 2rem 0;
}

h3 {
    font-size: 1.56rem;
    text-align: center;
    padding-top: 4rem;
    margin-top: 0;
}

p.center {
    text-align: center;
}

section::before {
    display: block;
    content: '';
    height: 1rem;
    background-image: radial-gradient(farthest-side at center top, rgba(200, 200, 200, 0.1) 0%, transparent 100%);
}

footer h4 {
    margin-bottom: 2rem;
}

footer em {
    color: lightgrey;
}

footer p {
    margin-top: 3rem;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    line-height: 1.5em;
}

article li::before {
    content: "• ";
    color: #ccc;
}

ul ul {
    margin-left: 1em;
}

.masonry { 
    overflow: hidden;
    padding-bottom: 1rem;
}

.masonry > * {
    width: 100%;
    margin: 0 0 15px 0;
    float: left;
}

.masonry > p {
    font-style: italic;
    text-align: center;
    margin: 15px 0 1rem 0;
    width: 100%;
}

.masonry > h4 {
    margin-top: 1.5rem;
    width: 100%;
}

h4::after {
    content: 'Key Project';
    float: right;
    color: lightgray;
    font-weight: 400;
    font-size: 0.8rem;
    font-style: italic;
}

.products h4::after {
    content: 'Products';
}

@media (min-width:980px) {
    html {
	font-size: 25px;
	line-height: 30px;
    }

    header, 
    main,
    footer {
        width: 960px;
    }

    .masonry > * {
	margin: 0 15px 15px 0;
    }

    .masonry > .right {
	float: right;
	margin-right: 0;
    }

    .masonry > img {
	width: 310px;
	float: left;
    }

    .masonry > .col--half {
	width: 472.5px;
    }

    .masonry > .col--three-quarters {
	width: 720px;
    }

    .masonry > .col--quarter {
	width: 225px;
    }

    .masonry > .col--2 {
	width: 635px;
	height: 428px;
    }

    .masonry > .col--3 {
	width: 960px;
    }

    footer p {
        margin-top: 1rem;
        width: calc(50% - 2rem);
    }
    footer p:nth-of-type(odd) {
        float: left;
    }
    footer p:nth-of-type(even) {
        float: right;
    }

}

@media (min-width:1200px) {
    header, 
    main,
    footer {

    }
}




