@font-face {
  font-family: PerfectDOS;
  src: url(PerfectDOS.ttf);
}

* {
    box-sizing: border-box;
    user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

body {
    font-family: PerfectDOS;
    background: black;
    color: #dff;
    text-shadow: 0 0 10px #dff;
    margin: 0;
    padding: 0;
}

.curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
}

.center_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    border-radius: 5px;
    border: 2px solid #dff;
    box-shadow: 0 0 10px #dff;
    background: #091316;
    padding: 50px;
    font-size: 30px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 20px;
    align-items: center;
    opacity: 0;
}

.login_input_box {
    padding: 5px;
    display: inline-block;
    font-size: 20px;
    border: 2px solid #dff;
    box-shadow: 0 0 10px #dff;
}

.login_button {
    border-radius: 5px;
    border: 2px solid #dff;
    box-shadow: 0 0 10px #dff;
    cursor: pointer;
    text-align: center;
    padding: 10px 50px;
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translate(-50%);
}
.login_button.hidden {
    display: none;
}

.webgl-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#unityContainer {
    margin: auto !important;
    max-height: calc( 100vh - 50px );
    max-width: calc( 100vw - 50px );
    transition: transform 0.3s;
}
#unityContainer.off {
    transform: scale( 0.7, 0 );
}

.last_message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    opacity: 0;
}
