html, body { 
    width:100%;
    height: 100%;
}


#canvas {
	display: block;
	margin: 0;
	color: white;
    width: 100%;
    height: 100%;
}

#canvas:focus {
	outline: none;
}


body {
    touch-action: none;
    margin: 0;
    border: 0 none;
    padding: 0;
	text-align: center;
    background-image: url('bg.webp');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	
}


/* Loading Timer */
#loading-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 16px;
    font-family: Arial, sans-serif;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    visibility: visible;
}

/* Copyright Text */
#copyright {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 12px;
    font-family: Arial, sans-serif;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
}

/* Status Block */
#load_screen_div {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

#status-progress {
    height: 100%;
    aspect-ratio: 1;
	position: absolute;
    background-image: url('loader_image_1.webp');
    background-size: cover;
    background-repeat: no-repeat;
    visibility: visible;
}

#status-progress-inner {
    height: 100%;
    width: 100%;
    background-image: url('loader_image_2.webp');
    background-size: cover;
    background-repeat: no-repeat;
}


#top-left {
	position: absolute;
	background-image: url('logo_gl.webp');
	background-size: cover;
    top: 10px;
    left: 10px;
	height: 25%;
	aspect-ratio: 1.449871465;
}

#bottom-right {
	position: absolute;
	background-image: url('logo_oms.webp');
	background-size: cover;
    bottom: 0px;
    right: 0px;
	height: 15%;
	aspect-ratio: 1.641025641;
}


#progress-bar {
    height: 12%;
	bottom: 8%;
	position: absolute;
    aspect-ratio: 4.2;
    background-image: url('pbbg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    visibility: visible;
	transform: translate(50%);
}

#progress-bar-inner {
    height: 100%;
    width: 100%;
    background-image: url('pb.webp');
    background-size: cover;
    background-repeat: no-repeat;
}


/* Скрыть полосы прокрутки страницы */
html { overflow: hidden; }


/* Для вертикалки */
@media screen and (orientation: portrait) {
    #copyright {
        display: none; /* Hide copyright in portrait mode */
    }

    /* Scale down loading block */
    #status-progress {
		height: unset;
        width: 100%;
    }
	
	#top-left {
		height: unset;
        width: 50%;
	}

	#bottom-right {
		height: unset;
        width: 25%;
	}
	
    #progress-bar {
		height: unset;
        width: 50%;
    }

}
