body {
    overflow-y: scroll;
    margin: 0px;
    padding: 0px;
    background-image: url(/img/bg_present.jpg);
    background-color: rgba(255, 255, 255, 0.8);
    background-blend-mode: lighten;
}

#loading-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(127, 211, 250);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    color: #FFF;
    font-family: sans-serif;
    font-size: 42px;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000,
        -1px 1px 0 #000, 1px -1px 0 #000,
        0px 1px 0 #000, 0 -1px 0 #000,
        -1px 0 0 #000, 1px 0 0 #000;
}

.completed {
    opacity: 0;
    transition: all 0.4s;
    visibility: hidden;
}

#cover {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
}

#canvas {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);

    touch-action: none;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border: 0;
    max-width: 100vw;
    max-height: calc(var(--vh, 1vh) * 100);
}

.site-header {
    background: rgb(127, 211, 250);
    position: absolute;
    width: 100%;
    z-index: 2;
    margin: 0;
}

.site-header.fixed {
    position: fixed;
    top: 0;
}

.site-header p {
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
}

.description {
    margin-top: 100px;
}

.description-block {
    width: 80%;
    max-width: 1000px;
    margin: 2em auto;
    padding: 2em;
    background-color: rgba(235, 235, 235, 0.795);
    background-image:
        radial-gradient(white 5%, transparent 5%),
        radial-gradient(white 5%, transparent 5%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    border: solid 3px blue;
    border-radius: 10px;
}

.description-block h1 {
    font-size: 3.5rem;
    color: #BB1616;
    text-align: center;
    margin: 0px;
}

.description-block h2 {
    text-decoration: #e5c046 wavy underline 5px;
    -webkit-text-decoration: #e5c046 wavy underline 5px;
}

.description-block p {
    font-size: 1.5rem;
    color: #074923;
}

.description-block table {
    border-collapse: collapse;
    margin: auto;
}

.description-block th,
td {
    padding: 1rem;
    font-size: 2rem;
    text-align: left;
    word-break: break-all;
}

.howto h2 {
    text-decoration: #e5c046 wavy underline 5px;
    -webkit-text-decoration: #e5c046 wavy underline 5px;
}

.howto h3 {
    color: #BB1616;
}

.howto p {
    color: #f81414;
    width: 80%;
    margin: 0 auto;
}

.method {
    background-color: rgba(255, 255, 255, 50%);
    border-top: 2px solid #f81414;
    border-bottom: 2px solid #f81414;
}

.twitter_blue {
    color: #1DA1F2;
}

.tweet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 30px 43px 30px 30px;
    margin: 1em auto;
    width: min(220px, 90%);
    color: #FFF;
    font: 18px;
    font-weight: 700;
    text-decoration: none;
    background-color: #1DA1F2;
    border-radius: 40px;
    transition: all 0.2s;
}

.tweet::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 29px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 30px;
}

.tweet::after {
    content: '';
    background-image: url(/travel/img/twitter_logo.svg);
    background-repeat: no-repeat;
    background-position: center center;
    width: 30px;
    height: 30px;
    z-index: 1;
}

.tweet:hover {
    transform: scale(1.1, 1.1);
}

.note {
    margin-top: 2em;
}

.note p {
    line-height: 1;
    font-size: 1rem;
    color: #000;
}

#page_top {
    width: 50px;
    height: 90px;
    position: fixed;
    right: -50px;
    bottom: 50px;
}

#page_top a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
}

#page_top a::before {
    font-family: sans-serif;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

#page_top img {
    width: min(150, 10%);
}

footer {
    clear: both;
}

footer nav ul,
footer nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer nav ul {
    text-align: center;
}

footer nav li {
    display: inline-block;
    margin: 0 0.5em;
}

footer #gamecenter-logo {
    display: flex;
    justify-content: flex-end;
}

footer #gamecenter-logo img {
    height: min(7vh, 49px);
}

#copyright {
    background: #e60033;
    color: white;
    text-align: center;
    padding: 0.5em;
}