@import url('https://fonts.googleapis.com/css?family=Oswald:500|Poppins|Sacramento');
body
{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f5f5;
    font-family: 'poppins', sans-serif;
}
.container
{
    width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 20px;
    box-sizing: border-box;
    padding: 20px;
}
.container .box
{
    position: relative;
    padding: 40px;
    transition: 0.5s;
    text-align: center;
    background: #fff;
}
.container .box:hover
{
    background: #ff0057;
}
.container .box p
{
    margin: 0;
    margin-top: 20px;
    padding: 0;
    transition: 0.5s;
}
.container .box h4
{
    margin: 20px 0 0;
    padding: 0;
    transition: 0.5s;
    font-size: 18px;
    color: #ff0057;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
}
.container .box h4 span
{
    font-weight: 600;
    font-size: 14px;
    color: #c5c5c5;
    transition: 0.5s;
}
.container .box:hover p,
.container .box:hover h4,
.container .box:hover h4 span
{
    color #fff;
}
.container .box .imgBox
{
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}
.container .box .imgBox:hover
{
    opacity: 0.5s;
}
@media (max-width: 768px)
{
    .container .box
    {
        margin-top: 10px;
    }
    .container
    {
        width: auto;
    }
}