@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400');

body {
    margin: 0;
    padding: 0;
    background: #333333;
    font-family: 'Roboto Condensed', sans-serif;

}

ul.firstrow {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    margin: 0;
    padding: 0;
}

ul.secondrow {
    position: absolute;
    top: 66%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
    margin: 0 5px;
}

ul li a .fa {
    font-size: 40px;
    color: #ffffff;
    line-height: 80px;
    transition: .5s;
    padding-right: 14px;
}

ul li a .fab {
    font-size: 40px;
    color: #ffffff;
    line-height: 80px;
    transition: .5s;
    padding-right: 14px;
}

ul li a .fas {
    font-size: 40px;
    color: #ffffff;
    line-height: 80px;
    transition: .5s;
    padding-right: 14px;
}

ul li a span {
    padding: 0;
    margin: 0;
    position: absolute;
    top: 30px;
    color: #ffffff;
    letter-spacing: 4px;
    transition: .5s;
}

ul li a {
    text-decoration: none;
    display: block;
    width: 210px;
    height: 80px;
    background: #484848;
    text-align: left;
    padding-left: 20px;
    transform: rotate(-30deg) skew(25deg) translate(0, 0);
    transition: .5s;
    box-shadow: -20px 20px 10px rgba(0, 0, 0, .5);
}

ul li a:before {
    content: '';
    position: absolute;
    top: 10px;
    left: -20px;
    height: 100%;
    width: 20px;
    background: #383838;
    transform: rotate(0deg) skewY(-45deg);
}

ul li a:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -10px;
    height: 20px;
    width: 100%;
    background: #505050;
    transform: rotate(0deg) skewX(-45deg);
}

ul li a:hover {
    transform: rotate(-30deg) skew(25deg) translate(20px, -15px);
    box-shadow: -50px 50px 50px rgba(0, 0, 0, .5);
}

ul li:hover .fa {
    color: #fff;
}

ul li:hover .fab {
    color: #fff;
}

ul li:hover .fas {
    color: #fff;
}

ul li:hover span {
    color: #fff;
}

ul li:hover:nth-child(1) a {
    background: #009de6;
}

ul li:hover:nth-child(1) a:before {
    background: #0075ac;
}

ul li:hover:nth-child(1) a:after {
    background: #00aeff;
}

ul li:hover:nth-child(2) a {
    background: #6275bb;
}

ul li:hover:nth-child(2) a:before {
    background: #455385;
}

ul li:hover:nth-child(2) a:after {
    background: #7289DA;
}

ul li:hover:nth-child(3) a {
    background: #003d83;
}

ul li:hover:nth-child(3) a:before {
    background: #002b5c;
}

ul li:hover:nth-child(3) a:after {
    background: #004797;
}

ul li:hover:nth-child(4) a {
    background: #9800be;
}

ul li:hover:nth-child(4) a:before {
    background: #5b0072;
}

ul li:hover:nth-child(4) a:after {
    background: #b500e2;
}

ul li:hover:nth-child(5) a {
    background: #db5a0f;
}

ul li:hover:nth-child(5) a:before {
    background: #aa460c;
}

ul li:hover:nth-child(5) a:after {
    background: #f36411;
}