* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #53667B;
    font-weight: 400;
    scroll-behavior: smooth;
}

.row {
    position: relative;
    overflow: hidden;
    text-align: left;
    padding: 16px 0px;
}

a {
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

.fl { float: left; }
.fr { float: right; }

p {
    color: #899091;
    font-weight: 300;
}

.container {
    max-width: 68em;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    position: relative;
}

h1, h2, h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #455667;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.25rem;
}


header {
    padding: 0 3.75em;
    position: relative;
    overflow: hidden;
}

.logo {
    background-image: url('./img/logo.svg');
    background-size: 6.875em 2.25em;
    background-repeat: no-repeat;
    background-position: center center;
    height: 2.25em;
    width: 6.875em;
    margin-top: 0.75em;
}

header a {
    line-height: 4em;
    margin-left: 3.75em;
    font-weight: 300;
    padding-top: 22px;
}

header a:hover {
    color: #455667;
    border-top: 4px solid #0100C9;
    padding-top: 18px;
}

.active {
    font-weight: 500;
}

.hero {
    width: 100%;
    height: 46em;
    text-align: center;
    background: url('./img/hero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: screen;
}

.mask {
    background-color: rgba(236, 241, 247, .8);
    width: 100%;
    height: 100%;
}

.mask h1 {
    padding-top: 6em;
}

.hero p {
    color: #53667B;
    font-weight: 400;
}

.btn {
    font-size: 0.875rem;
    padding: 0.75rem 2rem;
    background: #455667;
    text-transform: uppercase;
    border: 2px solid #455667;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    display: inline-block;
    color: #fff;
    border-radius: 0.3125em;
}

.btn:hover {
    transition: all 0.2s ease-in-out;
    background: #233445;
    border-color: #233445;
}

.btn-ghost {
    border: 2px solid #455667;
    background: none;
    color: #53667B;
    font-weight: 700;
}

.hero .btn {
    margin-top: 3em;
    line-height: 1;
    margin-left: 16px;
    margin-right: 16px;
}

.btn-ghost:hover {
    transition: all 0.3s ease-in-out;
    background-color: #455667;
    color: rgba(255,255,255, .86);
}

#products, #contact, #about {
    padding: 6em 0.5em;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#products {
    padding-bottom: 4em;
}

.product {
    width: 33%;
    float: left;
    min-height: 21.75em;
    padding-left: 16px;
    padding-right: 16px;
}

.product p {
    text-align: left;
}

.product img {
    width: 150px;
    height: 150px;
}

#contact {
    background-color: #53667B;
}

#contact p {
    color: #BCC1C4;
}

#contact h2, #contact h3 {
    color: #ffffff;
}

.message {
    float: right;
    width: 27.75em;
    margin-left: 6.75em;
}

.address {
    float: left;
    width: 16.25em;
    margin-right: 1em;
}

.info {
    float:left;
}

.info li {
    color: #BCC1C4;
    list-style: none;
    font-weight: 300;
}

.phone, .fax, .email {
    background-size: 1em 1em;
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 2em;
    fill: #BCC1C4;
}

.phone {
    background-image: url('img/icon-phone.svg');
}

.fax {
    background-image: url('img/icon-fax.svg');
}

.email {
    background-image: url('img/icon-email.svg');
}

.map {
    float: left;
}

.contact-form {
    float: right;
}

input[type=text], input[type=email], textarea {
    display: block;
    width: 450px;
    padding: 16px;
    margin-bottom: 8px;
    border: none;
    outline: none;
    border-radius: 5px;
    font-size: 14px;
}

textarea {
    height: 132px;
    resize: none;
}

button {
    border: none;
    width: 160px;
    text-align: center;
    padding: 16px 0;
    background-color: rgba(248, 211, 21, 1);
    color: #455667;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700
}

button:hover {
    transition: all 0.2s ease-in-out;
    background-color: rgba(255, 218, 21, 1)
}

::placeholder {
    color: #D3D7DD;
    font-size: 14px;
}

#about {
    background-color: #F2F2F2;
    text-align: left;
    box-shadow: 3px 3px 20px #ccc;
}

#about h2 { text-align: center;}

#about h3 {
    padding-top: 32px;
    padding-bottom: 12px;
}

#about p {
    color: #53667B;
}

#about p:first-child {
    padding-bottom: 16px;
}

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

    * {
        font-size: 14px;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    header {
        padding-left: 50%;
    }

    .logo {
        margin-left: -48px;
        margin-bottom: 10px;
    }

    .hero {
        height: 36rem;
    }

    .hero h1 {
        padding-top: 140px;
    }

    .mask p {
        padding-left: 16px;
        padding-right: 16px;
    }

    nav {
        display: none;
    }

    .product {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        min-height: 0;
        margin-bottom: 32px;
    }

    .product img {
        width: 100px;
        height: 100px;
    }

    .product p {
        text-align: center;
    }

    .product:nth-child(n+6) {
        display: none;
    }

    .map {
        display: none;
    }

    .address {
        width: 50%;
        float: left;
        margin-right: 0;
    }

    .info {
        float: right;
        width: 50%;
    }

    .message {
        width: 100%;
        margin-top: 32px;
    }

    form {
        width: 100%;
    }

    input[type=text], input[type=email], textarea {
        width: 100%;
        box-sizing: border-box;
    }
}