body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family: "Courier New", monospace;
  background-color: #e6e3df;
}

#email {
  font-size: 4rem;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}

#container {
  text-align: center;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

#email:hover {
  color: #546d1b;
}

#sub {
  padding-top: 0.5rem;
  font-size: 2rem;
  color: #333;
}

.tight {
  letter-spacing: -0.1em;
}

@media (max-width: 768px) {
  #email {
    font-size: 2.5rem;
  }
  #sub {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  #email {
    font-size: 2rem;
  }
  #sub {
    font-size: 1rem;
  }
}

#footer {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

#klop-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
}

#klop-dots {
  display: flex;
  gap: 8px;
}

#klop-dots span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: 0.3;
  transition: opacity 0.2s, transform 0.2s;
}

#klop-dots span:hover {
  opacity: 1;
  transform: scale(1.4);
}

#klop-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #a3a3a3;
}

/* Bug animation */
#bug-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bug-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  opacity: 0.4;
  --leg-dur: 0.3s;
}

/* Walk cycle - alternating leg pairs */
#l_1, #l_3, #r_2, #r_4 {
  animation: leg-a var(--leg-dur, 0.3s) ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: center;
}

#l_2, #l_4, #r_1, #r_3 {
  animation: leg-b var(--leg-dur, 0.3s) ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes leg-a {
  from { transform: rotate(-6deg); }
  to   { transform: rotate(6deg); }
}

@keyframes leg-b {
  from { transform: rotate(6deg); }
  to   { transform: rotate(-6deg); }
}

#b_1, #b_2 {
  animation: body-bob calc(var(--leg-dur, 0.3s) * 4) ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes body-bob {
  from { transform: translateY(-4px); }
  to   { transform: translateY(4px); }
}
