root { 
    display: block;
}

body{
    
	background-color: #56246F;
	background-repeat: repeat-x;
	background-position: top;
}

*, *:before, *:after {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
     
input, input:before, input:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

::selection { background: transparent;color:inherit; }
::-moz-selection { background: transparent;color:inherit; }

#splash{
	height: 100dvh;
	display:none;	
	
}

#scoresplash{
	height: 100dvh;
	display:none;	
}

.splash-container{
	height:100dvh;
	display: flex;
	flex-direction: column;
	position:relative;
	justify-content: space-between;
	z-index:1;
	background-color:#56246F;
	color:#ffffff;
	
}

.score-text{
	font-family: 'amsipro-semibold';
	color: #ffffff;
	font-size: 3dvh;
	line-height: 3.5dvh;
	padding-left: 3dvh;
	padding-right: 3dvh;
}

.score-value{
	font-family: 'amsiprocond-black';
	font-size: 9dvh;
	line-height:7dvh;
	color: #56246F;
}

.score-label{
	font-family: 'amsiprocond-black';
	font-size: 6dvh;
	color: #56246F;
}

.banner-row{
    margin-bottom: 0.5rem;	
}

.banner-row img{
	width:100%;
	max-width:576px;
}

#coin-bg{
	background-image: url("../sprites/coin.png");
	background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
	height:30dvh;
	display: flex;
    flex-direction: column;
	justify-content: center;
}


.title-row-header{
	font-family: 'amsiprocond-black';
	font-size: 6dvh;
	color: #F2B700;
	margin-bottom:2dvh;
	line-height: 6dvh;
}


.logo img{
height: 23dvh;
max-height:340px;
margin-top:6dvh;
	
}

.title-row-image img{
height: 27dvh;
max-height:350px;
}

.score-row-image img{
height: 25dvh;
max-height:320px;
}



.title-row{

margin-left:2dvh;
margin-right:2dvh;

}

.title-row-text{
	font-family: 'amsipro-semibold';
	color: #ffffff;
	font-size: 3dvh;
	line-height: 3.5dvh;
	
}

.title-row-text-small{
	font-family: 'amsipro-semibold';
	color: #ffffff;
	font-size: 2.5dvh;
	line-height: 3.5dvh;
	
}
.title-row-text-small a:link, a:visited, a:hover, a:active{
color:#F2B700;	
}


.title-button-row{
margin-top:2dvh;
margin-bottom:2dvh;
}



.dcbutton{
	
	font-family: 'amsipro-bold';
	text-decoration: none;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	white-space: nowrap;
	outline: none;
	border: 0px solid #000000;
	
	border-radius: 7dvh;
	
	font-size: 3.5dvh;
    padding-top: 1.2dvh;
    padding-bottom: 1.2dvh;
    padding-left: 2dvh;
    padding-right: 2dvh;
    width: 75dvw;
    max-width: 40dvh;
	
	background-color:#F2B700;
	color: #56246F;
	

}

.modal {
	
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	
	/*display: flex;*/
	align-items: center;
	justify-content: center;
	background-color: rgba(0,0,0,0.4);
	
	
	
}


.modal-header {
	font-family: 'amsiprocond-black';
	color: #ffffff;
	font-size:6dvh;
	text-align:center;
	margin: 2dvh;
	line-height: 1;
}

.modal-body{
	text-align:center;
	padding:1dvh;
}

.modal-text{
	font-family: 'amsipro-semibold';
	color:#ffffff;
	font-size:4dvh;
}

#resultwindow .modal-content{
	width: 70vw;
	max-width: 800px;
	background-color: #56246F;
	border-radius: 10px;
	padding: 2dvh;
	border-radius:10px;
}





#canvas{
    position: fixed;
}

canvas {
    image-rendering: optimizeSpeed;
    image-rendering:-o-crisp-edges;
    image-rendering:-webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
	-ms-touch-action: none;
}

.ani_hack{
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* mobile webkit */
}

@font-face {
    font-family: 'amsiprocond-black';
    src: url('amsiprocond-black-webfont.woff2') format('woff2'),
         url('amsiprocond-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'amsipro-semibold';
    src: url('amsipro-semibold-webfont.woff2') format('woff2'),
         url('amsipro-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'amsipro-bold';
    src: url('amsipro-bold-webfont.woff2') format('woff2'),
         url('amsipro-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}



.preload-fonts{
        position: fixed;
        opacity:0;
}

.preload-font-1{
        font-family: 'amsiprocond-black';
}
.preload-font-2{
        font-family: 'amsipro-semibold';
}
.preload-font-3{
        font-family: 'amsipro-bold';
}

#turndevice{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 260px;
	height: 220px;
	margin-top: -110px;
	margin-left: -130px;
	display:none;
}