html, body {
    margin: 0;
    color: var(--black);
    user-select: none; 
}

footer {
    display: none;
}

#viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -99;
    background-color: var(--black);
}

#options-button {
    opacity: 0.3;
    position: fixed;
    top: 15px;
    left: 15px;
    height: 90px;
    width: 90px;
    background-image: url("assets/gear.svg");
    background-size: 100%;
    transition-duration: 250ms;
    z-index: 1;
}

#options-window {
    background-color: var(--white);
    position: absolute;
    top: 15px;
    left: 15px;
    width: 72px;
    padding-bottom: 15px;
    font-size: 16px;
    border: 5px solid var(--a_darkgray);
    opacity: 0;
    display: none;
}

#options-titlebar {
    display: flex;
    height: 45px;
    background-color: var(--a_blue);
    color: var(--white);
    border-bottom: 5px solid var(--a_darkgray);
}

#options-title {
    width: calc(100% - 60px);
    padding: 1px 0 0 1rem;
    font-size: 24px;
}

#options-close-button {
    width: 45px;
    height: 45px;
    background-image: url(assets/redx.svg);
    background-size: 100%;
    outline: 5px solid var(--a_darkgray);
    border: none;
}

#options-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: var(--white);
}

#options-panel>div {
    margin: 15px 0 0 15px;
    color: var(--black);
    padding: 15px;
}

#options-panel>div:last-child {
    margin-bottom: 15px;
    color: var(--black);
    padding: 15px;
}

.option-bar {
    display: flex;
    align-items: center;
}

.option-bar>* {
    margin-left: 15px;
}

.option-bar>*:first-child {
    margin-left: 0;
}

.option-indicator {
    width: 100px;
}

#credit {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    right: 0;
    bottom: -1rem;
    height: 36px;
    color: var(--white);
    opacity: 0.3;
    z-index: 90;
    overflow: hidden;
    user-select: none;
    transition-duration: 500ms;
}

#credit > div {
    font-family: "RocknRoll One", sans-serif;
    font-size: 10px;
    position: relative;
    top: 14px;
    padding-right: 12px;
    color: var(--lgray);
}

#credit:hover {
    opacity: 0.6;
}

#dust-canvas {
    overflow: hidden;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -99;
}

.particle {
    background-color: var(--white);
    border-radius: 50%;
    position: fixed;
    animation-name: dustFadeIn;
    animation-duration: 1000ms;
}

.dfo {
    animation-name: dustFadeOut;
}

.dtrailpiece,
.dragdust,
#drag,
#tap {
    position: fixed;
    z-index: 99;
    pointer-events: none;
}

#tap {
    width: 150px;
    height: 150px;
    background-image: none;
    background-size: 100%;
    animation-duration: 200ms;
}

#tap.ped {
    animation-name: tap;
}

.dtrailpiece,
.dragdust {
    border-radius: 50%;
    background-color: var(--white);
    animation-duration: 500ms;
}

.dtrailpiece {
    animation-name: shrink;
}

.dragdust {
    animation-name: fadeshrink;
}

@keyframes dustFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

@keyframes tap {
    0% {
        background-image: url('assets/cursor/0.svg');
    }
    20% {
        background-image: url('assets/cursor/1.svg');
    }
    40% {
        background-image: url('assets/cursor/2.svg');
    }
    60% {
        background-image: url('assets/cursor/3.svg');
    }
    80% {
        background-image: url('assets/cursor/4.svg');
    }
    100% {
        background-image: url('assets/cursor/5.svg');
    }
}

@keyframes shrink {
    0% {
        width: 15px;
        height: 15px;
    }
    100% {
        width: 0px;
        height: 0px;
    }
}

@keyframes fadeshrink {
    100% {
        opacity: 0;
        width: 0px;
        height: 0px;
    }
}