

.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: 100vw;
    height: calc(100vh - 13rem);
    position: relative;
    justify-content: center
}
.menu__item:nth-child(1):before {
    content: '';
    height: 1px;
    width: 100vw;
    background: var(--color-border);;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transform: translate3d(80%, 0, 0);
    opacity: 0;
}
.menu__item:after {
    content: '';
    height: 1px;
    width: 100vw;
    background: var(--color-border);;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    transform: translate3d(80%, 0, 0);
    opacity: 0;
}
.menu-block.open .menu__item:nth-child(1):before {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    transition: all .6s .4s;
}
.menu-block.open .menu__item:nth-child(1):after {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    transition: all .6s .6s;
}
.menu-block.open .menu__item:nth-child(2):after {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    transition: all .6s .8s;
}
.menu-block.open .menu__item:nth-child(3):after {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    transition: all .6s 1s;
}
.menu-block.open .menu__item:nth-child(4):after {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    transition: all .6s 1.2s;
}

.menu__item-link {
    opacity: 0;
    transform: translate3d(10%, 0, 0);
}
.menu-block.open .menu__item:nth-child(1) .menu__item-link {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: all .6s .6s;
}
.menu-block.open .menu__item:nth-child(2) .menu__item-link {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: all .6s .8s;
}
.menu-block.open .menu__item:nth-child(3) .menu__item-link {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: all .6s 1s;
}
.menu-block.open .menu__item:nth-child(4) .menu__item-link {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: all .6s 1.2s;
}

.menu__item {
    cursor: default;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.menu__item:last-child {
}

.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)
}

.marquee__inner-wrap {
    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
}

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

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

.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
    }

    .menu-wrap {
        height: 100vh
    }
}