@import url('https://fonts.googleapis.com/css2?family=Sniglet:wght@400;800&display=swap');
:root{
    --color1: #0fb513;
    --color2: #d41271;
    --color3: #ff4a26;
    --color4: #1e3799;
}
h1{ padding: 0 0 30px; }
.serviceBox{
    color: #555;
    background: #fff;
    font-family: 'Sniglet', cursive;
    text-align:center;
    padding: 30px 10px;
    border-radius: 30px 30px;
    position: relative;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 1;
}
.serviceBox .service-icon{
    color: #fff;
    background: var(--color1);
    font-size: 40px;
    line-height: 115px;
    height: 110px;
    width: 110px;
    margin: 0 auto 30px;
    border-radius: 50% 50% 0 50%;
    position: relative;
    transition: all 0.3s;
}
.serviceBox .service-icon i{
    line-height:inherit;
    transform: rotateY(0deg);
    transition: all 0.3s ease 0s;
}
.serviceBox:hover .service-icon i{ transform: rotateY(360deg); }
.serviceBox .service-icon:before{
    content:"";
    border:10px solid #fff; 
    width: calc(100% - 15px);
    height:calc(100% - 15px);
    border-radius: 50% 50%;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    top: 50%;
    left: 50%
}
.serviceBox .title{
    color: var(--color1);
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 10px;
}
.serviceBox .description{
    font-size: 15px;
    line-height: 25px;
}
.serviceBox.magenta .service-icon{ background: var(--color2); }
.serviceBox.magenta .title{ color: var(--color2); }
.serviceBox.orange .service-icon{ background: var(--color3); }
.serviceBox.orange .title{ color: var(--color3); }
.serviceBox.blue .service-icon{ background: var(--color4); }
.serviceBox.blue .title{ color: var(--color4); }
@media only screen and (max-width:990px){
    .serviceBox{ margin: 0 0 30px; }
}