.contact{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255);
    margin: 0px 0;
}

.contact .box-contact{
    background: transparent;
    position: relative;
    width: 260px;
    height: 260px;
    min-width: none;
    margin: 10px;
    box-shadow: 0px 30px 50px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    flex:none;
    border-radius: 50%;
    display: flex;
}

.contact .box-contact .img-contact{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255,0.88) ;
    transition: 0.5s;
    transform: scale(1) translateY(0);
}
.contact .box-contact:hover .img-contact{
    transform: scale(1) translateY(-100%);
}

.contact .box-contact .cont-contact{
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    transition: 0.5s;
    background: #105c88;
    transform: scale(1) translateY(calc(100% - 20px));
}
.contact .box-contact:hover .cont-contact{
    transform: scale(1);
}

.contact .box-contact:nth-child(2) .cont-contact{
    background: #fc157c;
}
.contact .box-contact:nth-child(3) .cont-contact{
    background: #0aa890;
}


.contact .box-contact .img-contact img{
    height: 80px;
    background: transparent;
}
.contact .box-contact .cont-contact .icon-contact img{
    height: 60px;
    max-width: 100px;
}

.contact .box-contact .cont-contact h3{
    color:white;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 2px;
    margin-top: 20px;
    font-weight: 700;
    margin-bottom: -20px;
}
.contact .box-contact .cont-contact h4{
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
}







@media (max-width:1120px){
    .contact{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin: 0px 0;
    }
    .contact .box-contact{
        margin: 8px;
    }
}
@media (max-width:900px){
    .contact{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin: 0px 0;
    }
    .contact .box-contact{
        margin: 5px;
        overflow: hidden;
        width: 220px;
        height: 220px;
        flex:none;border-radius: 50%;
    }
    .contact .box-contact .cont-contact h3{
        font-size: 16px;
    }
    .contact .box-contact .cont-contact h4{
        font-size: 16px;
    }
}

@media (max-width:707px){
    .contact .box-contact{
        margin: 2px;
        flex:100%;
        border-radius: 0;
    }
    .contact .box-contact .cont-contact{        
        transform: scale(1) translateY(calc(100% - 5px));
    }
}

