#servicios {
    background: rgb(255, 255, 255);
}

#serviciositems {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.servicioitem {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    max-width: 313px;
    margin: 10px;
    border-radius: 5px;
    border: 2px solid rgb(19, 87, 133);
    overflow: hidden;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    background-size: 50%;
}

.con {
    background-image: url(../img/ico-con.png);
}

.cti {
    background-image: url(../img/ico-cti.png);
}

.sop {
    background-image: url(../img/ico-sop.png);
}

.encab ,.content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation-name: fadec;
    animation-duration: 0.5s;
}

.encab {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: white;
}

.encab img {
    width: 50px;
    height: 50px;
    margin: 35px auto 0 auto;
}

.encab h3 {
    width: 100%;
    margin: 0 0 35px 0;
    text-align: center;
    font-weight: 500;
    color: rgb(19, 87, 133);
}

.content {
    display: none;
    color: black;
    padding: 0px;
    position: relative;
    background: rgba(250, 250, 250, 0.85);
}


.content ul {
    padding: 0;
    width: 100%;
}

.content li {
    text-align: center;
    list-style: none;
    width: 100%;
    margin: 8px 0;
}

.content a {
    color: black;
    text-decoration: none;
    font-weight: 500;
}

.content a:hover {
    color: rgb(19, 87, 133);
    font-weight: 800;
}

.servicioitem:hover .encab {
    display: none;
}

.servicioitem:hover .content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}


@keyframes fadec {
    from {opacity: 0;}
    to {opacity: 1;}
}