@font-face {
    font-family: clip;
    src: url("../src/fonts/clip.ttf") format('truetype');
    font-style: normal;
    font-weight: 600;
}

body {
    padding: 0;
    margin: 0;

    width: 100vw;
    height: 100vh;

    font-family: clip, Arial, Helvetica, sans-serif;
    font-size: 12px;
    
    background-color: #000000;

    /**/
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

#container {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;

    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;

    background-image: url(../src/images/wood.jpg);
    background-position: center;
    background-repeat: repeat;
    overflow: hidden;
}

.full-screen {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 1.2s linear;
}

#loadInfoDiv {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;

    padding: 20px;
    font-size: 32px;
    color: #00f56d;
    text-shadow: 0 0 12px black;

    opacity: 1;
}
#loadInfoDiv span {color: #ff00bc;}

#gameDiv {
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

#shell {
    /*display: flex;*/
    display: none;
    font-size: 24px;
    color: #ffffff;
    text-align: center;
    justify-content: center;

    background-color: #000000db;
    align-items: center;
}

.side-bar {
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
    height: 100vh;
    width: calc((100vw - 100vh) / 2);
    color: #ffffff;
    font-size: 18px;
    text-align: center;
}
.side-bar img{
    max-height: 64px;
}

#help {
    display: none;

    flex-wrap: wrap;
    text-align: center;
    justify-content: center;

    background-color: #00f56d4b;
    align-items: center;
}
#helpContainer {
    width: 100vh;
    height: 100vh;
    box-sizing: border-box;
    padding: 20px;
}
#helpContent{
    width: 100%;
    height: calc(100% - 42px);
    margin-bottom: 10px;
    background-color: #00f56d;
    border-radius: 16px;
}
#nextHelp {
    width: 100%;
    height: 32px;
    line-height: 32px;
    font-size: 24px;
}
#closeHelp {
    height: 32px;
    border-radius: 16px;
    line-height: 32px;
    font-size: 24px;width: 100%;
    background-color: #ff00bc;
}
#imageHelp {
    height: calc(100% - 32px);
}
#imageHelp img{
    display: inline-block;
    height: calc(100% - 32px);
}

#canvas {
    display: block;
    height: 100vh;
    width: 100vh;
    background-color: transparent;

    opacity: 1;
    transition: opacity 0.6s linear;
}

@media (orientation: landscape) {
    .side-bar {
        height: 100vh;
        width: calc((100vw - 100vh) / 2);
    }
    .top-left {
        display: flex;
    }
    .bottom-right {
        display: none;
    }
    
    #canvas {
        height: 100vh;
        width: 100vh;
    }

    #helpContainer {
        width: 100vh;
        height: 100vh;
    }
}

@media (orientation: portrait) {
    .side-bar {
        height: calc((100vh - 100vw) / 2);
        width: 100vw;
    }
    .top-left {
        display: none;
    }
    .bottom-right {
        display: flex;
    }
    
    #canvas {
        height: 100vw;
        width: 100vw;
    }

    #helpContainer {
        width: 100vw;
        height: 100vw;
    }
}