* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.contenedor {
    padding: 30px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}
/* Galeria */

.portafolio {
    background: #f2f2f2;
}

.galeria-port {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port {
    width: 24%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.imagen-port>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-galeria {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsl(150, 100%, 40%, 0.7);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria img {
    width: 50px;
}

.hover-galeria p {
    color: #fff;
}

.imagen-port:hover .hover-galeria {
    transform: scale(1);
}
.about-services {
    background-color: rgba(0, 204, 102,0.5);
    padding-bottom: 10px;

}
.contenedor_servicio {
    padding: 20px 0;
    width: 100%;

    margin: auto;
    overflow: hidden;
}
.titulo_servicios {
    color: #ffffff;
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
}
.container-box {
    width: 100%;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;

}

.box {
    width: 200px;
    height: 250px;
    margin: 10px;
    padding: 20px;
    border: 2px solid #fff;
    border-radius: 14px;
    text-align: center;
    position: relative;
    background-color:#ffffff; 
}

.box img {
    width: 60%;
    transition: all 400ms;
}

.box h2 {
    font-size: 16px;
    margin-top: 10px;
    transition: all 500ms;
}

.box .container-p {
    width: 100%;
    height: 150px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    padding: 0px 10px;
    border-radius: 0px 0px 14px 14px;
}

.box p {
    font-size: 14px;
    color: #7a7a7a;
    opacity: 0;
    transform: translateY(150px);
    transition: all 600ms;
}


/*Efecto Hover*/

.box:hover {
    background: #fbfbfe;
}

.box:hover img {
    transform: translateY(-120px);
}

.box:hover h2 {
    transform: translateY(-130px);
}

.box:hover .container-p p {
    transform: translateY(0px);
    opacity: 1;
}

