article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

body {
    margin: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

 @font-face {
    font-family: 'Bakin';
    src: url('../../@/Bakin.woff2') format('woff2'),
         url('../../@/Bakin.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

#background {
    background: radial-gradient(ellipse farthest-corner at right bottom,
            #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
        radial-gradient(ellipse farthest-corner at left top, #dec378 0%,
            #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
}

body {
    --img-maxwidth: 250px;
    --blendmode-title: difference;
    --filter-img: none;
    color: var(--color-text);
}

.active {
    --color-title: hwb(42 12% 64% / 0.348);
}

.js .loading::before {
    content: '';
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.js .loading::after {
    content: '';
    position: fixed;
    z-index: 10;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.4;
    animation: loaderAnim 0.7s linear infinite alternate forwards;
}

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

.content {
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
}

.content__title {
    font-family: 'Bakin';
    font-weight: 200;
    position: relative;
    z-index: 20;
    font-size: 14vw;
    mix-blend-mode: var(--blendmode-title);
    -webkit-text-stroke: 2px var(--color-title);
    text-stroke: 2px var(--color-title);
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    color: transparent;
    pointer-events: none;
}
.content__img {
    max-width: var(--img-maxwidth);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    will-change: transform;
    filter: var(--filter-img);
}

.content__img--full {
    width: 100%;
    height: 100%;
    background-size: cover;
}

span {
    font-family: 'Bakin';
    font-weight: 100;
    font-size: 275px;
    color: #9f792880;
    z-index: 30;
}


@media screen and (min-width: 53em) {
    body {
        overflow: hidden;
    }

    .message {
        display: none;
    }

    .frame {
        position: fixed;
        text-align: left;
        z-index: 10;
        top: 0;
        left: 0;
        display: grid;
        align-content: space-between;
        width: 100%;
        max-width: none;
        height: 100vh;
        padding: 2rem;
        pointer-events: none;
        grid-template-columns: 75% 25%;
        grid-template-rows: auto auto auto;
        grid-template-areas: ''
            '... ...'
            ' ...';
    }

    .frame__pagetitle {
        grid-area: pagetitle;
        margin: 0;
    }

    .frame__title-wrap {
        grid-area: title;
        display: flex;
    }

    .frame__title {
        margin: 0;
    }

    .frame__links {
        padding: 0;
        margin: 0 0 0 3rem;
        justify-self: end;
    }

    .frame__demos {
        margin: 0 0 0 3rem;
    }

    .frame__github {
        grid-area: github;
        justify-self: end;
    }

    .frame a {
        pointer-events: auto;
    }

    .content {
        height: 100vh;
        overflow: hidden;
    }
}