* {
    padding: 0;
    margin: 0;
  }
  body {
    height: 100vh;
    background: #262626;
    display: grid;
    place-items: center;
  }
  .social__links {
    display: flex;
  }
  a {
    margin: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 15px;
    transform: rotate(-15deg) skewX(40deg);
    text-decoration: none;
    padding: 10px 30px;
    font-size: 30px;
    color: #fff;
    background: #616161;
    transition: 0.5s;
  }
  a span {
    position: absolute;
    transition: 0.5s;
  }
  a span:nth-child(2) {
    top: 0;
    left: -30px;
    width: 30px;
    height: 100%;
    transform-origin: right;
    transform: skewY(-45deg);
    background: #4f4e4e;
  }
  a span:nth-child(3) {
    left: 0;
    bottom: -30px;
    height: 30px;
    width: 100%;
    transform-origin: top;
    transform: skewX(-45deg);
    background: #3c3a3a;
  }
  a:nth-child(1):hover {
    background: #4267b2;
  }
  a:nth-child(1):hover span:nth-child(2) {
    background: #2d487c;
  }
  a:nth-child(1):hover span:nth-child(3) {
    background: #21365c;
  }
  a:nth-child(2):hover {
    background: #1da1f2;
  }
  a:nth-child(2):hover span:nth-child(2) {
    background: #1880c0;
  }
  a:nth-child(2):hover span:nth-child(3) {
    background: #14679b;
  }
  a:nth-child(3):hover {
    background: #db4a39;
  }
  a:nth-child(3):hover span:nth-child(2) {
    background: #b13a2d;
  }
  a:nth-child(3):hover span:nth-child(3) {
    background: #8b2d23;
  }
  a:nth-child(4):hover {
    background: #333;
  }
  a:nth-child(4):hover span:nth-child(2) {
    background: rgb(34, 34, 34);
  }
  a:nth-child(4):hover span:nth-child(3) {
    background: rgb(29, 29, 29);
  }
  a::before,
  a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
  }
  a:hover::before {
    top: -30px;
    left: 30px;
  }
  a:hover::after {
    top: -60px;
    left: 60px;
  }
  a:hover::before,
  a:hover::after {
    background: rgba(255, 255, 255, 0.3);
  }
  .links {
    transform: skew(0deg);
    transition: 0.5s;
  }
  a:hover .links {
    transform: translate(80px, -80px);
  }