body {
    margin : 0;
    overflow: hidden;
    font-family: Helvetica, sans-serif;
    background-color: black;
}

video, canvas {
    animation: appear 2s ease-in-out;
}

@keyframes appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

input,
textarea,
button,
select,
a {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#logo {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 8000;
    border-radius: 10px;
    border: 3px solid #126524;
    box-shadow: 0px 0px 5px 1px #1c9962;
    width: 128px;
    max-width: 128px;
}

#popup-layer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 9000;
    align-items: center;
    justify-content: center;
    transition: opacity 0.1s ease-in-out 1s;
    opacity: 1;
}

#popup-layer.hidden {
    opacity: 0;
    transition-delay: 0s;
}

#popup-layer > div {
    position: relative;
    color: #126524;
    display: inline-block;
    max-width: 80vw;
    max-height: 90vh;
    border-radius: 10px;
    border: 3px solid #126524;
    box-shadow: 0px 0px 5px 1px #1c9962;
    background-color: #e4fff4;
    padding: 20px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.button {
    background-color: transparent;
    background-image: linear-gradient(to bottom, #fff, #f8eedb);
    border: 0 solid #e5e7eb;
    border-radius: .5rem;
    box-sizing: border-box;
    color: #482307;
    /*column-gap: 1rem;*/
    cursor: pointer;
    display: flex;
    font-size: 80%;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
    outline: 2px solid transparent;
    padding: 1rem 1.5rem;
    text-align: center;
    text-transform: none;
    transition: all .1s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -6px 8px 10px rgba(81,41,10,0.1),0px 2px 2px rgba(81,41,10,0.5);
}

.button:active:not(:disabled):not(.fake) {
    background-color: #f3f4f6;
    box-shadow: -1px 2px 5px rgba(81,41,10,0.15),0px 1px 1px rgba(81,41,10,0.3);
    transform: translateY(3px);
}

.button:disabled {
    background-image: linear-gradient(to bottom, #efefef, #aeaeae);
    color: #4e3b2b;
}

.language-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.language-button img {
    margin-top: 5px;
    width: 50px;
    max-width: 50px;
    border-radius: 50%;
    box-shadow: -1px 2px 5px rgba(81,41,10,0.5);
}

#language-select .language-button:first-of-type {
    margin-right: 20px;
}

#popup-layer .coord-locked {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
}

#popup-layer .coord-locked span {
    max-width: 250px;
}

#popup-layer .coord-locked .buttons {
    display: none;
    position: absolute;
    bottom: 35px;
    width: 100%;
}

#popup-layer span {
    text-align: justify;
}

#popup-layer .coord-locked img {
    width: 250px;
    max-width: 250px;
    display: inline-block;
    margin-top: 10px;
    border-radius: 20px;
    box-shadow: -1px 2px 5px rgba(81,41,10,0.5);
}

.buttons {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttons > *:not(:first-child) {
    margin-left: 15px;
}

.buttons.small > *:not(:first-child) {
    margin-left: 3px;
}

.buttons.small > button {
    padding: 0.75rem 1.1rem;
}

#popup-layer #eula2 {
    width: 250px;
    max-width: 250px;
    position: relative;
    height: 300px;
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#eula-timer {
    font-size: 100px;
}

#eula-text {
    font-size: 10px;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 0;
    transform: translateY(400px);
    transition: transform 4s linear;
    white-space: pre-line;
}

#review-input {
    display: block;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    background-image: linear-gradient(to bottom, #fff, #fbfff7);
    border: 0 solid #e5e7eb;
    border-radius: 20px;
    box-sizing: border-box;
    color: #482307;
    line-height: 24px;
    outline: 2px solid transparent;
    transition: all .1s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -6px 8px 10px rgba(81,41,10,0.1),0px 2px 2px rgba(81,41,10,0.5);
}
