* {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: "Raleway", sans-serif;
    user-select: none;
}

body {
    margin: 0 !important;
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 10, 10);
}

#mainCanvas {
    position: absolute;
    height: 100%;
    width: 100%;
}

.overlay-typo {
    position: absolute;
    left: 40px;
    bottom: 40px;
    display: flex;
    flex-flow: column;
}

.overlay-typo-links {
    display: flex;
    flex-flow: row;
    align-items: center;
}

.overlay-typo-links > li,
.overlay-typo-links > li > a {
    text-transform: uppercase;
    font-size: 1rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.overlay-typo-links > .dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 4px;
    margin: 0 12px;
    background-color: white;
}

.overlay {
    background-color: rgba(10, 10, 10, 0.35);
    transition: 300ms opacity linear;
    opacity: 0;
    pointer-events: none;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

.overlay-typo > span {
    font-size: 1.5rem;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.4);
}

.overlay-typo > h1 {
    margin-top: 14px;
    margin-bottom: 92px;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.overlay-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

#landing {
    background-color: rgba(10, 10, 10, 0.7) !important;
}

.overlay-centered > h1 {
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    font-size: 7.5rem;
    margin-bottom: 24px;
}

.overlay-centered > span {
    font-weight: 300;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.4);
}

.audio {
    position: absolute;
    right: 40px;
    bottom: 40px;
    display: flex;
    flex-flow: row;
    align-items: flex-end;
}

.audio-bar {
    height: 8px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    margin-left: 2px;

    transition: 200ms height linear;
}

.playing > .audio-bar:nth-of-type(1) {
    height: 16px;
    animation: bars2 1s infinite alternate;
}

.playing > .audio-bar:nth-of-type(2) {
    height: 18px;
    animation: bars3 0.3s infinite alternate;
}

.playing > .audio-bar:nth-of-type(3) {
    height: 20px;
    animation: bars1 0.7s infinite alternate;
}

.playing > .audio-bar:nth-of-type(4) {
    height: 18px;
    animation: bars3 0.6s infinite alternate;
}

.playing > .audio-bar:nth-of-type(5) {
    height: 14px;
    animation: bars2 0.4s infinite alternate;
}

.playing > .audio-bar:nth-of-type(6) {
    height: 15px;
    animation: bars3 0.9 infinite alternate;
}

.playing > .audio-bar:nth-of-type(7) {
    height: 21px;
    animation: bars2 0.5s infinite alternate;
}

@keyframes bars1 {
    from {
        height: 8px;
    }

    to {
        height: 22px;
    }
}

@keyframes bars2 {
    from {
        height: 18px;
    }

    to {
        height: 4px;
    }
}

@keyframes bars3 {
    from {
        height: 5px;
    }

    to {
        height: 23px;
    }
}

.hidden {
    display: none !important;
}

.invisible {
    opacity: 0;
    pointer-events: none;
}

.black {
    background-color: rgba(10, 10, 10);
    z-index: 20000;
}

button {
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;

    text-transform: uppercase;
    font-size: 1.125rem;
    font-weight: 700;

    padding: 18px 28px;
    color: white;

    background: none;
}

.circle {
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
}

.circle-box {
    position: absolute;
    right: 28px;

    top: 50%;
    transform: translateY(-50%);

    display: flex;
    flex-flow: column;
}

.circle-box > svg {
    margin: 6px 0;
}

.hover-sound:hover {
    cursor: pointer;
}

/* OLD ABOVE */

/* SCALED SECTIONS */
.overlay,
.container,
.overlay-centered,
.menu {
    position: absolute;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
}

.menu-button {
    width: 32px;
    position: absolute;
    left: 40px;
    top: 40px;

    height: 24px;

    /* display: flex; */
    /* flex-flow: column; */
    z-index: 10000;

    overflow: visible;
}

.menu-button:hover,
button:hover {
    cursor: pointer;
}

button:focus {
    outline: none;
}

.menu-button > span {
    display: inline-block;
    width: 100%;
    height: 3px;
    background-color: white;
}

/* MENU BUTTON TOGGLE */
.menu-button.toggled > span:nth-of-type(3) {
    opacity: 0;
}

.menu-button.toggled > span:nth-of-type(1) {
    transform-origin: center;
    transform: translateY(250%) rotateZ(45deg);
}

.menu-button.toggled > span:nth-of-type(2) {
    transform-origin: center;
    transform: translateY(250%) rotateZ(-45deg);
}

.menu {
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    transition: 300ms opacity linear;
}

.menu-button > span {
    position: absolute;
    transition: 100ms transform linear, 100ms left linear, 100ms top linear, 100ms opacity linear;
}

.menu-button > span:nth-of-type(2) {
    top: 10px;
}

.menu-button > span:nth-of-type(3) {
    top: 20px;
}

.menu-button.toggled > span {
    margin: 0;
    left: 0 !important;
    top: 0 !important;
}

.audio:hover {
    cursor: pointer;
}

/* GUIDE */
.menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-inner {
    grid-template-columns: 1fr 240px;
    display: grid;
    padding: 40px;
    max-width: 1200px;
    width: 100%;
}

.guide {
    display: flex;
    flex-flow: column;
}

.note {
    text-transform: uppercase;
    font-size: 1rem;
    color: white;
    font-weight: 600;
}

h2 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 4rem;
    color: white;
}

.accent {
    font-weight: 100;
    font-size: 1.4rem;
    color: white;
    opacity: 0.4;
}

.highlight {
    font-weight: 300;
    font-size: 1.4rem;
    color: white;
    opacity: 0.6;
}

.highlight-line {
    height: 2px;
    width: 100px;
    background-color: rgba(255, 255, 255, 0.4);
}

.mt-12 {
    margin-top: 12px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-50 {
    margin-top: 44px;
}

.mt-64 {
    margin-top: 58px;
}

/* PROFILE */
.profile {
    display: flex;
    flex-flow: column;
    align-items: flex-end;
}

.profile > img {
    width: 240px;
    border-radius: 4px;
    height: 240px;
    object-fit: cover;
}

.profile > button {
    width: 100%;
}

#backup {
    bottom: 40px;
}

.backup {
    bottom: 80px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.spacer-50 {
    height: 50px;
    width: 100%;
}

a {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
    font-size: 0.9rem;
}

/* LOADER */
.loader {
    width: 240px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 32px 0;
}

.loader > div {
    width: 40%;
    height: 100%;
    background-color: white;

    animation: loading 6s ease-in-out;
    animation-fill-mode: forwards;
}

/* SCROLL */
.scroll {
    width: 56px;
    filter: invert(0.2);

    position: absolute;
    bottom: 46px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes loading {
    from {
        width: 20%;
    }

    to {
        width: 90%;
    }
}

.loader-text {
    font-size: 1.6rem !important;
}

@media only screen and (max-width: 1200px) {
    h1 {
        font-size: 5.4rem !important;
    }
}

@media only screen and (max-width: 800px) {
    .overlay-centered > span {
        font-size: 1rem !important;
    }

    h1 {
        font-size: 1.8rem !important;
        margin-bottom: 32px !important;
    }

    .circle-box {
        top: 12% !important;
    }

    .overlay-typo-links {
        flex-flow: column !important;
        align-items: flex-start !important;
    }

    .overlay-typo-links > .dot {
        margin: 8px !important;
    }

    .overlay-typo > span {
        font-size: 1rem !important;
    }

    .menu-inner {
        grid-template-columns: 1fr !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    .accent {
        font-size: 1rem !important;
    }

    .profile {
        display: none !important;
    }

    .mt-64 {
        margin-top: 32px !important;
    }

    .mt-50 {
        margin-top: 25px !important;
    }
}
