@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css');

* {
    padding: 0px;
    margin: 0px;
}



.blocklist {
    position: relative;
    display: block;
    transform: rotate(0deg) skew(0deg);
    transform-style: preserve-3d;
}

.blocklist .listblock {
    position: relative;
    list-style: none;
    width: 60px;
    height: 60px;
    margin: 0px 20px;
}

.blocklist .listblock:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -5px;
    width: 100%;
    height: 10px;
    background: #2a2a2a;
    trnasform-origin: top;
    transform: skewX(-41deg);
}

.blocklist .listblock:after {
    content: '';
    position: absolute;
    top: 5px;
    left: -9px;
    width: 9px;
    height: 100%;
    background: #2a2a2a;
    trnasform-origin: right;
    transform: skewY(-49deg);
}

.blocklist .listblock span {
    position: absolute;
    top: 0;
    lef: 0;
    width: 100%;
    height: 100%;
    display: flex !important;
    background: #2a2a2a;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px !important;
    transition: 1.5s ease-out;
}

.blocklist .listblock:hover span {
    z-index: 1000;
    transition: .3s;
    color: #fff;
    box-shadw: -1px 1px 1px rgba(0, 0, 0, .5);
}

.blocklist .listblock:hover span:nth-child(5) {
    transform: translate(40px, -40px);
    opacity: 1;
}

.blocklist .listblock:hover span:nth-child(4) {
    transform: translate(30px, -30px);
    opacity: .8;
}

.blocklist .listblock:hover span:nth-child(3) {
    transform: translate(20px, -20px);
    opacity: .6;
}

.blocklist .listblock:hover span:nth-child(2) {
    transform: translate(10px, -10px);
    opacity: .4;
}

.blocklist .listblock:hover span:nth-child(1) {
    transform: translate(0px, 0px);
    opacity: .2;
}

.blocklist .listblock:nth-child(1):hover span {
    background: #52E19F !important;
}

.blocklist .listblock:nth-child(2):hover span {
    background: #2C3456 !important;
}

.blocklist .listblock:nth-child(3):hover span {
    background: #EA6E96 !important;
}

.blocklist .listblock:nth-child(4):hover span {
    background: #FCEB00 !important;
}