@font-face {
    font-family: 'Kanit';
    src: url('Fonts/subset-Kanit-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    background-color: #2a2a2a;
    color: #000000;

    font-family: 'Kanit', sans-serif;

    margin: 0;
    padding: 0;
    overflow: hidden;

    display: flex;
    justify-items: center;
    align-items: center;

    width: 100svw;
    height: 100svh;

    background-image: url('Images/bg.png');
    background-size: cover;
    background-position: center center; 
    background-repeat: no-repeat;
}

#unity-container {
    max-width: 100svw;
    max-height: 100svh;

    margin: auto;
}

#unity-canvas {
    display: none;
    width: 100svw;
    height: 100svh;
}

#unity-loading-area {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#unity-logo {
    width: 100svw;
    height: auto;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px; 

    position: relative;
    z-index: 2; 

    content: url('Images/logo.gif');
}
/*
#unity-progress-bar-empty {
    width: 169px;
    height: 24px;

    background-image: url('Images/bar-slider-empty.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;

    border-radius: 0; 
    overflow: visible;
    margin: 0 auto 10px auto;
    position: relative;
    z-index: 1;
}

#unity-progress-bar-empty::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.05);
    
    background-image: url('Images/slideBar.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 3;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background-color: transparent;
    border-radius: 0px;
    transition: width 0.2s linear;

    position: absolute;
    top: 0;
    left: 0;
    
    background-image: url('Images/bar-slider-full.png');
    background-size: cover;
    background-repeat: no-repeat;
    
    z-index: 2;
}

#unity-progress-text {
    font-size: 24px;
    font-weight: bold; 

    color: #ffffff;
  
    -webkit-text-stroke: 1.5px black;
    text-shadow: 1.5px 1px 0 #000;

    margin-top: 5px;
    z-index: 2;
}
*/
