:root {
    --swiper-navigation-color: rgba(255, 255, 255, 0.8);
}

h2 {
    padding: 0;
    margin: 0;
}

ul {
    margin: 0;
    margin-bottom: 10px;
    padding-left: 12px;
}



li {
    list-style-type: none;
}

.btn_more {
    display: inline-block;
    font-size: .8rem;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: var(--main-color);
    color: #ffffff;
    margin: 6px 0px;
    transition: .5s;
    letter-spacing: 1px;
}

.btn_more:hover {
    background-color: #3a88fd;
}

section {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 50vh;
    margin: 20px 0px;
    display: flex;
    pointer-events: all;
    cursor: pointer;
    transition: 1s;
}

section:hover {
    /* background-size: 105%; */
}

section h2 {
    letter-spacing: 6px;
    padding: 0px 0px 12px 0px;
    font-size: 2rem;
}

section>div {
    display: block;
    width: 100%;
    /* height: inherit; */
    padding: 50px 0px 50px 50px;
}

.section_services {
    background-image: url(images/index_services.jpg);
}

.section_services>div {
    background-image: linear-gradient(to right, rgba(16, 162, 245, .9), rgba(16, 162, 245, 0.8), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to right, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
}

.section_services_ul {
    overflow: hidden;
}

.section_cases {
    background-image: url(images/index_cases.jpg);
}

.section_cases>div {
    background-image: linear-gradient(to right, rgba(228, 1, 21, .9), rgba(228, 1, 21, 0.8), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to right, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
}

.section_contact {
    background-image: url(images/contact.jpg);
    background-position: top right;
}

.section_contact>div {
    background-image: linear-gradient(to right, rgba(204, 210, 72, .9), rgba(204, 210, 72, 0.8), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to right, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
}

.cases {
    border-bottom: solid 1px #e0e0e0;
}

.cases>h2 {
    margin-bottom: 8px;
}



.cases_container {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    margin-bottom: 20px;
}



.item {
    display: block;
    border-radius: 8px;
    border: solid 1px #e0e0e0;
    min-height: 80px;
    margin: 0px 4px;
}

.item .case_img {
    border-radius: 8px;
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.more_cases {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    background-color: rgb(20, 114, 255);
    letter-spacing: 1px;
    font-size: 1.2rem;
}


.swiper {
    height: 600px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    font-size: 18px;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}


@media screen and (max-width : 800px) {
    section {
        background-size: cover;
    }

    section:hover {
        background-size: cover;
    }

    .cases_container {
        display: grid;
        grid-auto-flow: row;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 8px;
    }

    section>div {
        padding: 20px 0px 0px 20px;
    }

    .swiper {
        height: 30vh;
    }
}