.press-start-2p-regular {
    font-family: "Press Start 2P", system-ui;
    font-weight: 200;
    font-style: normal;
  }
.quantico-regular {
    font-family: "Quantico", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  
:root {
    --bg-color: #000;
    --mike-height: 95vh;
    --eye-size: 101%;
    --eye-img-scale: 1.0;
    --eye-move-factor: 0.5;
    --mike-text-color: #00FFAA;
    --mike-text-size: 1.1rem;
    --transition-fast: 300ms;
}

html,
body {
    height: 100%;
    margin: 0;
    background: var(--bg-color);
    overflow: hidden;
    font-family: sans-serif;
}

.mike,
.mike-tail {
    position: fixed;
    bottom: 0;
    height: var(--mike-height);
    display: block;
    pointer-events: none;
}

#mike-container {
    left: 0;
    width: auto;
    height: var(--mike-height);

}

#mike-container img#mike-img {
    bottom: 33px;
    height: 100%;
    width: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    z-index: 10;
}

#mike-text {
    position: absolute;
    bottom: 7%;
    left: 19%;
    width: 100%;
    max-width: 450px;
    color: var(--mike-text-color);
    font-size: var(--mike-text-size);
    background: transparent;
    outline: none;
    border: none;
    pointer-events: auto;
    -webkit-user-modify: read-write;
    white-space: normal;
    z-index: 10;
    opacity: 1;
    transition: opacity 200ms ease;
    font-family: "Press Start 2P", system-ui;
}

#mike-text h3 {
    margin: 4px 4px 6px 0;
    font-size: 30px;
    font-family: "Press Start 2P", system-ui;
}

#mike-text p {
    font-family: "Quantico", sans-serif;
    margin: 6px 5px 8px 0;
    font-size: 17px;
    line-height: 1.8;
}
#mike-text h5 {
    margin: 4px 4px 6px 0;
    font-size: 14px;
    font-family: "Press Start 2P", system-ui;
    line-height: 1.5;
}
#welcome-images {
    position: absolute;
    top: -40px;
    right: 55px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
    width: 20px;
    z-index: 12;
    pointer-events: none;
}

#welcome-images img {
    width: 100px;
    height: auto;
    display: block;
    object-fit: contain;
}

#mike-container .mike-text-wrap {
    max-width: 7%;
}

#mike-tail-container {
    right: 55px;
    bottom: -300px;
    width: auto;
    height: var(--mike-height);
    pointer-events: auto;


}

#mike-tail-container img {
    height: 600px;
    width: auto;
    display: block;
    pointer-events: auto;
    cursor: pointer;
    z-index: 0.5;
}

#mike-eyeballs {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    overflow: hidden;
}

#mike-eyeballs-img {
    width: var(--eye-size);
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
}

#mike-eyes {
    position: absolute;
    width: calc(var(--eye-size) * var(--eye-img-scale));
    height: auto;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    transition: transform var(--transition-fast) ease;
    pointer-events: none;
    user-select: none;
}

.moving-eyes #mike-eyes {
    transition: transform 120ms cubic-bezier(.2, .9, .2, 1);
}

#mike-container.laughing {
    z-index: 9999;
    pointer-events: none;
}

#mike-container.laughing #mike-img {
   
    will-change: transform, opacity;
    animation: mike-zoom 3999ms cubic-bezier(.2, .9, .2, 1) forwards;
    
    transform-origin: 20% 80%;

}


.hide-eyes #mike-eyes,
.hide-eyes #mike-eyeballs-img,
.hide-eyes #mike-eyeballs {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 120ms linear;
}


#fullscreen-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 600ms linear;
    z-index: 10000;
}


#fullscreen-overlay.active {
    opacity: 1;
    pointer-events: auto;
}


.fade-target {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 9000ms ease, transform 900ms ease;
}

body.fade-in .fade-target {
    opacity: 1;
    transform: translateY(0);
}


@keyframes mike-zoom {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    60% {
        transform: translate(-20%, -40%) scale(3);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -80%) scale(8);
        opacity: 0;
    }
}


#mike-text:focus {
    outline: none;
}


#text {
    position: fixed;
    right: 77px;
    top: 32px;
    height: 900px;
}


.lines {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 300;
    opacity: 0.05;
}

.lines:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, .5) 51%);
    background-size: 100% 4px;
    will-change: background, background-size;
    animation: scanlines 0.2s linear infinite;
}

@keyframes scanlines {
    from {
        background: linear-gradient(to bottom, transparent 10%, rgba(0, 0, 0, .5) 51%);
        background-size: 100% 4px;
    }

    to {
        background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 50%, transparent 51%);
        background-size: 100% 4px;
    }
}
