html,
body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    overflow: hidden;
}

body {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

@media (min-height: 56.25vw) {
    #container {
        position: absolute;
        left: calc(50% - 100vw / 2);
        top: calc(50% - 56.25vw / 2);
        right: calc(50% - 100vw / 2);
        bottom: calc(50% - 56.25vw / 2);
        max-width: 100vw;
        max-height: 56.25vw;
    }

    #live-video {
        position: absolute;
        width: 100vw;
        height: 56.25vw;
    }

    #phaser-game {
        position: absolute;
        width: 100vw;
        height: 56.25vw;
    }

    #help-form {
        position: absolute;
        left: 71.1vw;
        top: 7vw;
        width: 27vw;
        height: 27vw;
        visibility: hidden;
    }
    
    #loading>#text {
        position: absolute;
        left: 0%;
        top: 60%;
        width: 100vw;
    }    
}

@media (max-height: 56.25vw) {
    #container {
        position: absolute;
        left: calc(50% - 177.8vh / 2);
        top: calc(50% - 100vh / 2);
        right: calc(50% - 177.8vh / 2);
        bottom: calc(50% - 100vh / 2);
        max-width: 177.8vh;
        max-height: 100vh;
    }

    #live-video {
        position: absolute;
        width: 177.8vh;
        height: 100vh;
    }

    #phaser-game {
        position: absolute;
        width: 177.8vh;
        height: 100vh;
    }

    #help-form {
        position: absolute;
        left: 126.5vh;
        top: 12.5vh;
        width: 48vh;
        height: 48vh;
        visibility: hidden;
    }

    #loading>#text {
        position: absolute;
        left: 0%;
        top: 60%;
        width: 177.8vh;
    }
}

/* loading */
#loading {
    /* position: absolute; */
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#loading>#image {
    position: absolute;
    left: 45%;
    top: 45%;
    width: 10%;
    text-align: center;
}

#loading>#image>img {
    width: 50%;
}

#loading>#text>#noticestate {
    text-align: center;
    color: white
}