.services-container {
    position: relative;
    overflow: hidden;
    padding: 75px 0;
    box-sizing: border-box;
}

.services-container .background-img-filter {
    background-color: #152e6c;
    position: absolute;
    opacity: 0.7;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.services-container > h1 {
    margin: 25px 0 30px 0;
}

.services-container .background-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

.services {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.service {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: solid 10px var(--bg2);
    position: relative;
    flex: 1;
    padding: 10px 20px;
    margin: 0 70px;
}

.service h1,
.service h2,
.service h3,
.service h4 {
    color: var(--fg3);
}

.service p {
    text-align: center;
    color: var(--fg2);
}

.service ul {
    list-style-type:square;
}

.service li {
    color: var(--fg2);
}

.service li::marker {
    color: var(--fg3);
}

.service::after {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;  
    opacity: .4; 
    z-index: -1;
    background-color: black;
}

.services-container h1 {
    color: var(--fg2);
    text-align: center;
}

.service img {
    width: 106px;
    height: 106px;
}

@media only screen and (max-width: 1450px) {
    .services {
        width: auto;
    }
}

@media only screen and (max-width: 1150px) {
    .services {
        flex-direction: column;
    }
    .service {
        margin: 10px 70px;
    }
}

@media only screen and (max-width: 700px) {
    .services {
        flex-direction: column;
    }
    .service {
        margin: 10px 20px;
    }
}

