@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-bold-webfont.woff2') format('woff2'),
         url('../fonts/opensans-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;

}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-light-webfont.woff2') format('woff2'),
         url('../fonts/opensans-light-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;

}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-regular-webfont.woff2') format('woff2'),
         url('../fonts/opensans-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;

}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-semibold-webfont.woff2') format('woff2'),
         url('../fonts/opensans-semibold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;

}

body{
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

ul, li{
    list-style: none;
    margin: 0;
    padding: 0;
}

header{
    background-image: url("../img/cropped-flowHEADER-100.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 500px;
}

.wrapper{
    max-width: 1100px;
    margin: auto;
    padding: 0 30px;
}

img{
    max-width: 100%;
    height: auto;
}

header .wrapper{
    display: flex;
    align-items: center;
    height: 100%;
}

h1{
    max-width: 390px;
    font-weight: 400;
    font-size: 35px;
    line-height: 1.5;
    font-weight: bold;
    color: #00102D;
}

.cards{
    display: flex;
    justify-content: space-around;
    margin-top: -85px;
    align-items: center;
    height: 175px;
}

p.middle-text{
    text-align: center;
    margin: 30px 0 100px;
    font-weight: 600;
}

.features{
    display: flex;
    justify-content: space-around;
    margin: 0 0 100px;
    flex-wrap: wrap;
}

.features img{
    max-width: 90px;
    width: 100%;
}

.features div{
    flex-basis: 25%;
    text-align: center;
}

.features div h3{
    font-weight: 400;
    line-height: 1.3;
}

footer{
    background-color: #20BABB;
    color: #fff;
    padding: 50px 0 30px;
    font-weight: 400;
    text-align: center;
}

footer .footer-text{
    font-size: 35px;
    margin: auto;
    margin-bottom: 50px;
    max-width: 700px;
    line-height: 1.5;
    font-weight: bold;
    
}

footer .footer-text span:first-child{
    font-size: 26px;
    font-weight: normal;
}

footer nav{
    margin-top: 15px;
}

footer nav a{
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    transition: opacity 300ms;
}

footer nav a:hover{
    opacity: 0.8;
}

footer nav ul li{
    display: inline-block;
}

footer nav ul li:not(:last-child):after{
    content: "|";
    margin: 0 10px;
}


@media screen and (max-width: 767px){
    .features div{
        flex-basis: 100%;
        max-width: 400px;
    }

    footer nav ul{
        max-width: 150px;
        margin: auto;
        margin-bottom: 15px;
    }

    footer nav ul li{
        display: block;
        margin: 0;
        padding: 10px 0;
    }

    footer nav ul li:not(:last-child){
        border-bottom: 1px #fff solid;
    }

    footer nav ul li:not(:last-child):after{
        display: none;
    }

    footer .footer-text{
        font-size: 20px;
    }
    
    footer .footer-text span:first-child{
        font-size: 16px;
    }

    .features{
        margin-bottom: 50px;
    }

    p.middle-text{
        margin-bottom: 50px;
    }
}