body {
    font-family: robotomedium, sans-serif;
    font-size: 17pt;
    color: #000215;
    overflow: hidden;
    background: #ffe395;
    line-height: 1.1
}

*,
div {
    box-sizing: border-box
}

a {
    color: inherit;
    text-decoration: none
}

.bold {
    font-family: baloo, sans-serif
}

.thin {
    font-family: robotomedium, sans-serif
}

.canvas-wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.canvas-wrapper .canvas-container {
    width: 95vw;
    width: 95vw;
    height: 95vh;
    max-width: 1760px;
    max-height: 880px;
    position: relative;
    opacity: 0;
    transition: opacity 2s, transform 2s;
    outline: 3px solid #000
}

.canvas-wrapper .canvas-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.border-wrapper {
    width: 100vw;
    height: 100vh;
    position: fixed;
    pointer-events: none;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.border-wrapper .border {
    width: 95vw;
    height: 95vh;
    max-width: 1760px;
    max-height: 880px;
    position: relative
}

.border-wrapper .border .description {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 100;
    transition: .4s;
    cursor: pointer;
    pointer-events: all
}

.border-wrapper .border .description .inner {
    padding-bottom: 4px;
    padding-right: 12px
}

.border-wrapper .border .description .inner img {
    width: 180px
}

.border-wrapper .border .canvas-border {
    width: 95vw;
    max-width: 1760px;
    height: 100px;
    overflow-x: hidden;
    position: absolute
}

.border-wrapper .border .canvas-border-top {
    top: -18px
}

.border-wrapper .border .canvas-border-bottom {
    bottom: -83px
}

.border-wrapper .border .canvas-border-left {
    width: 95vh;
    max-width: 880px;
    left: 18px;
    top: -1px;
    transform-origin: 0 0;
    transform: rotate(90deg)
}

.border-wrapper .border .canvas-border-right {
    width: 95vh;
    max-width: 880px;
    right: 17px;
    top: 0;
    transform-origin: 100% 0;
    transform: rotate(-90deg)
}

.pane {
    position: fixed;
    background: rgba(255, 227, 149, .97);
    border: 3px solid #000;
    width: 65vw;
    left: 17.5vw;
    max-height: 90vh;
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    transform: scaleY(.85);
    transition: transform .6s, opacity .6s;
    overflow: auto
}

.pane .close {
    position: absolute;
    right: 4px;
    top: 4px;
    padding: 10px;
    cursor: pointer;
    transition: .35s
}

.pane .close img {
    width: 22px
}

.pane .inner {
    width: 100%;
    height: 100%;
    padding: 40px;
    position: relative
}

.pane .inner .body {
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    font-size: 90%
}

.pane .inner .body .dl-box {
    width: 100%;
    text-align: center
}

.pane .inner .body .dl-box img {
    height: 80px;
    padding: 8px
}

.pane .inner .body .logo-box {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.pane .inner .body .logo-box .logo {
    width: 20%
}

.pane .inner .body .logo-box .logo img {
    width: 100px;
    height: 100px;
    padding: 8px
}

.pane .inner .body i {
    font-size: 300%;
    cursor: pointer
}

.pane-chest .inner {
    max-height: none;
    padding-left: 0;
    padding-right: 0
}

.pane-chest .inner .body {
    text-align: left;
    width: 90%;
    margin: 0 auto
}

.pane-chest .inner .body .photo-box {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto
}

.pane-chest .inner .body .photo-box .base-photo img {
    width: 100%;
    opacity: 0
}

.pane-chest .inner .body .photo-box .photo {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: .3s
}

.pane-chest .inner .body .photo-box .photo img {
    width: 100%
}

.pane-contact .inner .body {
    text-align: center
}

.pane-contact .inner .body .designer,
.pane-contact .inner .body .email,
.pane-contact .inner .body .site-link {
    font-family: robotomedium, sans-serif
}

.pane-bear .inner .body {
    text-align: center
}

.pane-ufo .inner .body .text {
    width: 75%;
    margin: 0 auto
}

.pane-chest .inner .body .text {
    width: 95%;
    margin: 0 auto;
    text-align: left
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.select {
    cursor: hand;
    cursor: pointer
}

@keyframes loading-animation {
    0% {
        opacity: 1;
        transform: scale(1, 1)
    }
    50% {
        opacity: .25;
        transform: scale(1.2, 1.2)
    }
    100% {
        opacity: 1;
        transform: scale(1, 1)
    }
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: 1s;
    -webkit-transition: 1s;
    z-index: 101;
    background: #ffe395;
    color: #000215;
    font-size: 1.2em
}

#loading-screen .loading-msg {
    transition: .5s;
    -webkit-transition: .5s;
    padding: 0;
    margin: 0
}

#loading-screen .loading-msg div {
    line-height: 0;
    display: inline-block;
    animation: loading-animation 1.5s infinite;
    margin-bottom: 80px;
    margin-left: 6px
}

#loading-screen .loading-msg div:nth-child(2) {
    animation-delay: -.3s
}

#loading-screen .loading-msg div:nth-child(3) {
    animation-delay: -.6s
}

#loading-screen .loading-msg div:nth-child(4) {
    animation-delay: -.9s
}

#loading-screen .loading-msg div:nth-child(5) {
    animation-delay: -1.2s
}

#loading-screen .loading-msg div:nth-child(5) {
    animation-delay: -1.5s
}

#loading-screen .loading-msg div:nth-child(5) {
    animation-delay: -1.8s
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px
}

::-webkit-scrollbar-thumb {
    background: #222
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0)
}

@media screen and (max-width:1300px) {
    body {
        font-size: 15pt
    }
    .border-wrapper .border .description .inner img {
        width: 150px
    }
    .pane .inner .body .logo-box {
        width: 60%
    }
    .pane .inner .body .logo-box .logo img {
        width: 80px;
        height: 80px
    }
}

@media screen and (max-width:1100px) {
    body {
        font-size: 14pt
    }
    .border-wrapper .border .description .inner img {
        width: 120px
    }
}

@media screen and (max-width:800px) {
    #loading-screen {
        font-size: 1em
    }
    body {
        font-size: 12pt
    }
    .border-wrapper .border .description .inner img {
        width: 80px
    }
    .pane {
        width: 94vw;
        left: 3vw
    }
    .pane .inner {
        padding: 20px
    }
    .pane .inner .body {
        padding: 10px
    }
    .pane .close {
        padding: 6px
    }
    .pane .close img {
        width: 11px
    }
    .pane .inner .body .logo-box .logo img {
        width: 50px;
        height: 50px
    }
    .canvas-wrapper .canvas-container {
        width: 100vw;
        height: 100vh;
        outline: 0
    }
}

@media screen and (max-width:400px) {
    .pane {
        width: 90vw;
        left: 5vw
    }
    .pane .inner {
        padding: 10px
    }
    .pane .inner .body {
        padding: 5px
    }
    .pane .close {
        right: 0;
        padding: 2px
    }
}