html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html,
body {
    height: 100%;
}

canvas {
    display: block;
}

body {
    margin: 0;
    background-color: #231F20;
}

#unity-canvas {
    width: 100%;
    height: 100%;
    background: #231F20;
}


#unity-container {
    width: 100%;
    height: 100%;
}

#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


#unity-fullscreen-button{
    display: block;

}

@media (min-width: 600px) {
    #unity-fullscreen-button{
       
    }
    #unity-container {
        /* --widthA: calc(100%/1024*400); */
        /* max-width: var(--widthA); */
        /* max-width: 650px; */
        height: calc(100%);
        margin: auto;
    }

    #loading-cover {
        --widthA: calc(100%/1024*400);
        --calX: calc(100%/2 - (var(--widthA)/2));
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: var(--widthA);
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

#unity-loading-bar {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#unity-logo {
    text-align: center;
}

#unity-logo img {
    max-width: 80%;
}

#unity-progress-bar-empty {
    width: 80%;
    height: 24px;
    margin: 10px 20px 20px 10px;
    text-align: left;
    border: 1px solid white;
    padding: 2px;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background: white;
}

.light #unity-progress-bar-empty {
    border-color: black;
}

.light #unity-progress-bar-full {
    background: black;
}

#unity-fullscreen-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center;
    background-size: contain;
}

.spinner,
.spinner:after {
    border-radius: 50%;
    width: 5em;
    height: 5em;
}

.spinner {
    margin: 10px;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    transform: translateZ(0);
    animation: spinner-spin 1.1s infinite linear;
}

.wrapper-play {
    background-image: url(../play/img/bg.jpg);
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    padding: 10px;
}

.wrapper-play .sidebar {
    width: 250px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    text-align: right;
}

.wrapper-play .sidebar .logo img {
    height: 112px;
}

.wrapper-play .content-play {

    width: calc(100%);
}

.wrapper-play .content-play #wrap-play {
    background-image: url(../play/img/bg-content-app.png);
    border: 1px solid #2e8fab;
    padding: 0px;
    position: relative;
}

.wrapper-play .menu-left-link {
    list-style: none;
    margin-top: 48px;
    padding: 5px !important;
}

.wrapper-play .menu-left-link a {
    position: relative;
    cursor: pointer;
    text-decoration: none !important;
    outline: none !important;
    font-family: Lilita One, sans-serif;
    font-size: 20px;
    line-height: 1.5em;
    letter-spacing: .1em;
    color: #fff !important;
    border-radius: 8px;
    padding: 8px 15px 10px;
    background: #a72323;
    box-shadow: none;
    border: none;
    border-top: 3px solid hsla(0, 0%, 100%, .3);
    text-shadow: none;
    display: block;
    text-align: center;
    max-width: 250px;
}

.wrapper-play .menu-left-link a svg {
    display: none;
    width: 22px;
    height: 22px;
}

@media (max-width: 1200px) {
    .wrapper-play {
        flex-direction: column;
        padding: 0;
    }

    .wrapper-play .sidebar {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #162c31;
        padding: 0 3%;
        min-height: 56px;
        display: none;
    }

    .wrapper-play .sidebar .logo img {
        height: 36px;
    }

    .wrapper-play .menu-left-link {
        margin: 0;
    }

    .wrapper-play .menu-left-link a {
        padding: 0;
        background: transparent;
        border: none;
    }

    .wrapper-play .menu-left-link a span {
        display: none;
    }

    .wrapper-play .menu-left-link a svg {
        display: block;
    }

    .wrapper-play .content-play {
        height: calc(100vh - 56px);
        width: 100%;
    }

    .wrapper-play .content-play #wrap-play {
        padding: 0;
    }
}

@keyframes spinner-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
