body {
  font-family: Hack, monospace;
  background-color: #000000;
  color: #4aff75;
  margin: 0;
  padding: 0;
  
  min-height: 100vh;
  display: flex;
  flex-direction: column;

}

.container {
  background: #4a4a4a;
  padding: 30px;
  margin: 60px auto;
  border-radius: 8px;
  max-width: 700px;
  max-height: none;
  flex: none;
}

.heading {
  animation-duration: 2.5s;
  animation-name: text-slide;
}

.typewriter h1 {
  animation-duration: 2.5s;
  animation-name: typewriter;
}

@keyframes text-slide {

  0% {
    transform: translateX(150vw) scale(2);
  }

  25% {
    transform:translateX(75vw) scale(1);
  }
  50% {
    transform: translateX(25vw) scale(2);
  }
  100% {
    transform: translateX(0vw) scale(1);
  }
  
}

@keyframes typewriter {
  0% {
    transform: translateX(150vw) scale(2);
  }

  25% {
    transform:translateX(75vw) scale(1);
  }
  50% {
    transform: translateX(25vw) scale(2);
  }
  100% {
    transform: translateX(0vw) scale(1);
  }
  
}

#music-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;

  background: black;
  color: #4aff75;
  border: 2px solid #4aff75;
  padding: 10px 18px;
  font-family: Hack, monospace;
  cursor: pointer;
}

#music-btn:hover {
  background: #4aff75;
  color: black;
}

#cool-btn {
  display: block;
  margin: 20px auto 0;

  background: black;
  color: #4aff75;
  border: 2px solid #4aff75;
  padding: 10px 18px;
  font-family: Hack, monospace;
  cursor: pointer;
}

#cool-btn:hover {
  background: #4aff75;
  color: black;
}


footer {
  text-align: center;
  padding: 15px;
  background: #1a1a1a;
  color: #4aff75;
  border-top: 2px solid #4aff75;
  margin-top: auto;
}

nav {
  width: 100%;
  background-color: #4a4a4a;
  border-bottom: 4px solid #4aff75;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 15px 30px;
  display: flex;
  gap: 20px;
  align-items: center;
}

nav a {
  color: #4aff75;
  text-decoration: none;
  font-weight: normal;
}

nav a:hover {
  font-weight: bold;
}

.profile-pic {
  width: 150px;
  border-radius: 50%;
  display: block;
  margin: 20px auto;
  border: 4px solid #4aff75;
}

.profile-pic1 {
  transform: rotate(270deg);
  width: 250px;
  border-radius: 50%;
  display: block;
  margin: 20px auto;
  border: 4px solid #4aff75;
}

h1 {
  color: #4aff75;
}

.glitch {
  position: relative;
  font-size: 80px;
  color: #4aff75;
  text-align: center;
  font-family: Hack, monospace;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #ff00c1;
  animation-name: glitch-anim;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 #00fff9;
  animation-name: glitch-anim2;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(0, 9999px, 0, 0); }
  10% { clip: rect(5px, 9999px, 10px, 0); }
  20% { clip: rect(15px, 9999px, 20px, 0); }
  30% { clip: rect(25px, 9999px, 30px, 0); }
  40% { clip: rect(35px, 9999px, 40px, 0); }
  50% { clip: rect(45px, 9999px, 50px, 0); }
  60% { clip: rect(55px, 9999px, 60px, 0); }
  70% { clip: rect(65px, 9999px, 70px, 0); }
  80% { clip: rect(75px, 9999px, 80px, 0); }
  90% { clip: rect(85px, 9999px, 90px, 0); }
  100% { clip: rect(95px, 9999px, 100px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(100px, 9999px, 110px, 0); }
  10% { clip: rect(90px, 9999px, 100px, 0); }
  20% { clip: rect(80px, 9999px, 90px, 0); }
  30% { clip: rect(70px, 9999px, 80px, 0); }
  40% { clip: rect(60px, 9999px, 70px, 0); }
  50% { clip: rect(50px, 9999px, 60px, 0); }
  60% { clip: rect(40px, 9999px, 50px, 0); }
  70% { clip: rect(30px, 9999px, 40px, 0); }
  80% { clip: rect(20px, 9999px, 30px, 0); }
  90% { clip: rect(10px, 9999px, 20px, 0); }
  100% { clip: rect(0, 9999px, 10px, 0); }
}

