@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}
body {
  background: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

ul li {
  list-style: none;
  margin: 25px;
  display: flex;
}

ul li a i {
  font-size: 35px;
  color: #333;
  transition: 0.5s;
  padding-right: 14px;
}

ul li a span {
  color: #333;
  letter-spacing: 2px;
  transition: 0.5s;
}

ul li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 210px;
  height: 80px;
  background: #fff;
  padding-left: 20px;
  position: relative;
  transition: 0.5s;
}

ul li a::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -20px;
  height: 100%;
  width: 20px;
  background: #cecece;
  transition: 0.5s;
  transform: skewY(-45deg);
}

ul li a::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -10px;
  height: 20px;
  width: 100%;
  background: #cecece;
  transition: 0.5s;
  transform: skewX(-45deg);
}

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

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

ul li:hover a {
  background: #dd4b39;
  transform: translate(15px, -15px);
  box-shadow: -50px 50px 50px rgba(0,0,0,0.5);
}

ul li:hover a::before{
  background: #b33a2b;
}

ul li:hover a::after{
  background: #e66a5a;
}

