@font-face {
    font-family: 'Pixel';
    src: url(fonts/pixel.ttf);
}
body {
    background-color: #000;
    background-image: url(images/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    height: 100vh;
}
* {
    font-family: 'Pixel', monospace;
    font-size: 24px;
    user-select: none;
}
.text {
    color: #DDD;
    text-shadow: 4px 4px #000;
    padding: 8px;
    margin: 0;
}
#score {
    position: fixed;
    top: 0;
    left: 0;
}
#menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
hr {
    width: 200px;
    border: 1px solid #DDD;
}
#gameStyleText {
    text-transform: capitalize;
}
#gameStyles {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.gameStyle {
    padding: 0;
    margin: 0;
    width: 46px;
    height: 46px;
    position: relative;
}
.gameStyle .icon {
    width: 36px;
    height: 36px;
    image-rendering: pixelated;
}
.gameStyle .badge {
    width: 21px;
    image-rendering: pixelated;
    position: absolute;
    bottom: -10px;
    right: -10px;
}
#timebar {
    height: 12px;
    box-shadow: 4px 4px 0px #0008;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -80px;
}
#clickSequence {
    position: fixed;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}
#indicators {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    filter: drop-shadow(6px 6px #000C);
    margin-right: 32px;
}
.indicatorGroup {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.inactive {
    filter: brightness(0.5) grayscale(0.1);
    transform: translateY(4px);
}
.indicator {
    width: 36px;
    image-rendering: pixelated;
}
#tutorial {
    position: fixed;
    top: calc(50% + 100px);
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #9300FF;
    padding: 4px 8px;
    box-shadow: 4px 0px #6900B2, 0px 4px #6900B2, -4px 0px #6900B2, 0px -4px #6900B2, 8px 4px #0008, 4px 8px #0008;
}
button {
    background-color: #785F47;
    border: 4px solid #A68A73;
    outline: 4px solid #50352D;
    box-shadow: 0px 8px #2B1818;
    cursor: pointer;
}
button:hover {
    color: white;
    background-color: rgb(143, 120, 100);
}
#deathScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #EE1212;
    z-index: 100;
    transition: opacity 0.95s;
}
#deathMessage {
    font-size: 84px;
    color: #DDD;
    text-shadow: 12px 12px black;
}
#overtakenScreen {
    background-color: #9b23d3;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    transition: opacity 0.4s;
    opacity: 0;
    pointer-events: none;
}
#overtakenBar {
    background-color: #c700c7;
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.2s linear;
    text-align: center;
    overflow: hidden;
}
#parasiteContainer {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
#parasite {
    transition: transform 0.2s ease-in-out;
    animation: parasiteMove 1.5s ease-in-out;
}
@keyframes parasiteMove {
    0% {
        transform: translateY(-100px);
        opacity: 0;
        filter: brightness(1);
    }
    30% {
        transform: translateY(0px);
        opacity: 1;
        filter: brightness(1);
    }
    70% {
        transform: translateY(0px);
        filter: brightness(1);
        opacity: 1;
    }
    95% {
        transform: scale(15);
        filter: brightness(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        filter: brightness(0);
    }
}
#resistedText {
    background-color: #555555;
    position: fixed;
    top: 50%;
    left: 50%;
    font-size: 48px;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s;
    padding: 10px 20px 0 20px;
    box-shadow: 10px 10px #151515;
}
#congratsScreen {
    background-color: #785F47;
    border: 4px solid #A68A73;
    outline: 4px solid #50352D;
    box-shadow: 0px 8px #2B1818;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    transform: translate(-50%, -50%);
    z-index: 2;
}
#specialPerson {
    animation: specialAnimation 1s ease-in-out infinite;
}
@keyframes specialAnimation {
    0% {
        color: #90cde9;
    }
    50% {
        color: #f4bbff;
    }
    100% {
        color: #90cde9;
    }
}