/**
 * Crystal Heart 3D Animation Styles
 * Created by @saklin_01
 */

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

html,
body {
  overflow: hidden;
  background: #16000a;
  border: 0;
  outline: 0;
  box-shadow: none;
}

body {
  color: #ffdada;
}

body::before {
  content: none !important;
  display: none !important;
}

.webgl {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  outline: none;
}

#start-prompt {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 101;
  font-family: sans-serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.started #start-prompt {
  opacity: 0;
}

#play-music {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 102;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(22, 0, 10, 0.75);
  color: inherit;
  cursor: pointer;
}

#play-music svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

#play-music:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 600px) {
  #play-music {
    top: 1.75rem;
    right: 1.75rem;
  }
}