body {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    }
    .container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .container .box {
        width: 350px;
        padding: 40px 40px 40px 10px;
        margin:  20px;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
        box-sizing: border-box;
        overflow: hidden;
    }
    .container .box .icon{
        position: relative;
        width: 80px;
        height: 80px;
        margin: auto;
        background: black;
        color: white;
        font-size: 30px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 1s;
    }
    .container .box .content{
        position: relative;
        z-index: 1;
    }
    .container .box .contant{
        position: relative;
        padding: 10px;
    }
    .container .box .content p{
        padding: 20px;
    }
    a{
        background: white;
        display: inline-block;
        padding: 10px 20px;
        margin-left: 30%;
        text-decoration: none;
        color: black;
        box-shadow: opx opx 1opx rgba(0,0,0,0.5);
    }

    .container .box:nth-child(1) .icon {
        background: red;
        box-shadow: 0px 0px 0px red;
    }
    .container .box:nth-child(1):hover .icon{
        background: white;
        color: black;
        transform: rotateZ(360deg);
        box-shadow: 0px 0px 0px 500px red;
    }
    .container .box:nth-child(1):hover .content{
       color: white; 
    }
    .container .box:nth-child(2) .icon {
        background: blue;
    }
    .container .box:nth-child(2):hover .icon{
        background: white;
        color: black;
        transform: rotateX(360deg);
        box-shadow: 0px 0px 0px 500px blue;
    }
    .container .box:nth-child(2):hover .content{
       color: white; 
    }
    .container .box:nth-child(3) .icon{
        background: green;
    }
    .container .box:nth-child(3):hover .icon{
        background: white;
        color: black;
        transform: rotateY(360deg);
        box-shadow: 0px 0px 0px 500px green;
    }
    .container .box:nth-child(3):hover .contant{
        color: white;
    }