/* rain effect */
body {
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(to bottom, #202020, #111119);
}

.rain {
    position: absolute;
    left: 0;
    width: 90%;
    height: 90%;
    z-index: 2;
}

.rain.back-row {
    display: none;
    z-index: 1;
    bottom: 60px;
    opacity: 0.5;
}

body.back-row-toggle .rain.back-row {
    display: block;
}

.drop {
    position: absolute;
    bottom: 100%;
    width: 15px;
    height: 120px;
    pointer-events: none;
    animation: drop 0.5s linear infinite;
}

@keyframes drop {
    0% {
        transform: translateY(0vh);
    }

    75% {
        transform: translateY(90vh);
    }

    100% {
        transform: translateY(90vh);
    }
}

.stem {
    width: 1px;
    height: 60%;
    margin-left: 7px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25));
    animation: stem 0.5s linear infinite;
}

@keyframes stem {
    0% {
        opacity: 1;
    }

    65% {
        opacity: 1;
    }

    75% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.splat {
    width: 15px;
    height: 10px;
    border-top: 2px dotted rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 1;
    transform: scale(0);
    animation: splat 0.5s linear infinite;
    display: none;
}

body.splat-toggle .splat {
    display: block;
}

@keyframes splat {
    0% {
        opacity: 1;
        transform: scale(0);
    }

    80% {
        opacity: 1;
        transform: scale(0);
    }

    90% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

body.single-toggle .drop {
    display: none;
}

body.single-toggle .drop:nth-child(10) {
    display: block;
}

/* content */

.main {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    flex-direction: column;
}

button {
    width: 250px;
    height: 50px;
    background: none;
    color: white;
    border: 1px solid white;
    text-transform: uppercase;
    transition: background .2s, opacity 0.5s linear;
    opacity: 1;
}

button:hover {
    background: white;
    color: black;
    cursor: pointer;
}

.hide {
    opacity: 0 !important;
}

.unhide {
    opacity: 1 !important;
}

audio {
    opacity: 0;
}

.rabbit-lyrics {
    background: transparent !important;
    color: white;
    font-size: 1.3em;
    margin-bottom: 20px;
    border: none !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
    z-index: 3;
    transition: opacity 0.5s linear;
    min-height: 5em;
}

.rabbit-lyrics::-webkit-scrollbar {
    display: none;
}

.quotes {
    margin-top: 50px;
    margin-left: 20px;
    margin-right: 20px;
    color: white;
    text-align: center;
    font-size: 1.2em;
    font-style: italic;
    transition: opacity 0.5s linear;
}

.quotes-author {
    color: rgb(121, 121, 121);
    font-style: italic;
    text-align: right;
    margin-top: -10px;
    transition: opacity 0.5s linear;
}

.absolute {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: absolute;
    z-index: 3;
}

/* loading */

.loading {
    width: 100%;
    height: 100vh;
    position: absolute;
    z-index: 4;
    background: linear-gradient(to bottom, #202020, #111119);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-direction: column;
}

.loading p {
    margin-top: -10px;
    margin-left: -15px;
    font-family: sans-serif;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

/* copyright */
.copyright {
    position: absolute;
    bottom: 20px;
    right: 20px;
    text-align: center;
    color: rgb(116, 116, 116);
    font-family: 'poppins';
    font-size: 10px;
}

/* visualizer */
#canvas {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
}
