*,
:after,
:before {
    box-sizing: border-box
}

:root {
    font-size: 20px
}

body {
    margin: 0;
    --color-text: #31282d;
    --color-bg: #fcd6d9;
    --color-link: #31282d;
    --color-link-hover: rgb(224, 111, 111);
    --color-border: #c47fa1;
    --marquee-bg: #fb0434;
    --marquee-text: #fff;
    --menu-focus: #31282d;
    color: var(--color-text);
    background-color: var(--color-bg);
    font-family: 'Jost', sans-serif;
    -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)
    }
}


/*Selection*/
::-moz-selection { /* Code for Firefox */
  color: white;
  background: #fb0434;
}

::selection {
  color: white;
  background: #fb0434;
}



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: 100vw;
    height: calc(100vh - 13rem);
    position: relative;
    justify-content: center
}

.menu__item {
    cursor: default;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 -1px var(--color-border)
}

.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)
}

.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)
    }
}

.marquee span,
.menu__item-link {
    white-space: nowrap;
    font-size: 5vw;
    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
    }
}