:root {
    --color-background: #00bcd4;
    --bs-body-font-family: Pixeboy;
}

@font-face {
    font-family: 'Pixeboy';
    src: url('/font/Pixeboy-z8XGD.ttf');
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background: var(--color-background);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

#background {
    z-index: 0;
}

#foreground {
    position: relative;
    z-index: 10;
}

#login {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 20;
}

#login-card {
    background: #f1d49057;
    padding: 26px 8px;
    border-radius: 42px;
    border: 5px solid #835300;
    box-shadow: 3px 3px 10px black;
}

#car {
    width: 200px;
    position: absolute;
    left: 10%;
    z-index: 11;
}

#car-body {
    position: absolute;
    width: 200px;
}

#car-body-chase {
    width: 200px;
}

#car-body-exhust {
    width: 80px;
    position: absolute;
    left: -80px;
    top: 20px;
    transform: scaleX(-100%);
}

#car-gun {
    width: 140px;
    position: absolute;
    z-index: 2;
    top: -29px;
    left: 24px;
}

#car-gun-gun {
    width: 140px;
}

#car-gun-muzgle {
    display: none;
    width: 60px;
    position: absolute;
    top: -2px;
    left: 140px;
}

#car-wheel-back {
    position: absolute;
    top: 45px;
    width: 65px;
    left: 4px;
    transform: rotate(0deg);
    z-index: 1;
}

#car-wheel-front {
    position: absolute;
    top: 45px;
    width: 65px;
    left: 123px;
    transform: rotate(0deg);
    z-index: 1;
}

#HUD {
    position: absolute;
    z-index: 30;
    left: 10px;
    top: 10px;
}

#health-bar {
    border: 3px solid #850000;
    width: 300px;
    height: 25px;
    border-radius: 5px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    color: #bb0000;
    margin-bottom: 5px;
}

    #health-bar i {
        margin-left: 3px;
    }

#health-bar-bar {
    background: #bb0000;
    width: 100%;
    height: 100%;
    margin-left: 3px;
    margin-right: 0px;
    border-radius: 2px;
}

#fuel-bar {
    border: 3px solid #000000;
    width: 300px;
    height: 25px;
    border-radius: 5px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    color: #000000;
    margin-bottom: 5px;
}

    #fuel-bar i {
        margin-left: 3px;
    }

#fuel-bar-bar {
    background: #3c3c3c;
    width: 100%;
    height: 100%;
    margin-left: 3px;
    border-radius: 2px;
    margin-right: 0px;
}

#combo-bar {
    border: 3px solid #069800;
    width: 300px;
    height: 25px;
    border-radius: 5px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    color: #107205;
}

    #combo-bar i {
        margin-left: 3px;
    }

#combo-bar-bar {
    background: #107205;
    width: 0%;
    height: 100%;
    margin-left: 3px;
    border-radius: 2px;
    margin-right: 0px;
}

#combo-multiplier {
    font-size: xx-large;
    color: #107205;
}

#captcha-display {
    background: #fffac873;
    padding: 10px;
    border: 3px solid #c2af8e;
    position: absolute;
    width: 160px;
    border-radius: 10px;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
}

#captcha-display-body {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 10px;
    flex-direction: column-reverse;
}

#type-display {
    display: flex;
    justify-content: center;
    font-size: x-large;
}

#token-display {
    padding: 10px;
    position: absolute;
    right: 10px;
    top: 10px;
    color: #f3e70b;
    font-size: 50pt;
    text-shadow: 0 0 3px black;
    display: flex;
    align-content: center;
    align-items: center;
    gap: 10px;
    line-height: normal;
    z-index: 40;
}

#mute {
    position: absolute;
    z-index: 40;
    bottom: 10px;
    left: 10px;
    background: transparent;
    border: none;
    color: #00a9ff;
    text-shadow: 0px 0px 3px black;
    font-size: xx-large;
}

.gas1 {
    height: 250px;
}

.gas2 {
    height: 250px;
}

.cloud {
    height: 14.42%;
}

.obstacle1 {
    height: 100px;
}

.explosion {
    width: 300px;
}

.impact {
    width: 100px;
}

.parallax1 {
    position: absolute;
    width: 100%;
    z-index: -1;
}

.parallax2 {
    position: absolute;
    width: 100%;
    top: -200px;
    z-index: -2;
}

.parallax3 {
    position: absolute;
    width: 100%;
    z-index: -3;
}

.parallax4 {
    position: absolute;
    width: 100%;
    z-index: -4;
}
