/**
 * Theme Name: Stunfest 2026
 * Template:   betheme
 * Text Domain:   stunfest2026
 */

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

:root {
  --bg: #ffd348;
  --black: #1a171b;
  --blue: #00d4ff;
  --purple: #7c3aed;
  --grid: rgba(255, 255, 255, 1);
}

body {
  font-family: "Segoe UI", sans-serif;
  overflow: hidden;
  background: #ffd348;
  color: white;
}

#webgl {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.checker {
  position: fixed;
  left: 0;
  width: 200%;
  height: 30vh;
  z-index: 1;
  background-color: rgba(0, 0, 0, 1);
  background-image: url('data:image/svg+xml;utf8,<svg width="160" height="160" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="80" height="80" fill="%231a171b"/><rect x="80" y="0" width="80" height="80" fill="white"/><rect x="0" y="80" width="80" height="80" fill="white"/><rect x="80" y="80" width="80" height="80" fill="%231a171b"/></svg>');
  background-size: 160px 160px;
  background-repeat: repeat;
  transform-origin: 0 0;
  animation: slideCheckered 8s linear infinite;
}

.top {
  top: 0;
}

.bottom {
  bottom: -25vh;
}

@keyframes slideCheckered {
  from {
    transform: skewY(-7deg) translateX(0);
  }
  to {
    transform: skewY(-7deg) translateX(-50%);
  }
}

#content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
}

#logo {
  width: 40vw;
  min-width: 440px;
  margin: 0 auto 40px;
  filter: drop-shadow(0 0 1rem #fff);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #265cb6;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 900;
  -webkit-text-stroke: 2px #fff;
}

p {
  font-size: 3rem;
  color: var(--black);
  line-height: 1.6;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 900;
  animation: rotation 2s ease-in-out infinite alternate-reverse;
}

p a {
  color: var(--black);
}

p a:hover {
  text-decoration: none;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes rotation {
  from {
    transform: rotate(-20deg);
  }
  to {
    transform: rotate(20deg);
  }
}
