.servicios-container {
    /*display: flex;
    max-width: 1200px;
    justify-content: space-between;
    flex-direction: flex;
    margin-left: auto;
    margin-right: auto;
    gap: 15px;
    padding-left: 20px;
    padding-right: 20px;*/
    
    
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: space-between;
    
    
}

.servcont {
    /*width: 250px;*/
    
    width: calc(25% - 20px);
    margin: 10px;
    box-sizing: border-box;
    align-items: flex-start;
    text-align: center;
}

.servcont h2 {
   text-align: center;
    margin-bottom: 10px;
    
}

.servcont h2:hover {
    color: #B1090B;
    
}

.servcont p {
    text-align: center;
    margin-bottom: 10px;
    
}

.servcont img {
    margin-bottom: 15px;
    max-height: 80px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
    transition: transform 0.3s ease;
}

.servcont img:hover {
     transform: scale(1.1);
    
}



/* Ajustes para pantallas más pequeñas */
@media only screen and (max-width: 1150px) {
    .servcont {
        width: calc(50% - 20px);
    }

    .otro-contenido {
        width: 100%;
    }
}




@media only screen and (max-width: 600px) {
    .servicios-container {
        display: block;
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .servcont {
    width: 250px;
        margin-left: auto;
        margin-right: auto;
}
    
}


