* {
    margin: 0;
    padding: 0;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden
}

.webgl {
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}

a {
    color: rgb(0, 255, 229);
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}

.footer{
  position: fixed;
  top: 12px;
  left: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  font-family: system-ui, sans-serif;
  background: rgba(0,0,0,0.35);
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.instructions {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-family: system-ui, -apple-system, sans-serif;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 20px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    pointer-events: none;
    line-height: 1.6;

    /* --- New Animation Properties --- */
    animation: fadeOut 1s linear 30s forwards;
}

/* Define the fade-out behavior */
@keyframes fadeOut {
    from { opacity: 1; visibility: visible; }
    to { opacity: 0; visibility: hidden; }
}

.instructions b {
    color: rgb(0, 255, 229);
}

#mode-text {
    color: rgb(0, 255, 229);
    text-transform: capitalize;
    font-weight: bold;
}