.overlay_blackout{
    background:  black;
    width: 100%;
    height: auto;
    position: absolute;
    -webkit-user-select: none;
    user-select: none;
    opacity: 0%;
    animation-name: blackout;
    animation-duration: 400ms;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes blackout{
  0% { opacity: 0%;}
  100%   { opacity: 100%;}
}

.overlay_peek{
    background: radial-gradient(rgba(255,255,255,0), black);
    width: 100%;
    height: auto;
    position: absolute;
    -webkit-user-select: none;
    user-select: none;
    background-size: 600% 600%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    opacity: 0%;
    animation-name: peek;
    animation-duration: 400ms;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes peek{
  0% { background-size: 600% 600%; opacity: 0%;}
  100%   { background-size: 100% 100%; opacity: 100%;}
}

.overlay_drug {
    background: linear-gradient(45deg, rgba(230,0,219,0.4) 0%, rgba(0,0,0,0.2) 10%, rgba(0,200,70,0.4) 100%);
    width: 100%;
    height: auto;
    position: absolute;
    mix-blend-mode: saturation;
    -webkit-user-select: none;
    user-select: none;
    background-size: 100% 100%;
    animation-name: drug;
    animation-duration: 6000ms;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}

@keyframes drug{
  0% { background-size: 100% 100%; opacity: 100%;}
  50% { opacity: 0%;}
  100%   { background-size: 1200% 100%; opacity: 100%;}
}

.underlay_busview{
    background: url("../img/fx/bus_bg.webp") repeat-x;
    width: 100%;
    height: auto;
    position: absolute;
    -webkit-user-select: none;
    user-select: none;
    animation-name: scroll_busview;
    animation-duration: 2000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    z-index: -1;
}
.overlay_full {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-user-select: none;
    user-select: none;
}
.overlay_rain {
    background: url("../img/fx/rain.webp") repeat;
    mix-blend-mode: difference;
    width: 100%;
    height: auto;
    position: absolute;
    -webkit-user-select: none;
    user-select: none;
    animation-name: scroll_rain;
    animation-duration: 8000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.overlay_rain2 {
    background: url("../img/fx/rain2.webp") repeat;
    mix-blend-mode: difference;
    width: 100%;
    height: auto;
    position: absolute;
    -webkit-user-select: none;
    user-select: none;
    animation-name: scroll_rain;
    animation-duration: 9000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.overlay_fog {
    background: url("../img/fx/fog.webp") repeat;
    width: 100%;
    height: auto;
    position: absolute;
    -webkit-user-select: none;
    user-select: none;
    animation-name: scroll_up_right;
    animation-delay: 111ms;
    animation-duration: 20000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.overlay_fog2 {
    background: url("../img/fx/fog.webp") repeat;
    width: 100%;
    height: auto;
    position: absolute;
    -webkit-user-select: none;
    user-select: none;
    animation-name: scroll_up_left;
    animation-delay: 237ms;
    animation-duration: 21000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes scroll_busview {
  from { background-position: 0 0;}
  to   { background-position: 1400px 0px;}
}

@keyframes scroll_rain {
  from { background-position: 0 0;}
  to   { background-position: -1280px 3600px;}
}

@keyframes scroll_up_right {
  from { background-position: 0 0;}
  to   { background-position: -1280px -720px;}
}

@keyframes scroll_up_left {
  from { background-position: 0 0;}
  to   { background-position: 1280px -720px;}
}

.overlay_disco1 {
    width: 100%;
    height: auto;
    position: absolute;
    -webkit-user-select: none;
    user-select: none;
    mix-blend-mode: screen;
    animation-name: fade_in;
    animation-delay: 111ms;
    animation-duration: 400ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
}

.overlay_disco2 {
    width: 100%;
    height: auto;
    position: absolute;
    -webkit-user-select: none;
    user-select: none;
    mix-blend-mode: screen;
    animation-name: fade_in;
    animation-delay: 37ms;
    animation-duration: 650ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
}

@keyframes arousal_loop {
    0% {
        opacity: 0.22;
        transform: scale(1);
        filter: brightness(1) saturate(1.1);
    }

    25% {
        opacity: 0.35;
        transform: scale(1.01);
        filter: brightness(1.05) saturate(1.2);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.03);
        filter: brightness(1.1) saturate(1.25);
    }

    75% {
        opacity: 0.35;
        transform: scale(1.01);
        filter: brightness(1.05) saturate(1.2);
    }

    100% {
        opacity: 0.22;
        transform: scale(1);
        filter: brightness(1) saturate(1.1);
    }
}

@keyframes bounce {
    0%   { transform: translateY(1%); }
    50%  { transform: translateY(0); }
    100% { transform: translateY(1%); }
}

.pc_bounce, .npc_bounce {
    animation: bounce 0.5s ease-in-out;
}