* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins";
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #0e1538;
}
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.container a {
  margin: 20px;
  width: 160px;
  height: 60px;
  display: inline-block;
  background: #fff;
  position: relative;
}
.container a::before,
.container a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #111;
  transition: 0.5s;
}
.container a span {
  width: 100%;
  height: 100%;
  background: #0e1538;
  color: #fff;
  border: 2px solid #040a29;
  text-transform: uppercase;
  font-size: 1.2em;
  letter-spacing: 2px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: inline-block;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container a:hover::after {
  inset: -3px;
  filter: blur(10px);
}
.container a:hover::before {
  inset: -3px;
}
.container a:nth-child(1)::before,
.container a:nth-child(1)::after {
  background: linear-gradient(45deg, #00ccff, #0e1538, #0e1538, #d400d4);
}
.container a:nth-child(2)::before,
.container a:nth-child(2)::after {
  background: linear-gradient(45deg, #ff075b, #0e1538, #0e1538, #1aff24);
}
.container a span::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  background: rgba(255, 255, 255, 0.2);
  transform: skew(25deg);
  height: 100%;
  width: 100%;
}
