*{
    padding:0;
    margin:0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body{
    background:#F8F8F8;
    padding-bottom:100px;
    position: relative;
    width:100%;
    min-height:100vh;
}

.hero{
    background-image:url(./assets/hero.jpg);
    background-size:cover;
    background-position: center;
    width:100%;
    height:25vh;
    max-height:450px;
}

footer{
    width:100%;
    position: absolute;
    bottom:0;
    left:0;
    height:100px;
}

footer .wrapper{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width:100%;
    max-width:1280px;
    padding:22px;
    margin:auto;
    height:100px;
    margin:auto;
}


footer .logo{
    height:25px;
    display: block;
    margin-bottom:5px;
}

footer small{
    color:#585858;
}

footer .contact{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.4em;
}

footer a{
    color:#000;
}


/*Cards*/
.card-container{
    display: flex;
    padding:44px;
    justify-content: center;
    transform:translateY(-120px);
}


@media(max-width:820px){
    .card-container{
        flex-direction: column;
        align-items: center;
    }
}


.card{
    border-radius:10px;
    width:100%;
    box-shadow:0 5px 30px -15px rgba(0,0,0,0.1), 0 1px 10px rgba(0,0,0,0.1);
    overflow:hidden;
    margin:22px;
    background:#FFF;
    transition:.4s ease-out transform, .4s ease-out box-shadow;
    max-width: 360px;
}

@media(min-width:520px){
    .card{
        max-width: 320px;
        margin:22px 44px;
    }
}


.card:hover .card-background-image{
    transform: scale(1.05);
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 10px 30px -10px rgba(0,0,0,0.2), 0 3px 10px rgba(0,0,0,0.1);
}

.card-background{
    display: block;
    width:100%;
    padding-top:56.25%;
    background-color: #F8F8F8;
    position: relative;
    overflow: hidden;
}

.card-background-image{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position: top center;
    background-repeat: no-repeat;
    transition:.4s ease-out transform;
    filter:brightness(95%), saturate(80%);
}

.card-background-image.statistics{
    background-image:url(./assets/statistics.jpg);
}


.card-background-image.order{
    background-image:url(./assets/order.jpg);
}

.card-text{
    padding:22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-text h2{
    margin-bottom:11px;
}

.card-text p{
    color:#585858;
    font-size:15px;
    font-weight:300;
    line-height:1.4em;
}

.button{
    display: inline-block;
    padding:1em 3em;
    font-size:16px;
    margin-top:22px;
    text-decoration:none;
    color:#FFF;
    border-radius:3px;
    background-color:#FF6A14;
    transition: .2s ease-out background-color;
    align-self:flex-end;
}

.button:hover{
    background-color:rgb(228, 95, 18);
}