body {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: black;
  font-family: consolas;
}

.anim {
  position: relative;
  display: inline-block;
  padding: 25px 50px;
  color: #2196f3;
  /* text-transform: uppercase; */
  letter-spacing: 4px;
  overflow: hidden;
  transition: 1s;
  text-decoration: none;
  font-size: 28px;
}

a:hover {
  color: white;
  background: #2196f3;
  box-shadow: 0 0 40px #2196f3, 0 0 80px #2196f3, 0 0 160px #2196f3;
  transition-delay: 1.5s;
}

/*up*/

a span {
  position: absolute;
  display: block;
}

a span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff);
}

a:hover span:nth-child(1) {
  left: 100%;
  transition: 3s;
}

/*down*/

a span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #ffffff);
}

a:hover span:nth-child(3) {
  right: 100%;
  transition: 3s;
  /* transition-delay: 0.5s */
}

/*right*/

a span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(270deg, transparent, #ffffff);
}

a:hover span:nth-child(2) {
  top: 100%;
  transition: 3s;
  /* transition-delay: 0.25s */
}

/*left*/

a span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #ffffff);
}

a:hover span:nth-child(4) {
  bottom: 100%;
  transition: 3s;
  /* transition-delay: 0.75s */
}

h1 {
  text-align: center;
}
.social-menu {
  position: absolute;
  top: 90%;
  left: 50%;
}
.social-menu ul {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 0;
  margin: 0;
  display: flex;
}
.social-menu ul li {
  list-style: none;
  margin: 0 10px;
}
.social-menu ul li .fa {
  color: #000000;
  font-size: 30px;
  line-height: 50px;
  transition: 0.5s;
}
.social-menu ul li .fa:hover {
  color: #ffffff;
}
.social-menu ul li a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  text-align: center;
  transition: 0.5s;
  transform: translate(0, 0px);
  box-shadow: 0px 5px 7px rgb(0, 0, 0);
}
.social-menu ul li a:hover {
  transform: rotate(0deg) skew(0deg) translate(0, -10px);
}

/* .social-menu ul li:nth-child(1) a:hover {
  background-color: #55acee;
} */
.social-menu ul li:nth-child(1) a:hover {
  background-color: #e4405f;
}
.social-menu ul li:nth-child(2) a:hover {
  background-color: #cd201f;
}
.social-menu ul li:nth-child(3) a:hover {
  background-color: #161b22;
}
/* @media (max-width: 1140px) {
  .social-menu {
    top: 85%;
  }
} */
@media (max-width: 680px) {
  .anim {
    padding: 15px 20px;
    letter-spacing: 2px;
    font-size: 24px;
  }
  /* .social-menu {
    top: 80%;
  } */
}
