*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
html,body{
    display: grid;
    height: 100%;
    place-items:center;
    background-color:#000;
}
.icons{
    display:inline-flex;
}
.icons a{
    text-decoration: none;
    color: #fff;
    display: block;
    position:relative;
    margin:50px;
}
.icons a .layer{
    width: 55px;
    height: 55px;
    transition: transform .3s;
}
.icons a:hover .layer{
    transform: rotate(-35deg) skew(20deg);
}
.icons a .layer span{
    position: absolute;
    top:0;
    left:0;
    height: 100%;
    width: 100%;
    border: 1px solid #fff;
    border-radius:5px;
    transition: all .3s;
}
.icons a .layer .icon{
    position: absolute;
    display: flex;
    margin: auto;
    top:0;left:0;right:0;bottom:0;
    font-size: 30px;
    line-height: 55px;
    text-align: center;
    transition: all .3s;
}
.icons a:hover .layer span:nth-child(1){
    opacity: .2;
}
.icons a:hover .layer span:nth-child(2){
    opacity: .4;
    transform: translate(5px, -5px);
}
.icons a:hover .layer span:nth-child(3){
    opacity: .6;
    transform: translate(10px, -10px);
}
.icons a:hover .layer span:nth-child(4){
    opacity: .8;
    transform: translate(15px, -15px);
}
.icons a:hover .layer .icon{
    opacity: 1;
    transform: translate(15px, -15px);
}
.icons a:nth-child(1) .layer .icon,.icons a:nth-child(1) .text {
    color:#4267ff;
}
.icons a:nth-child(2) .layer .icon,.icons a:nth-child(2) .text {
    color:#c41e9a;
}
.icons a:nth-child(3) .layer .icon,.icons a:nth-child(3) .text {
    color:#fff;
}

.icons a:nth-child(1) .layer span{
    box-shadow: -1px 1px 3px #4267ff;
}
.icons a:nth-child(2) .layer span{
    box-shadow: -1px 1px 3px #c41e9a;
}
.icons a:nth-child(3) .layer span{
    box-shadow: -1px 1px 3px #888;
}

.icons a .text{
    position: absolute;
    left:50%;
    bottom: -5px;
    opacity: 0;
    transform: translateX(-50%);
    transition: bottom .3s ease, opacity .3s ease;
}
.icons a:hover .text{
    bottom: -25px;
    opacity: 1;
}