* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column wrap;
  background: #000;
}







.email-button {
   position: relative;
  z-index: 10;
  pointer-events: auto;
  background: black;
  border: none;
  font-size: 1.5em;
  padding: 1em;
  color: whitesmoke;
  margin: 2em;
}


.email-button .comment {
  display: none;
  background: none;
  border: none;
}

.email-button:hover .replies {
  display: none;

}

.email-button:hover .comment {
  display: block;
  background: none;
}

.email-button .comment a {
  font-family: Helvetica Neue, Arial, Helvetica, Geneva, sans-serif;
  font-size: 1em;
  color: #00adef;
  text-decoration: none;
  display: block;
  margin: 5px 0;
  pointer-events: auto;
  background: none;
}

.email-button .comment a:last-child {
  color: #ec008b;
  background: none;
}




/*____________________________________________________________
# SVG
____________________________________________________________*/


@keyframes svg-glitch-effect {
  0% {
    clip: rect(5px, 270px, 42px, 0);
  }
  5% {
    clip: rect(9px, 270px, 68px, 0);
  }
  10% {
    clip: rect(72px, 270px, 55px, 0);
  }
  15% {
    clip: rect(66px, 270px, 70px, 0);
  }
  20% {
    clip: rect(32px, 270px, 13px, 0);
  }
  25% {
    clip: rect(43px, 270px, 52px, 0);
  }
  30% {
    clip: rect(39px, 270px, 75px, 0);
  }
  35% {
    clip: rect(59px, 270px, 8px, 0);
  }
  40% {
    clip: rect(65px, 270px, 2px, 0);
  }
  45% {
    clip: rect(52px, 270px, 39px, 0);
  }
  50% {
    clip: rect(30px, 270px, 70px, 0);
  }
  55% {
    clip: rect(71px, 270px, 49px, 0);
  }
  60% {
    clip: rect(71px, 270px, 18px, 0);
  }
  65% {
    clip: rect(71px, 270px, 35px, 0);
  }
  70% {
    clip: rect(6px, 270px, 69px, 0);
  }
  75% {
    clip: rect(61px, 270px, 23px, 0);
  }
  80% {
    clip: rect(54px, 270px, 38px, 0);
  }
  85% {
    clip: rect(39px, 270px, 4px, 0);
  }
  90% {
    clip: rect(19px, 270px, 17px, 0);
  }
  95% {
    clip: rect(14px, 270px, 28px, 0);
  }
  100% {
    clip: rect(25px, 270px, 39px, 0);
  }
}
/*____________________________________________________________
# Image
____________________________________________________________*/
.img {
  position: relative;
  width: 400px;
  height: 300px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/img/bsa-02.svg);
}

.img {
  transform: translate(-50%, -50%);
  animation: glitch 1s infinite;
}


.img::before, .img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 400px;
  height: 300px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.img::before {
  left: -6px;
  animation: glitch-effect 2s infinite linear alternate-reverse;
  background-image: url(/img/bsa-03.svg);
}
.img::after {
  left: 6px;
  animation: glitch-effect 3s infinite linear alternate-reverse;
  background-image: url(/img/bsa-04.svg);
}

@keyframes glitch-effect {
  0% {
    clip: rect(201px, 400px, 284px, 0);
  }
  5.8823529412% {
    clip: rect(55px, 400px, 263px, 0);
  }
  11.7647058824% {
    clip: rect(204px, 400px, 247px, 0);
  }
  17.6470588235% {
    clip: rect(278px, 400px, 205px, 0);
  }
  23.5294117647% {
    clip: rect(92px, 400px, 46px, 0);
  }
  29.4117647059% {
    clip: rect(148px, 400px, 118px, 0);
  }
  35.2941176471% {
    clip: rect(242px, 400px, 32px, 0);
  }
  41.1764705882% {
    clip: rect(53px, 400px, 94px, 0);
  }
  47.0588235294% {
    clip: rect(86px, 400px, 217px, 0);
  }
  52.9411764706% {
    clip: rect(71px, 400px, 134px, 0);
  }
  58.8235294118% {
    clip: rect(124px, 400px, 187px, 0);
  }
  64.7058823529% {
    clip: rect(213px, 400px, 116px, 0);
  }
  70.5882352941% {
    clip: rect(29px, 400px, 143px, 0);
  }
  76.4705882353% {
    clip: rect(117px, 400px, 241px, 0);
  }
  82.3529411765% {
    clip: rect(298px, 400px, 228px, 0);
  }
  88.2352941176% {
    clip: rect(101px, 400px, 18px, 0);
  }
  94.1176470588% {
    clip: rect(190px, 400px, 6px, 0);
  }
  100% {
    clip: rect(97px, 400px, 17px, 0);
  }
}



/* ========== MEDIA QUERIES ========== */

/* Small devices (phones, less than 600px) */
@media screen and (max-width: 600px) {
  .img {
    width: 90vw;
    max-width: none;
    
  }
}

/* Medium devices (tablets, 600px to 900px) */
@media screen and (min-width: 601px) and (max-width: 900px) {
  .img {
    width: 80vw;
    max-width: 600px;
  }
}

/* Large devices (desktop, 901px and up) */
@media screen and (min-width: 901px) {
  .img {
    width: 400px;
    
  }
}

/*____________________________________________________________
# Canvas
____________________________________________________________*/
@keyframes glitch {
      0% { transform: translate(0); }
      20% { transform: translate(-2px, 2px); }
      40% { transform: translate(-2px, -2px); }
      60% { transform: translate(2px, 2px); }
      80% { transform: translate(2px, -2px); }
      100% { transform: translate(0); }
    }
 
  canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none; /* 👈 This is critical */
}