.services-title {
    background-color: #000;
    color: #FFF200;
    text-align: center;
    padding: 10px;
    border-radius: 10px 10px 0px 0px;
    position: relative;
    z-index: 2;
}
.services {
    padding-left: 10px;
    padding-right: 10px;
}
.services-content {
    display: flex;
}
.services-content a {
    flex: 1;
    width: 300px;
    height: 390px;
    position: relative;
    bottom: 20px;
    z-index: 1;
    color: #FFF200;
    font-size: 1.2rem;
    border-radius: 15px;
    transition: .3s;
}
.services-content a div {
    position: absolute;
    bottom: 20px;
    width: 100%;
}
.services-content a:hover h3{
    transform: scale(1.18);
    text-shadow: 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000,
    0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000,
    0px 0px 3px #000, 0px 0px 3px #000;
}
.services-content a div h3 {
    text-align: center;
    transition: .3s;
}
.services-content a:nth-child(1) {
    background: url(/img/troca.webp) no-repeat center center;
    background-size: cover;
}
.services-content a:nth-child(2) {
    background: url(/img/instalacao.webp) no-repeat center center;
    background-size: cover;
}
.services-content a:nth-child(3) {
    background: url(/img/venda.webp) no-repeat center center;
    background-size: cover;
}
.services-content a:nth-child(4) {
    background: url(/img/consertos.webp) no-repeat center center;
    background-size: cover;
}

@media only screen and (min-width:451px) and (max-width:750px) {

    .services-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        grid-gap: 15px;
        width: fit-content;
    }

    .services-title {
        border-radius: 10px 10px 0px 0px;
        max-width: 615px;
    }
    .services-grid {
        display: grid;
        justify-content: center;
    }
    .services-content a {
        flex: 1;
        max-width: 200px;
        height: 300px;
    }
}
@media only screen and (min-width:0px) and (max-width:450px) {

    .services-content {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        grid-gap: 15px;
        width: fit-content;
    }

    .services-title {
        border-radius: 10px 10px 0px 0px;
        max-width: 615px;
    }
    .services-grid {
        display: grid;
        justify-content: center;
    }
    .services-content a {
        flex: 1;
        max-width: 200px;
        height: 300px;
    }
}