.conteudo  img{

    width: 5vw;
    margin-top: 25%;
}

body{

    align-items: center;
    font-family: consolas;
}


.espaco {
    /* background-image: -webkit-linear-gradient(120deg, #018dc0 30%, #19485e 100%); */
    background-image: url(fundoservico.jpg);
    background-size: 50%;
    height: 32vw;
    background-repeat: repeat;
}

.espacomaior {
    width: 100%;
    height: 28vw;
    margin-top: 0%;
        /* background-color: #6190a0; */
    position: relative;
    display: flex;
        /*justify-content: center;*/
    flex-wrap: wrap;
}



.espaco h3{
   font-family: "Times new roman","Helvetica Neue",Helvetica,Arial,sans-serif; 
   text-align: center;
   font-size: 2.5vw;
   color:#476675;
}

.espaco h4{
   font-family: "Times new roman","Helvetica Neue",Helvetica,Arial,sans-serif; 
   text-align: center;
   font-size: 1.5vw;
   color:#476675;
}



.espacomaior .card{
    position: relative;
    background:transparent;
    width: 18%;
    height: 35%;
    margin: 0% 1%;
        border-color: transparent;
}

.espacomaior .card .face{
    width: 100%;
    height: 100%;
    transition: 0.5s;
}

.espacomaior .card .face.face1{
    position: relative;
  background-image: -webkit-linear-gradient(0deg, #21afe2 0%, #0c6994 140%);

    display: flex;
    padding: 20%;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transform: translateY(50%);
}

.espacomaior .card:hover .face.face1{
    transform: translateY(0%);
    background: #2196F3;
}

.espacomaior .card .face.face1 .conteudo{
    opacity: 0.8;
    transition: 0.5s;
        width: 100%;
    height: 11vw;
    text-align: center;
}

.espacomaior .card:hover .face.face1 .conteudo{
    opacity: 1;
}

.espacomaior .card .face.face1 .conteudo h3{
    color: #fff;
    margin: 2% 0 0;
    padding: 0;
    text-align: center;
    font-size: 1vw;
}

.espacomaior .card .face.face2{
    position: relative;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20%;
    box-sizing: border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: translateY(-50%);
}

.espacomaior .card:hover .face.face2{
    transform: translateY(0%);
}
.espacomaior .card .face.face2 .conteudo p{
    margin: 0;
    padding: 0;
    font-size: 0.8vw;
}

.espacomaior .card .face.face2 .conteudo a{
    margin: 3% 0 0;
    display: inline-block;
    text-decoration: none;
    font-weight: 900;
    color: #333;
    font-size: 0.8vw;
    padding: 3%;
    border: 1px solid #333;
}

.espacomaior .card .face.face2 .conteudo a:hover{
    color: #fff;
    background: #333;
}


.referencia{
    color: #41555f;
    text-decoration: none;
    opacity: 0.5;
        font-size: 0.8vw;
    height: 2vh;
    margin-left: 40%;
}



.referencia a { color: inherit; } 