:root {
	--pale-red: #ec8b8b;
	--red: #b90000;
	--yellow: #c3c3c3;
	--purple: #ec8b8b;
	--grey: #c3c3c3;
	--atts: #A3F0EB;
	--hsted: #ff0000;
	--background: #000;
	--blue: #40E0D0;
    --pale-blue: #A3F0EB;
	--hover-blue: #48F0E0;
}

body {
    background-color: var(--background);
    margin-top: 10px;
    -webkit-user-select: none; 
    -moz-user-select: none;    
    -ms-user-select: none;     
    user-select: none;         
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.overlay {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.proceed-button {
    cursor: pointer;
    text-align: center;
    color: #ffffff; 
    background-color: #40E0D0; 
    font-family: TopazPlus, sans-serif;
    padding: 10px 20px;
    border: none; 
    border-radius: 5px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
}

.proceed-button:hover {
    background-color: #40E0D0;
    transform: scale(1.05); 
}

.hidden { display: none; }

.pale-red { color: var(--grey); }

.custom-cursor {
    cursor: url('.png'), auto;
}

/* Fade */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Typing */
.typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid;
    animation: typing 0.5s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: black; }
}

/* Glitch */
@keyframes glitch {
    0% { transform: translate(0); }
    10% { transform: translate(-0.5px, 0.5px); }
    20% { transform: translate(-0.5px, -0.5px); }
    30% { transform: translate(0.5px, 0.5px); }
    40% { transform: translate(0.5px, -0.5px); }
    50% { transform: translate(-0.5px, 0.5px); }
    60% { transform: translate(-0.5px, -0.5px); }
    70% { transform: translate(0.5px, 0.5px); }
    80% { transform: translate(0.5px, -0.5px); }
    90% { transform: translate(-0.5px, 0.5px); }
    100% { transform: translate(0); }
}

.glitch { animation: glitch 0.05s infinite; }

.hsted { color: var(--hsted); }
.atts { color: var(--atts); }
.red { color: var(--red); }
.blue { color: var(--blue); }
.purple { color: var(--purple); }

a {
    text-decoration: none;
    color: var(--grey);
}

a:hover { color: var(--hover-blue); }

#text {
    text-align: left;
    font-family: TopazPlus;
    color: var(--light-blue);
    display: block;
}

#content {
    margin: 0 auto;
    width: 609px;
}

p {
    font-family: TopazPlus;
    color: var(--grey);
}

pre {
    font-family: TopazPlus;
    color: var(--purple);
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

@font-face {
    font-family: TopazPlus;
    src: url("TopazPlus.ttf");
}

/* Flicker fix */
.blink {
    -webkit-animation: flicker 3s infinite;
}

.blink2 {
    -webkit-animation: flicker 0.01s infinite;
}

@-webkit-keyframes flicker {
    0%   { opacity: 1; }
    10%  { opacity: 0; }
    20%  { opacity: 0.5; }
    30%  { opacity: 1; }
}

/* Broken flicker 2 FIXED */
@keyframes brokenFlicker2 {
    0%, 20%, 29%, 35%, 76%, 81%, 100% {
        opacity: 1;
        text-shadow: 0 0 2px #40E0D0, 0 0 4px #40E0D0, 0 0 6px #40E0D0;
    }
    15%, 25%, 58% {
        opacity: 0.7;
        text-shadow: none;
    }
    22%, 63% {
        opacity: 0.85;
        text-shadow: 0 0 1px #40E0D0, 0 0 2px #40E0D0, 0 0 3px #40E0D0;
    }
}

.flicker-text2 {
    animation: brokenFlicker2 0.01s infinite;
}

/* Hosted FIX */
.hosted {
    position: absolute;
    bottom: 2px;
    width: 100%;
    text-align: center;
}

/* Media */
@media screen and (max-width: 700px) {
    pre { font-size: 16px; }
    #content { width: 400px; }
}

@media screen and (max-width: 411px) {
    pre { font-size: 11px; }
    #content { width: 298px; }
}

#controls {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    margin-bottom: -30px;
}

#songTitle {
    font-size: 18px;
    margin: 0 auto;
    font-family: TopazPlus, Arial, sans-serif;
    color: var(--grey);
}
#snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}
