.cases-section{
    width: 95%;
    margin: auto;
}

.case{
    width: 100%;
    height: 80vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.case div{
    width: 100%;
    height: 100%;
}



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

    .cases-section .case:nth-of-type(1) {
        margin-top: 70px;
    }

    .case{
        text-align: center;
        height: 240px;
    }
    .case h3{
        font-size: 30px;
    }
}
