:root {
    --accent-color: #a0caff;
    --text-color: #cccccc;
    --muted-color: rgb(158, 158, 158);
    --bright-color: #e6e6e6ff;
    --bg-color: #000;
    --inverted-text-color: #000;
}

body {
    scroll-behavior: smooth;
    font-family: "Inter", sans-serif;
    font-size: 11pt;
    background: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Maven Pro";
    font-weight: bold;
}

h1:not(:first-child) {
    margin-top: 2em;
}
h1 {
    font-size: 1.3em;
}

a, a:visited {
    text-decoration: underline;
    color: var(--accent-color);
    transition: 300ms;
}
a:hover {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: bold;
}

::selection {
    background-color: var(--accent-color);
    color: var(--inverted-text-color);
}

#bg-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    transform: translateZ(-1px);
    -webkit-transform: translateZ(-1px);
    z-index: 0;
}

#bg-container video,
#bg-container img {
    position: absolute;
    left: 0;
    top: 0;
    min-width: 100%;
    min-height: 100%;
    translate: calc((100% - 100vw) / -2) calc((100% - 100vh) / -2);
    transition: opacity 1500ms;
    opacity: 0.0;
    user-select: none;
}
#bg-container img {
    transform: translateZ(-2px);
    -webkit-transform: translateZ(-2px);
}
#bg-container video {
    transform: translateZ(-1px);
    -webkit-transform: translateZ(-1px);
}

.frame {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    z-index: 100;
}

.box {
    backdrop-filter: blur(15px);
    background: rgba(0,0,0,0.7);
    box-shadow: 0 0 20px 8px rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 20px;
    margin: 25px;
}
.box.multi-col {
    display: flex;
}

@media screen and (min-width: 900px) {
    .content {
        position: relative;
        height: 100vh;
        overflow-y: scroll;
        scroll-behavior: smooth;
        scroll-snap-stop: always;
        scroll-snap-type: y mandatory;
    }
    .frame {
        min-height: 100vh;
    }
    .frame.multi-col {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }
    .box.multi-col {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
}
@media screen and (max-width: 900px) {
    .content .frame:nth-child(1) {
        min-height: 100vh;
    }
    .frame.multi-col {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .box.multi-col {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .box.multi-col .vline {
        display: none;
    }
}

.vline {
    align-self: stretch;
    background: var(--muted-color);
    width: 1pt;
    flex: none;
}

.keyvaluerow {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.keyvalue {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-left: 1px solid var(--muted-color);
    padding: 0 1rem;
}

.keyvalue .key {
    font-size: 10pt;
    color: var(--muted-color);
}
