html,
body {
    touch-action: none;
}

body {
    background-color: black;
    margin: 0;
    font-family: 'PoetsenOne', Verdana, serif;
}

html,
body,
canvas {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

#rotate {
    display: none;
    position: fixed;
    background-color: black;
    z-index: 999;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#rotate > svg {
    display: block;
    fill: white;
    width: 33%;
    height: 33%;
}

#canvas-container {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #05123A;
}

#stats {
    position: fixed;
    left: 0;
    bottom: 0;
    color: white;
    font-family: monospace;
    background-color: black;
    font-size: 10pt;
    padding: 3pt 7pt;
    border-top-right-radius: 6pt;
}

.editor-panels {
    position: fixed;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    transform-origin: top right;
    padding: 10px;
    visibility: hidden;
    background-color: rgba(255, 255, 255, 0.15);
}

.editor-panels > div {
    margin-bottom: 10px;
}

#editor-panels-left {
    left: 0;
}

#editor-panels-right {
    right: 0;
}

.disable-panel-input {
    pointer-events: none;
    cursor: not-allowed !important;
    opacity: 66%;
}

#rewarded-ads-spinner-container {
    display: none;
}

.dialog-textarea {
    resize: vertical;
}

.alert-container {
    font-family: Verdana, serif !important;
    background-color: rgba(0, 0, 0, 0.66) !important;
}

.alert-popup {
    border-radius: 10px !important;
    padding: 1.75em !important;
    /*font-size: 0.7rem !important;*/
}

.alert-subtitle {
    margin-top: -6px;
    margin-bottom: 14px;
    color: gray;
}

.alert-button {
    font-family: inherit !important;
    font-size: 1.25em !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    border-radius: 10px !important;
}

.swal2-close {
    background-color: #2778C4 !important;
    border-radius: 1.5em !important;
    color: white !important;
    width: 1.5em !important;
    height: 1.5em !important;
    top: -0.6em !important;
    right: -0.6em !important;
    box-shadow: 0 4px rgba(0,0,0,0.15) !important;
}

.swal2-textarea {
    font-family: inherit;
}

.swal2-textarea, .swal2-input {
    margin-top: 0.6em !important;
}
