@font-face {
    font-family: "pixelcode";
    src: url("pixelcode.woff") format("woff"),
         url("pixelcode.ttf") format("ttf");
    font-weight: normal;
    font-style: normal;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    font-family: sans-serif;
    color: white;
    font-family: 'pixelcode', monospace;
    background: #000;
}

#space {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.sbody {
    position: absolute;
    transition: all 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
    width: 30px;
    height: 30px;
    image-rendering: crisp-edges;
    container-type: size;
}

.sbody > a {
    text-decoration: none;
    color: white;
}

.sbody>* {
    position: absolute;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: wobble 1s ease-in-out infinite alternate;
}

.sbody>*>img {
    display: inline-block;
    width: 80%;
    height: 80%;
}

.sbody .label {
    font-size: 17cqw;
    position: absolute;
    display: block;
    width: 100%;
    text-align: center;
    top: 80cqh;
}

.label .label2 {
    display: block;
    font-size: 11cqw;
    color: color(srgb 0.5586 0.3404 0.765 / 0.74);
    position: relative;
    bottom: -3cqh;
}

.hidden {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.sbody:not(.scenter):hover {
    transform: scale(1.2);
}

.sbody:hover .hidden {
    opacity: 1;
}

.scenter:hover {
    transform: translate(-50%,-50%) scale(1.2) !important;
}

.scenter {
    z-index: 10;
}

.scenter .label {
    font-size: 10cqw;
    color: rgb(142, 86, 195);
    white-space: nowrap;
}

@keyframes wobble {
    0% {
        transform: translateY(0px);
    }

    30% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(8px);
    }
}

img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.wizard {
    background-image: url(images/pers_merlin.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.heart {
    background-image: url(images/icon_heart.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.kofi {
    background-image: url(images/icon_kofi.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.youtube {
    background-image: url(images/icon_youtube.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.shop {
    background-image: url(images/icon_shop.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.mail {
    background-image: url(images/icon_envelope.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

#descr {
    display: block;
    color: #fff;
    font-size: 18px;
    width: 360px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100;
    border: 12px solid;
    border-image: url("../images/slicedscroll.9.png") 19 16 19 12 stretch;
    border-image-slice: 19 16 19 12;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%,-50%);
    transition: all 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

#descr.open {
    pointer-events: all;
    opacity: 1;
}

#descr.open #descr-inner {
    height: 360px;
    padding: 20px 20px;
}

#descr-inner {
    background: rgba(13, 8, 68, 0.7);
    position: relative;
    margin-left: -8px;
    padding: 0px 20px;
    height: 0px;
    overflow: hidden;
    transition: all 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.highlight {
    color: #ff883e;
}

.highlight2 {
    color: #f961fc;
}

.inner-page {
    background: #000;
    overflow-y: auto;
}

.inner-page #space {
    height: 120px;
    flex: content;
    display: flex;
    align-items: center;
    justify-content: center;
    container-type: size;
    cursor: pointer;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.inner-page #space img {
    height: 60cqh;
    margin-top: -6cqh;
    image-rendering: crisp-edges;
}

.inner-page #space div {
    font-size: 50cqh;
    margin-left: 20px;
    color: #ff883e;
}

.inner-page #space div.title2 {
    font-size: 30cqh;
    line-height: 30cqh;
}

#body-inner {
    background: #ff883e;
    position: absolute;
    padding: 20px 0;
    top: 120px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
}

#body-inner video {
    max-width: 600px;
    display: block;
    margin: 0 auto;
}

#body-inner img {
    max-width: 600px;
    display: block;
    margin: 0 auto;
}

#body-inner > div {
    max-width: 600px;
    font-size: 20px;
    margin: 0 auto;
    padding: 10px 10px;
}

#body-inner a {
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid #fff;
}

#body-inner .center {
    text-align: center;
}

#body-inner .center a {
    border-bottom: none;
}

#body-inner .center img {
    display: inline-block;
    margin: 0 20px;
}

.inner-page #space a {
    width: 40cqh;
    height: 40cqh;
    margin: 20px 40px 0;
    animation: wobble 2s ease-in-out infinite alternate;
}