html, body {
  margin: 0;
  padding: 0;
  background-color: black;
}
canvas {
  display: block;
}

@font-face {
        font-family: 'Exposure';
        src: url('ExposureVAR.ttf') format('truetype');
      }

.font-exposure {
  font-family: 'Exposure';
}

#p5_loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color:white;
  font-size: 20px;
  font-family: 'Exposure';
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#stretchme-canvas {
  position: fixed;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  z-index: 0;
  border-radius: 25px;
  box-shadow: 
    0 0 30px rgba(255, 255, 255, 0.1),
    inset 0 0 20px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(0, 0, 0, 0.8);
  border: 3px solid #333;
}

#stretchme-text {
  /* color: blue; */
  color: white;
  mix-blend-mode: difference;
/*   background-color: white; */
  text-align: center;
  font-size: 3.3vw;
  position: absolute;
  left: 50% !important;
  transform: translateX(-50%);
  width: 80% !important;
  margin: 0;
  padding: 0;
}

button {
  font-family: 'Exposure';
  font-size: 16px;
  min-width: 80px;
  padding: 4px 12px;
  border-radius: 4px;
  background-color: rgba(0, 0, 255, 0.5);
  color:white;
  transition: all 0.2s ease-in-out;
}
button:hover {
  color: white;
  scale: 1.05;
  /* background-color:transparent; */
  cursor: pointer;
}
button:active {
  scale: 0.95;
}

.frame-container {
  position: relative;
  width: 50vw;
  max-height: 300px;
  height: 40vw;
}

.frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: sequence 1.2s steps(1, end) infinite;
}
#frame-1 {animation-delay: 0s}
#frame-2 {animation-delay: 0.3s}
#frame-3 {animation-delay: 0.6s}
#frame-4 {animation-delay: 0.9s}


@keyframes sequence {
  0% { opacity: 0; }
  25% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}