:root {
    --text-color-primary: rgba(255, 255, 255, 0.87);
    --text-color-secondary: rgba(255, 255, 255, 0.54);
}

::-webkit-scrollbar {
    width: 0px;
}

::selection {
    background: #FFFFFF;
}

footer {
    padding: 64px;
}

body {
    margin: 0;
    background: #000000;
    color: var(--text-color-primary);
    font-family: 'Circular Std', sans-serif;
}

hr {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    margin: 0 64px;
    width: calc(50vw - 128px);
}

hr.full {
    width: auto;
}

a {
    color: var(--text-color-primary);
    text-decoration: none;
}

#breadcrumbs {
    background: rgba(255, 255, 255, 0.06);
    width: 100%;
    -webkit-backdrop-filter: blur(32px) saturate(1.5);
    backdrop-filter: blur(32px) saturate(1.5);
    box-shadow: inset 0 -1px rgba(255, 255, 255, 0.06);
    padding: 18px;
}

#breadcrumbs div a {
    margin-right: 18px;
}

#page {
    transition: 400ms transform, 400ms opacity;
}

div#back-container {
    position: fixed;
    top: 84px;
    z-index: 2;
    width: 100%;
}

button#back {
    width: 48px;
    height: 48px;
    margin: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.24);
    -webkit-backdrop-filter: blur(32px) saturate(1.5);
    backdrop-filter: blur(32px) saturate(1.5);
    transition: 192ms background;
    border-radius: 24px;
    border: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.87);
    outline: none;
    cursor: pointer;
}

button#back:hover {
    background: rgba(255, 255, 255, 0.24);
    outline: none;
    cursor: pointer;
}

.row {
    width: 100vw;
    height: 50vw;
    display: flex;
    overflow: hidden;
}

.row.full {
    width: 75vw;
    height: auto;
    padding: 64px;
    box-sizing: border-box;
    display: block;
    flex-direction: column;
}

.box {
    /* flex: 1; */
    width: 50vw;
    height: 100%;
    overflow: hidden;
    transform: scale(1);
    background: #000000;
}

.box.description {
    padding: 64px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.box.description h2 {
    font-weight: 500;
    margin: 0
}

.row.full .role, .box.description .role {
    font-size: 12px;
    margin: 4px 0;
}

.row.full, .box.description {
    color: var(--text-color-secondary);
    font-size: 14px;
}

.box.compose {
    position: relative;
    z-index: -1;
}

.compose * {
    position: absolute;
}

.box.compose .background {
    animation: background-unblur 400ms linear;
}

.window {
    background-repeat: no-repeat;
    animation: slide-up 1200ms cubic-bezier(0.0, 0.0, 0.2, 1);
}

.cursor {
    animation: slide-up 1400ms cubic-bezier(0.0, 0.0, 0.2, 1);
}

.bloom {
    --bloom: 10px;
    --brightness: 1;
    filter: blur(var(--bloom)) brightness(var(--brightness));
    height: 100%;
    width: 100%;
}

.window.bloom {
    animation: slide-up-bloom 1200ms cubic-bezier(0.0, 0.0, 0.2, 1);
}

.window.bloom {
    -webkit-mask-image: var(--mask-url);
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: var(--mask-url);
    mask-position: center;
    mask-size: contain;
}

.window.bloom.inner {
    filter: blur(var(--bloom)) brightness(var(--brightness));
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color-primary);
}

.progress-bar {
    width: 100%;
    height: 16px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar div {
    --progress: 0;
    width: calc(var(--progress) * 1%);
    height: 100%;
    background: #FFFFFF;
    animation: scale-in 1s cubic-bezier(0.0, 0.0, 0.2, 1);
    transform-origin: 0% 50%;
}

@keyframes scale-in {
    from {
        transform: scaleX(0);
    }
    to {
        transform: none;
    }
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(48px);
    }
    33% {
        opacity: 0;
        transform: translateY(48px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes slide-up-bloom {
    0% {
        opacity: 0;
        -webkit-mask-position-y: calc(50% + 48px);
        mask-position-y: calc(50% + 48px);
    }
    33% {
        opacity: 0;
        -webkit-mask-position-y: calc(50% + 48px);
        mask-position-y: calc(50% + 48px);
    }
    100% {
        opacity: 1;
    }
}

@keyframes background-unblur {
    from {
        opacity: 0;
        filter: blur(60px);
    }
    to {
        opacity: 1;
        filter: none;
    }
}

@media (max-width: 1280px) {
    .row.full {
        width: 768px;
    }
}

@media (max-width: 768px) {
    hr {
        width: auto;
    }
    .row {
        width: 100vw;
        height: auto;
        flex-direction: column;
    }
    .row.full {
        width: 100%;
    }
    .row.m-reverse {
        flex-direction: column-reverse;
    }
    .box {
        width: 100vw;
    }
    .box.compose {
        height: 100vw;
        flex: unset;
    }
}

@media (min-width: 769px) {
    hr.space {
        margin-left: auto;
    }
    .row.full.space {
        margin-left: auto;
        text-align: right;
    }
}
