/* Button shape */
.btn {
  display: flex;
  align-items: center;
  align-content: stretch;
  justify-content: center;
  width: 220px;
  position: relative;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  overflow: hidden;
  font-family: 'Quantico', sans-serif;
  transition: all 0.4s ease;
  transform: skewX(-15deg);
  clip-path: polygon(0 0%,calc(100% - 15px) 0%,100% 15px,100% 100%,100% 100%,15px 100%,0% calc(100% - 15px),0% 0);
}



/* Icons */
.icon {
  width: 32px;
  height: 32px;
  transform: skewX(15deg);
  margin-right: 15px;
  display: inline;
}

.btn span {
  transform: skewX(15deg);
}


/* Prevent Firefox from underlining link text */
a {
  text-decoration: none;
  color: inherit;
}

a:visited {
  color: inherit;
}

a span {
  text-decoration: none !important;
}


/* Button effects */
.hologram {
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.0);
  backdrop-filter: blur(5px);
}

.hologram:hover {
  border: 2px solid rgba(0, 255, 255, 0.5);
  background: rgba(66, 192, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.hologram span {
  position: relative;
  display: inline-block;
}

.hologram:hover span::before,
.hologram:hover span::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  opacity: 0;
  filter: blur(1px);
  transition: all 0.3s ease;
}


.hologram:hover .scan-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(66, 192, 255, 0.8),
    transparent
  );
  top: 0;
  animation: scan 2s linear infinite;
  filter: blur(1px);
}


@keyframes scan {
  0% { top: -10%; }
  100% { top: 110%; }
}

h1.scanlines,
.hologram:hover.scanlines {
  overflow: hidden;
  position: relative;
}

h1.scanlines:before,
h1.scanlines:after,
.hologram:hover.scanlines:before,
.hologram:hover.scanlines:after {
    display: block;
    pointer-events: none;
    content: "";
    position: absolute;
}
h1.scanlines:before,
.hologram:hover.scanlines:before {
    width: 100%;
    height: 2px;
    z-index: 2147483649;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0.75;
    animation: scanline 6s linear infinite;
}

h1.scanlines:before,
.hologram:hover.scanlines:after {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2147483648;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 51%
    );
    background-size: 100% 4px;
    animation: scanlines 2s steps(60) infinite;
}

/* ANIMATE UNIQUE SCANLINE */
@keyframes scanline {
    0% {
        transform: translate3d(0, -200000%, 0);
    }
}
@keyframes scanlines {
    0% {
        background-position: 0 -50%;
    }
}

/* Glitch Text Effect */

/*
.hologram:hover span::before {
  top: -2px;
  color: #C4261E;
  transform: translateX(0);
  animation: glitch 0.5s infinite;
}

.hologram:hover span::after {
  bottom: -2px;
  color: #48E3EB;
  transform: translateX(0);
  animation: glitch 0.4s infinite reverse;
}



@keyframes glitch {
  0%, 100% { transform: translateX(0); opacity: 0.1; }
  20% { transform: translateX(-2px); opacity: 0.3; }
  40% { transform: translateX(2px); opacity: 0.5; }
  60% { transform: translateX(-3px); opacity: 0.3; }
  80% { transform: translateX(3px); opacity: 0.1; }
}
*/