html::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0
}

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

.backer {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 101vh;
    background: rgba(0, 0, 0, 0.8);
}

.x-close-button {
    color: #fff;
    border: 1px rgba(255, 0, 0, 0.4);
    border-radius: 100%;
    background: rgba(255, 0, 0, 0.4);
    width: 21px;
    height: 21px;
    font-size: 20px;
    line-height: 18px;
    text-align: center;
    margin-top: 0.1rem;
    margin-left: 0.5rem;
}

.x-close-button:before {
    content: "×";
    /* \1F5D9 */
}

#splash-screen {
    pointer-events: none;
}

#splash-screen-backer {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

#splash-screen-content {
    position: fixed;
    top: 50%;
    left: 50%;
}

#splash-screen-content table {
    text-align: center;
    transform: translateX(-50%) translateY(-60%);
}

#splash-screen-spinner {
    text-align: -webkit-center;
}

#debug-console-screen {
    position: sticky;
    z-index: 9998;
    color: lightgrey;
    font-family: Consolas, 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    overflow-y: hidden;
    overflow-x: hidden;
}

.debug-log-element {
    margin-bottom: 0.15rem;
    padding: 0.3rem;
}

.debug-log-element:hover {
    color: white;
    transition: 0.3s;
}

.debug-log-element-normal {
    background: rgba(16, 133, 221, 0.2)
}

.debug-log-element-warn {
    background: rgba(255, 128, 0, 0.25)
}

.debug-log-element-error {
    background: rgba(255, 0, 0, 0.25)
}

.debug-log-element-network {
    background: rgba(255, 0, 170, 0.2);
}

.debug-log-element-serviceworker {
    background: rgba(0, 255, 0, 0.2);
}

#debug-console-screen-backer {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 200%;
    background: rgba(0, 0, 0, 0.9);
    pointer-events: none;
}

#debug-console-screen-content {
    position: fixed;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
}

#debug-menu-button {
    display: flex;
    z-index: 9999;
    position: fixed;
    bottom: 0px;
    right: 0px;
    padding: 0.25rem 0.5rem;
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
    color: cornsilk;
    background: rgba(0, 0, 0, 0.6);
    transition: 0.3s;
}

#debug-menu-button:hover {
    font-size: 1.01rem;
    background: rgba(0, 0, 0, 0.9);
    transition: 0.3s;
}

.debug-menu-screen-button-icon {
    font-family: Consolas, 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 80px;
    /* border: 2px solid white; */
    width: 100px;
    height: 75px;
    margin: -0.9rem auto auto auto;
}

#debug-menu-screen {
    position: sticky;
    z-index: 9998;
}

.debug-menu-screen-button {
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    font-size: 1.3rem;
    white-space: nowrap;
    padding: 10px 15px;
    background: rgba(16, 133, 221, 0.65);
    border: 1px solid rgba(16, 133, 221, 0);
    width: 150px;
    height: 150px;
    transition: 0.3s;
}

.debug-menu-screen-button:active {
    transform: scale(1.02);
    transition: 0.0s !important;
    background: rgba(16, 133, 221, 1) !important;
}

.debug-menu-screen-button:hover {
    background: rgba(16, 133, 221, 0.8);
    transition: 0.3s;
    border: 1px solid rgba(16, 133, 221, 1);
}

#debug-menu-screen-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(calc(-60% - 1.1rem));
}

#debug-menu-screen-content table {
    border-spacing: 3px;
    border-collapse: separate;
    text-align: center;
}

#debug-menu-screen-content th {
    text-align: left;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    color: white;
}

#debug-games-button {
    display: flex;
    z-index: 9999;
    position: fixed;
    bottom: 0px;
    right: 0px;
    padding: 0.25rem 0.5rem;
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
    color: cornsilk;
    background: rgba(0, 0, 0, 0.6);
    transition: 0.3s;
}

#debug-games-button:hover {
    font-size: 1.01rem;
    background: rgba(0, 0, 0, 0.9);
    transition: 0.3s;
}

#debug-games-screen {
    position: sticky;
    z-index: 9998;
}

.debug-games-screen-button {
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    font-size: 1.3rem;
    white-space: nowrap;
    padding: 10px 15px;
    background: rgba(16, 133, 221, 0.65);
    border: 1px solid rgba(16, 133, 221, 0);
    width: 200px;
    height: 210px;
    transition: 0.3s;
}

.debug-games-screen-button:hover {
    background: rgba(16, 133, 221, 0.8);
    transition: 0.3s;
    border: 1px solid rgba(16, 133, 221, 1);
}

.debug-games-screen-button-icon {
    font-family: Consolas, 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 127px;
    /* border: 2px solid white; */
    max-width: 150px;
    height: auto;
    margin: -2.0rem auto auto auto
}

#debug-games-screen-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(calc(-60% - 1.1rem));
}

#debug-games-screen-content table {
    border-spacing: 3px;
    border-collapse: separate;
    text-align: center;
}

#debug-games-screen-content th {
    text-align: left;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    color: white;
}

#debug-config-screen-content {
    position: relative;
    max-height: 100vh;
    color: #ececec;
    overflow: auto;
    /* transform: translate(0, 50%); */
}

#debug-cookies-screen-content {
    position: relative;
    max-height: 100vh;
    color: #ececec;
    overflow: auto;
    /* transform: translate(0, 50%); */
}

#debug-cheats-screen-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(calc(-60% - 1.1rem));
}

#debug-cheats-screen-content table {
    border-spacing: 3px;
    border-collapse: separate;
    text-align: center;
}

#debug-cheats-screen-content th {
    text-align: left;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    color: white;
}

.debug-cheats-screen-button {
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    font-size: 1.3rem;
    white-space: nowrap;
    padding: 10px 15px;
    background: rgba(16, 133, 221, 0.65);
    border: 1px solid rgba(16, 133, 221, 0);
    width: 150px;
    height: 150px;
    transition: 0.3s;
}

.debug-cheats-screen-button:active {
    transform: scale(1.02);
    transition: 0.0s !important;
    background: rgba(16, 133, 221, 1) !important;
}

.debug-cheats-screen-button:hover {
    background: rgba(16, 133, 221, 0.8);
    transition: 0.3s;
    border: 1px solid rgba(16, 133, 221, 1);
}

.debug-cheats-screen-button-icon {
    font-family: Consolas, 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 80px;
    /* border: 2px solid white; */
    width: 100px;
    height: 75px;
    margin: -0.9rem auto auto auto;
}

.spinner {
    height: 60px;
    width: 60px;
    margin: 0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0, 174, 239, .15);
    border-right: 6px solid rgba(0, 174, 239, .15);
    border-bottom: 6px solid rgba(0, 174, 239, .15);
    border-top: 6px solid rgba(0, 174, 239, .8);
    border-radius: 100%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}