.conatainer {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.conatainer .serviceBox {
    position: relative;
    width: 250px;
    height: 170px;
    background: var(--i);
    border-radius: 5px;
    margin: 25px;
    margin-top: 20px;
    overflow: hidden;
    /* margin-bottom: 50px; */
}

.conatainer .serviceBox .iconn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--i);
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.conatainer .serviceBox:hover .iconn {
    top: 15px;
    left: calc(50% - 35px);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    padding-left: 0px !important;
}

.conatainer .serviceBox .iconn ion-icon{
    font-size: 3em;
    color: white;
    transition: 0.5s;
    margin-top: -20px;
    margin-left: -10px;
}

.conatainer .serviceBox:hover .iconn ion-icon{
    font-size: 2em;
    padding-left: 0px !important;
    margin-top: 0px;
    margin-left: 0px;
}

.conatainer .serviceBox .iconn h2{
    font-size: 1.7em;
    color: white;
    transition: 0.5s;
}

.conatainer .serviceBox:hover .iconn h2{
    font-size: 0em;
}

.conatainer .serviceBox .content{
    position: relative;
    padding: 20px;
    color: white;
    text-align: center;
    margin-top: 100px;
    z-index: 1;
    transform: scale(0);
    transition: 0.5s;
}

.conatainer .serviceBox:hover .content{
    transform: scale(1);
}

.conatainer .serviceBox .content h2{
    margin-top: -35px;
    margin-bottom: 5px;
    text-decoration: none;
}

.conatainer .serviceBox .content p{
    font-weight: 300;
    line-height: 1em;
    font-size: 11px;
}

@media (max-width: 650px) {
    .conatainer {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 13px;
        flex-wrap: wrap;
    }

    .conatainer .serviceBox {
        width: 120px;
        height: 85px;
        margin: 10px;
        margin-bottom: 0px;
        margin-top: 20px;
    }
    
    .conatainer .serviceBox:hover .iconn {
        top: 8px;
        left: calc(50% - 15px);
        width: 30px;
        height: 30px;
        border-radius: 50%;
    }

    .conatainer .serviceBox .iconn ion-icon{
        font-size: 2em;
        padding-left: 14px !important;
    }
    
    .conatainer .serviceBox:hover .iconn ion-icon{
        font-size: 1em;
    }

    .conatainer .serviceBox .iconn h2{
        font-size: 1em;
    }
    
    .conatainer .serviceBox .content{
        margin-left: 6px;
    }
    
    .conatainer .serviceBox .content h2{
        margin-top: -75px;
        margin-bottom: 2px;
        text-decoration: none;
        font-size: 10px;
    }
    
    .conatainer .serviceBox .content p{
        font-weight: 300;
        line-height: 1em;
        font-size: 5px;
    }
}

@media (max-width: 384px) {
    .conatainer {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 13px;
        flex-wrap: wrap;
    }
}
