.fab{
    position: fixed;
    bottom: 32px;
    right: 20px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background: #f44336;
    box-shadow: 1px 2px 4px grey;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fab:hover{
    cursor: pointer;
}


.fab img{
    width: 70%;
    transform: rotate(0deg);
    transition: 0.4s;
}



.box{
    position: fixed;
    bottom: 44px;
    right: 5px;
    height: 0px;
    transition-delay: 0.3s;
    width: 60px;
    transition: 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.item{
    overflow: hidden;
    border-radius: 50%;
    transition: 0.4s ease-in;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-shadow: 1px 1px 3px grey;
}

.item1{
    transition-delay: 0.2s;
    background: #1565c0;
}

.item2{
    transition-delay: 0.2s;
    background: #ff4336;
}

.item3{
    transition-delay: 0.2s;
    background: #29b6fc;
}

.item4{
    transition-delay: 0.2s;
    background: green;
    margin-bottom: 50px;
}

.item:hover{
    cursor: pointer;
}

.item:hover img{
    transform: rotate(360deg);
    transition: all 0.5s;
}

.box-active{
    height: 290px;
}

.box-active img{
    transform: rotate(1800deg);
    width: 60%;
}