html {
    width: 100%;
    height: 100vh;
}

body {
    background: #000;
    /*background: url(./bgpaper.png);*/
    background-size: cover;
}

#header {
  text-align: center;
  color: #222;
  width: 100%;
  font-size: 1.8em;
  margin-top: 20px;
  font-family: 'Special Elite', cursive;
}

#mute {
  position: fixed;
  top: 0px;
  right: 0px;
}

#text {
    position: absolute;
    font-size: 1.7rem;
    top: 40%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    font-family: 'Special Elite', cursive;
    color: #fff;
    white-space: pre-wrap;
    text-align: center;
}



@keyframes fadeout {
    100% { opacity: 0; visibility: hidden;}
}
@keyframes fadeinout {
    0% { opacity: 0; }
    25% { opacity: 1; }
    100% { opacity: 0; }
}

#click_prompt {
    position: absolute;
    color: #222;
    font-family: 'Special Elite';
    font-size: 1.5em;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    white-space: pre-wrap;
    text-align: center;
    top: 40%;
    margin-top: -75px;
    transition: opacity 2s ease-out;
}

#click_prompt.prompt-pulse {
    animation: fadeinout 4s infinite;
}

#click_prompt.fade-out {
    animation: fadeout 0.5s forwards;
}

.center {
    text-align: center;
    left: 50%;
}

.right {
    text-align: right;
    left: 100%;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% {opacity: 0;}
}

.cursor {
    animation: cursor-blink 1s step-end infinite;
    cursor: default;
    background-size: 100% 100%;
    background-position: center;
}

#pulse {
    left: 50%;
    margin-left: -25px;
    margin-top: -14px;
}

div.prompt {
  font-size: .75em;
  color: #222;

}

.pulsing-ring {
    width: 50px;
    height: 50px;
    border-radius: 50%;    
    position: absolute; /* Important for pseudo-elements */
}

@keyframes pulse {
      0% {
        transform: scale(1);
        box-shadow:  0 0 0 0 #8888;
        /*box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7); /* Initial shadow */
      }
      70% {
        transform: scale(1.2); /* Expand the ring */
        box-shadow:  0 0 0 20px #8880;
        /*box-shadow: 0 0 0 20px rgba(52, 152, 219, 0); /* Expand and fade shadow */
      }
      100% {
        transform: scale(1);
        box-shadow:  0 0 0 0 #8880;
        /*box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); /* Return to original size, shadow gone */
      }
    }

    .pulsing-ring {
      /* ... (previous styling) ... */
      animation: pulse 2s infinite; /* Apply the animation */
    }