html {
  height: 100%;
}

body {
    background: linear-gradient(0deg, #383d95, #040d30 90%) no-repeat #383d95;
  min-height: 100%;
  margin: 0;
}
ul{
  position: absolute;
  display: flex;
  margin: 0;
  padding: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
} 
ul li{
  list-style: none;
  margin: 0 5px;
}

ul li a .fa{
  line-height: 80px;
   transition: 0.5s;
   padding-right: 14px;
   font-size: 40px;
   color: #262626;
}

ul li a {
   display:block;
   padding-left: 20px;
   text-decoration: none;
   transition:.5s;
   width:210px;
   display:absolute;
   text-align:left;
   box-shadow: -20px 20px 10px rgba(0,0,0,.5);
   transform: rotate(-30deg) skew(25deg) translate(0,0);
   height:80px;
   background: #fff;
 }

ul li a span{
   transition: 0.5s;
   padding: 0;
   margin: 0;
   top: 30px;
   color: #262626;
   letter-spacing: 4px;
   position: absolute;
}

 ul li a:after {
   transform: .5s;
   content: ”;
   position: absolute;
   bottom:-20px;
   height:20px;
   width:100%;
   background: #b1b1b1;
   left:-10px;
   transform: rotate(0deg) skewX(-45deg);
 }

 ul li a:before {
   content: ”;
   background: #b1b1b1;
   top:10px;
   position: absolute;
   transform: .5s;
   left:-20px;
   height:100%;
   width:20px;                                                                                   
   transform: rotate(0deg) skewY(-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 a:hover span{
     color: #fff;
 }

 ul li:hover:nth-child(1) a{
  background: #ff0000;
}
ul li:hover:nth-child(1) a::after{
background: #c50000;
}
ul li:hover:nth-child(1) a::before{
  background: #da0202;
}

/*2nd*/
ul li:hover:nth-child(2) a{
background: #7289d9;
}
ul li:hover:nth-child(2) a::after{
background:#7289d9;
}
ul li:hover:nth-child(2) a::before{
background: #7289d9;
}

/* 3rd button*/
ul li:hover:nth-child(3) a{
background: #6441a5;
}
ul li:hover:nth-child(3) a::after{
background:#6441a5;
}
ul li:hover:nth-child(3) a::before{
background: #6441a5;
}

/* 4th botton*/
ul li:hover:nth-child(4) a{
background: #f0526f;
}
ul li:hover:nth-child(4) a::after{
background:#ff5274;
}
ul li:hover:nth-child(4) a::before{
background: #d81c3f;
}







label {
  position: relative;
}

input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 80px;
  width: 80px;
  z-index: 100;
  top: -350px;
}

div {
  position: relative;
  height: 80px;
  width: 80px;
  background: #18191f;
  color: #555;
  display: flex;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 46px;
  top: -350px;
  cursor: pointer;
  margin: 0 4px;
  border-radius: 20px;
  box-shadow: -1px -1px 4px rgba(255, 255, 255, 0.05),
    4px 4px 6px rgba(0, 0, 0, 0.2),
    inset -1px -1px 4px rgba(255, 255, 255, 0.05),
    inset 1px 1px 1px rgba(0, 0, 0, 0.1);
}



  

@keyframes glow {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

footer {
  position: fixed;
  height: 40px;
  background: linear-gradient(#2d2d2d, #1d1d1d);
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin-bottom: 0px;
}

footer h2 {
  color: #ffffff;
  margin-left: 820px;
  font-size:medium;
}

img {
  margin-left: 900px;
  margin-top: 50px;
  height: 150px;
  width: 150px;
}

img figure {
	position: relative;
}
img figure::before {
	position: absolute;
	top: 0;
	left: -75%;
	z-index: 2;
	display: block;
	content: '';
	width: 50%;
	height: 100%;
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	-webkit-transform: skewX(-25deg);
	transform: skewX(-25deg);
}
img sfigure:hover::before {
	-webkit-animation: shine .75s;
	animation: shine .75s;
}
@-webkit-keyframes shine {
	100% {
		left: 125%;
	}
}
@keyframes shine {
	100% {
		left: 125%;
	}
}



