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

:root {
  --bg: white;
  --contrast: black;
  --contrast-text: rgb(255, 255, 255);
  --text: black;
  --text-light: gray;
  --muted-text: rgb(192, 192, 192);
  --muted-bg: rgb(233, 233, 233);
}

[data-theme="pink"] {
  --bg: #fff5f7;
  --contrast: #2b1d22;
  --contrast-text: #db97af;
  --text: #2b1d22;
  --text-light: #a06a78;
  --muted-text: #d8aab6;
  --muted-bg: #ffe3ea;
}


[data-theme="final-boss"] {
  --bg: #050505;
  --contrast: #8A2BE2;
  --contrast-text: #EAEAEA;
  --text: #EAEAEA;
  --text-light: #9CA3AF;
  --muted-text: #6B7280;
  --muted-bg: #0B0B0B;

 
  --accent: #00F5FF;
}

body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "IBM Plex Sans", sans-serif;
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
}
[data-theme="final-boss"] body{
  animation: screenFlicker 300ms infinite;
}

@keyframes screenFlicker {
  0%, 100% { opacity: 1; }
  66% { opacity: 1; }
  77% { opacity: 0.2; }
  88% { opacity: 1; }
  99% { opacity: 0.5; }
}
#bgImage,
#bgImage2 {
  position: absolute;
  font-size: 20rem;
  font-weight: 800;
  top: 0;
  left: 0;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  color: var(--muted-bg);
}

.scaleUp {
  animation: scaleUp 12s ease-in;
}
@keyframes scaleUp {
  from {
    transform: translate(-50%, -50%);
  }
  to {
    top: 50%;
    transform: translate(-50%, -50%) scale(8);
  }
}

main {
  max-width: 1024px;
  padding: 4rem 1rem;
  text-align: center;
}

h1 {
  font-size: 4rem;
  max-width: 600px;
  margin: 0 auto 1.25rem;
  text-align: center;
  line-height: 0.9;
  color: var(--text);
}

p {
  color: var(--text-light);
  max-width: 65ch;
}
.clickBelow {
  color: var(--muted-text);
}
#subText {
  margin-bottom: 0.5rem;
}
#redirectBtn {
  display: inline-block;
  text-decoration: unset;
  padding: 0.5rem 0.75rem;
  border-radius: 2rem;
  corner-shape: squircle;
  background-color: var(--contrast);
  color: var(--contrast-text);
  margin-top: 1.25rem;
  font-size: 0.85rem;
  box-shadow: 0 0 12px 2px #11111173;
}
.fadeIn {
  animation: fadeIn 12s ease-in;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#visited {
  color: var(--muted-text);
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  font-family: "JetBrains Mono", monospace;
  text-align: right;
}

#speaker-container{
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--contrast);
  color: var(--contrast-text);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 6px;
  border: unset;
}
#speakerOff{
  display: none;
}
@media (max-width: 500px) {
  h1 {
    font-size: 3rem;
  }
}
