
body {
    margin: 0;
    --color-text: #111;
    --color-bg: #f8c792;
    --color-link: #000;
    --color-link-hover: #000;
    --color-border: #000;
    --marquee-bg: #000;
    --marquee-text: #fff;
    --menu-focus: #000;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.js .loading:after,
.js .loading:before {
    content: "";
    position: fixed;
    z-index: 1000
}

.js .loading:before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg)
}

.js .loading:after {
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border-radius: 50%;
    opacity: .4;
    background: var(--color-link);
    animation: loaderAnim .7s linear infinite alternate forwards
}

@keyframes loaderAnim {
    to {
        opacity: 1;
        transform: scale3d(.5, .5, 1)
    }
}

a {
    text-decoration: underline;
    color: var(--color-link)
}

a,
a:hover {
    outline: none
}

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

a:focus {
    outline: none;
    background: #d3d3d3
}

a:focus-visible,
a:focus:not(:focus-visible) {
    background: transparent
}

a:focus-visible {
    outline: 2px solid red
}

.unbutton {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit
}

.unbutton:focus {
    outline: none
}

.frame {
    padding: 3rem 5vw;
    text-align: center;
    position: relative;
    z-index: 1000
}

.frame__logo {
    font-size: 1rem;
    margin: 0 0 1rem;
    font-weight: 700
}

.frame__links {
    display: inline
}

.frame__links a:not(:last-child) {
    margin-right: 1rem
}

.frame__demos {
    margin: 1rem 0
}

.frame__demo--current,
.frame__demo--current:hover {
    color: var(--color-text)
}

.menu-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    justify-content: center;
    border-bottom: 1px solid #000;
}

.menu__item {
    cursor: default;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -1px var(--color-border);
}

.menu__item:first-child {
    box-shadow: none;
}

.menu__item:last-child {
    box-shadow: 0 1px var(--color-border), 0 -1px var(--color-border)
}

.menu__item-link {
    display: block;
    position: relative;
    cursor: pointer;
    text-decoration: none
}

.menu__item-link:focus,
.menu__item-link:focus-visible {
    color: var(--menu-focus)
}

.menu__item-link:focus:not(:focus-visible) {
    color: var(--color-link)
}

.marquee {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: var(--marquee-bg);
    transform: translate3d(0, 101%, 0)
}

.menu__item.collapsed .marquee {
    overflow: hidden;
}

.menu__item .marquee {
    overflow: visible;
    background: #000;
}

.menu__item .marquee .marquee__inner-wrap {
    background: #000;
}

.marquee__inner-wrap {
    overflow: hidden;
    height: 100%;
    width: 100%;
    transform: translate3d(0, -101%, 0)
}

.marquee__inner {
    height: 100%;
    width: fit-content;
    align-items: center;
    display: flex;
    position: relative;
    animation: marquee 15s linear infinite;
    will-change: transform;
}


.marquee__inner.for-30s {
    animation: marquee 30s linear infinite;
}

.marquee__inner.for-40s {
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    to {
        transform: translate3d(-50%, 0, 0)
    }
}


.marquee span,
.menu__item-link {
    white-space: nowrap;
    font-size: 6vw;
    line-height: 1.2;
    font-weight: 600;
    padding: 1vh 0vw 1vh;
    text-transform: uppercase;
    font-family: 'AeonikBlack';
}

@media (min-width: 1920px) {
    .menu__item-link {
        font-size: 120px;
    }
}

.marquee span {
    text-align: center;
    color: var(--marquee-text);
    font-weight: 400
}

.marquee__img {
    width: 15vw;
    height: 70%;
    margin: 0 2vw;
    border-radius: 5vw;
    background-size: cover;
    background-position: 50% 50%
}

@media screen and (min-width:53em) {
    .frame {
        position: fixed;
        text-align: left;
        z-index: 100;
        top: 0;
        left: 0;
        display: grid;
        align-content: space-between;
        width: 100%;
        max-width: none;
        height: 100vh;
        padding: 1.5rem 2rem 1rem;
        pointer-events: none;
        grid-template-columns: 25% 50% 25%;
        grid-template-rows: auto auto auto;
        grid-template-areas: "logo credits links""... ... ...""... ... author"
    }

    .frame__logo {
        grid-area: logo;
        margin: 0
    }

    .frame__credits {
        grid-area: credits;
        justify-self: center
    }

    .frame__author {
        grid-area: author;
        justify-self: end
    }

    .frame__links {
        grid-area: links;
        padding: 0;
        justify-self: end;
        text-align: right
    }

    .frame a {
        pointer-events: auto
    }
}
