html {
  font-family: "Lucida Console", "Courier New", monospace;
}

img[alt="haand"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 600px;
  width: 600px;
}

img[alt="palm"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 5px solid black;
}

.h1-wrapper {
  width: 500px;
  margin: 0 auto;
  overflow: hidden;
}

h1 {
  text-align: center;
  transition: transform .2s;
  transform: scale(1);
  margin: 0 auto;
  overflow: hidden;
  transform-origin: center center;
}

h1:hover {
  transform: scale(1.5);
  max-width: 200px;
}

h2:hover, h4 {
  color: #00ff00; 
  text-shadow:
    0 0 8px #00ff00,
    0 0 16px #00ff00,
    0 0 24px #00cc00,
    0 0 32px #00cc00,
    2px 2px 6px #003300,
    -2px -2px 6px #003300;
  animation: flicker 2.5s infinite alternate, shake 0.6s infinite;
}

@keyframes flicker {
  0%, 100% {
    opacity: 1;
    text-shadow:
      0 0 8px #00ff00,
      0 0 16px #00ff00,
      0 0 24px #00cc00,
      0 0 32px #00cc00,
      2px 2px 6px #003300,
      -2px -2px 6px #003300;
  }
  50% {
    opacity: 0.8;
    text-shadow:
      0 0 12px #00ff00,
      0 0 20px #00ff00,
      0 0 30px #00cc00;
  }
}

@keyframes wobble {
  0% {
    transform: rotate(-0.3deg) skewX(0.3deg);
  }
  100% {
    transform: rotate(0.3deg) skewX(-0.3deg);
  }
}

.h2-wrapper {
  text-align: center;
  width: 500px;
  margin: 0 auto;
  overflow: hidden;
}

iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 5px solid black;
}

p {
  text-align: center;
}

h3 {
  text-align: center;
}

ul {
  text-align: center;
}

li {
  text-align: center;
  list-style-position: inside;
}

.spin {
  display: block;
  margin: 0 auto;
  width: 500px; /* match container if needed */
  height: 500px;
  animation: spin 20s linear infinite;
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  position: relative;
  z-index: 1;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.scrolling-text {
  width: 50%;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
  white-space: nowrap;

  background-color: rgba(0, 0, 0, 0.7); 
  padding: 10px 20px;
  border-radius: 8px;
}

.scrolling-text-inner {
  display: inline-flex;
  animation: scroll-left 40s linear infinite;
}

.scrolling-text-inner h4 {
  display: inline-block;
  padding-right: 10px;
  margin: 0;
  white-space: nowrap;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

body {
  position: relative;
  margin: 0;
  background: lightgrey url("/haand3.png") no-repeat fixed center;
  background-size: cover;
  z-index: 0;
  cursor: none;
}

/* Cursor base */
.cursor {
  position: fixed;
  width: 24px;
  height: 24px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
  background: transparent;
  border: none;
}

.cursor-main::before,
.cursor-main::after {
  content: "";
  position: absolute;
  background: #000000;
  border-radius: 0;
  animation: pulseLines 2.5s ease-out infinite;
}

.cursor-main::before {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
}

.cursor-main::after {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 2px;
  width: 100%;
}

.cursor-trail::before,
.cursor-trail::after {
  content: "";
  position: absolute;
  background: #000000;
  border-radius: 0;
}

.cursor-trail::before {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
}

.cursor-trail::after {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 2px;
  width: 100%;
}

.cursor-main {
  opacity: 1;
}

.cursor-trail {
  opacity: 0.4;
  filter: blur(1.5px);
}

.trail1 {
  opacity: 0.3;
}

.trail2 {
  opacity: 0.25;
}

.trail3 {
  opacity: 0.2;
}

.trail4 {
  opacity: 0.15;
}

@keyframes pulseLines {
  0%,
  100% {
    background: #330000;
    box-shadow: 0 0 5px 1px #330000;
  }
  50% {
    background: #660000;
    box-shadow: 0 0 12px 3px #660000;
  }
}

a, button {
    cursor: crosshair;
    color: #003300;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: 500px;
  margin: 0 auto;
  overflow: hidden;
}

