@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English+SC&display=swap');


#overlay{
    font-size: 1rem;
}

.d-none{
    display:none;
}

.interact{
    pointer-events: all;
}

.interact:hover{
    cursor: pointer;
}

body{
    font-size: 16px;
    color: white;
}

div{
    font-size: 6rem;
}

#progress-bar {
    width: 80%;
    margin: 4rem auto 2rem;
    height: 5rem; 
    border: 4px solid #8F9EA6; 
    background: #050a0d;
    box-shadow:
        0 0 8px rgba(0,255,150,0.15),
        inset 0 0 12px rgba(0,0,0,0.8);
    overflow: hidden;
    position: relative;
    font-size: 1rem; 
}

#progress-bar > div {
    height: 100%;
    width: 0%; 
    background: linear-gradient(
        to right,
        #4bcf8b,
        #b4ffcc 40%,
        #4bcf8b
    );
    box-shadow:
        0 0 12px rgba(150,255,150,0.5),
        inset 0 0 8px rgba(0,0,0,0.8);
    transition: width 0.1s linear;
    position: relative;
}

#progress-bar > div::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        transparent 0px,
        rgba(255,255,255,0.08) 3px,
        transparent 6px
    );
    mix-blend-mode: overlay;
    pointer-events: none;
}

.text-left{
    text-align: left;
}

ul{
    list-style-type: none;
    margin: 0;
    padding:0;
}

#title{
    font-family: 'IM Fell English SC', serif;
    font-size: 12rem; 
    font-weight: normal;
    line-height: 1.25;
    color: #E6E6DF; 
    margin: 0 auto;
    width: max-content;
    margin-top: 10rem;
    margin-bottom: 10rem;
}


/* BUTTONS */

.btn {
    font-size: 7rem;
    width: 80%;
    margin: 2rem auto;
    padding: 4rem 0rem;

    background: #1E2931;
    color: #C7C59A;
    font-family: "Courier New", monospace;

    border: 2px solid #8F9EA6;
    box-shadow:
        0 0 8px rgba(0,255,150,0.1),
        inset 0 0 12px rgba(0,0,0,0.7);

    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}


.btn::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        transparent 0px,
        rgba(255,255,255,0.04) 2px,
        transparent 4px
    );
    pointer-events: none;
}

.btn:hover {
    border-color: #C7C59A;
    color: #E6E6DF;
    box-shadow:
        0 0 12px rgba(199,197,154,0.4),
        inset 0 0 20px rgba(0,0,0,0.8);
}



#fade-overlay {
    position: fixed;
    inset: 0;
    background: rgb(0, 0, 0);
    opacity: 0;
    pointer-events: none;
    z-index: 999999;
    transition: opacity 2s;
}

#fade-overlay.active {
    opacity: 1;
}

#floors{
    position: fixed;
    width: 24.7%;
    top: 33.4%;
    right: 36.2%;
    font-family: 'Press Start 2P', monospace;
    font-size: 4rem;
    color: #f0ffd9;
    text-align: center;
    text-shadow: 0px 1px 0px #2b3e0f, 0px -1px 0px #2b3e0f, 1px 0px 0px #2b3e0f, -1px 0px 0px #2b3e0f;
    letter-spacing: 1px;
    font-weight: normal;
}

#current-floor{
    font-size: 8rem;
    margin-top: -1rem;
}

.regular-text {
    margin-left: 7rem;
    margin-right: 2rem;
    margin-top: 10rem;
    padding: 2rem 3rem;
    color: #d1e7c5;
    font-family: "Press Start 2P", monospace;
    font-size: 4.5rem;
    line-height: 1.6;
    text-align: left;

    text-shadow:
        0 0 4px rgba(150, 255, 150, 0.4),
        0 0 8px rgba(150, 255, 150, 0.2);
    letter-spacing: 1px;
}

#floor-reached{
    font-size: 8rem;
    font-weight: bold;
    color: #a1ff9e;
}



@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


.fade {
    opacity: 0;
    animation: fadeIn 0.6s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }
.delay-4 { animation-delay: 1.2s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}