.section1 {
    margin: 0;
    margin-bottom: 0;
    padding: 1%;
    font-family: sans-serif;
}

.container {
    position: relative;
    /* display: inline-block; */
    max-width: 100%;
    height: 390px;
    margin:  auto;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    /* margin-left: 5%; */
}

.container .box {
    text-align: center;
    position: relative;
    width: calc(30% - 30px);
    height: calc(90% - 20px);
    background: #6f8caa;
    display: inline-block;
    /* float: left; */
    margin: 15px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.container .box .icon{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    z-index: 1;
}

.container .box:hover .icon{
    top: 20px;
    left: calc(50% - 40px);
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.container .box .icon .fa-solid{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 80px;
    transition: 0.5s;
    color: #fff;
}

.container .box:hover .icon .fa-solid{
    font-size: 40px;
    transition: 0.5s;
    color: #fff;
}

.container .box .content{
    position: absolute;
    top: 100%;
    height: calc(100% - 100px);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transition: 0.5s;
    opacity: 0;
}

.container .box:hover .content{
    top: 100px;
    opacity: 1;
}

.container .box .content h3{
    margin: 0 0 10px;
    padding: 0;
    color: #fff;
    font-size: 2rem;
}

.container .box .content p{
    margin: 0;
    padding: 2%;
    color: #fff;
    font-size: 0.9rem;
}

.container .box .icon{
    background: #b5babd;
}

@media (max-width: 543px) {
    .container {
        position: relative;
        /* display: inline-block; */
        width: 1200;
        height: 300px;
        margin:  auto;
        margin-top: 2%;
        margin-bottom: 0;
        text-align: center;
        /* margin-left: 5%; */
    }

    .container .box {
        text-align: center;
        position: relative;
        width: calc(30% - 30px);
        height: calc(90% - 30px);
        background: #6f8caa;
        display: inline-block;
        margin: 2%;
        box-sizing: border-box;
        overflow: hidden;
        border-radius: 3px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    .container .box .icon{
        position: absolute;
        top:0;
        left:0;
        width: 100%;
        height: 100%;
        transition: 0.5s;
        z-index: 1;
    }

    .container .box:hover .icon{
        top: 20px;
        left: calc(50% - 40px);
        width: 80px;
        height: 80px;
        border-radius: 50%;
    }

    .container .box .icon .fa-solid{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        font-size: 50px;
        transition: 0.5s;
        color: #fff;
    }

    .container .box:hover .icon .fa-solid{
        font-size: 40px;
        transition: 0.5s;
        color: #fff;
    }

    .container .box .content{
        position: absolute;
        top: 100%;
        height: calc(100% - 100px);
        text-align: center;
        padding: 1px;
        box-sizing: border-box;
        transition: 0.5s;
        opacity: 0;
    }

    .container .box:hover .content{
        top: 100px;
        opacity: 1;
    }

    .container .box .content h3{
        margin: 0 0 10px;
        padding: 0;
        color: #fff;
        font-size: 9px;
        align-items: center;
    }

    .container .box .content p{
        margin: 0;
        padding: 0;
        color: #fff;
        font-size: 6px;
    }
}
