html, body {
	padding: 0;
	margin: 0;
	overflow: hidden;
	height: 100%;
}

body {
	background: #000000;
	color: white;
}

input[type="file"] {
	color: black;
}

html, body, canvas {
	touch-action-delay: none;
	touch-action: none;
}

canvas, .c3htmlwrap {
	position: absolute;
}

.c3htmlwrap {
	contain: strict;
}

.c3overlay {
	pointer-events: none;
}

.c3htmlwrap[interactive] > * {
	pointer-events: auto;
}

/* HACK - work around elements being selectable only in iOS WKWebView for some reason */
html[ioswebview] .c3htmlwrap,
html[ioswebview] canvas {
	-webkit-user-select: none;
	user-select: none;
}

html[ioswebview] .c3htmlwrap > * {
	-webkit-user-select: auto;
	user-select: auto;
}

#notSupportedWrap {
	margin: 2em auto 1em auto;
	width: 75%;
	max-width: 45em;
	border: 2px solid #aaa;
	border-radius: 1em;
	padding: 2em;
	background-color: #f0f0f0;
	font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	color: black;
}

#notSupportedTitle {
	font-size: 1.8em;
}

.notSupportedMessage {
	font-size: 1.2em;
}

.notSupportedMessage em {
	color: #888;
}

/* bbcode styles */
.bbCodeH1 {
	font-size: 2em;
	font-weight: bold;
}

.bbCodeH2 {
	font-size: 1.5em;
	font-weight: bold;
}

.bbCodeH3 {
	font-size: 1.25em;
	font-weight: bold;
}

.bbCodeH4 {
	font-size: 1.1em;
	font-weight: bold;
}

.bbCodeItem::before {
	content: " • ";
}

/* For text icons converted to HTML: size the height to the line height
   preserving the aspect ratio. Also add position: relative as that allows
   just adding a 'top' style for the iconoffsety style. */
.c3-text-icon {
	height: 1em;
	width: auto;
	position: relative;
}

/* screen reader text */
.c3-screen-reader-text {
	position: absolute;
	width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* -------------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------------------------- */

#playButton {
    background: linear-gradient(to bottom, #6666ff, #5600d0);
    color: white;
}


#instructionsButton {
    color: #6666ff;
}

#splashBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

#splashBackground img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

#topDiv {
    /* background: linear-gradient(to bottom, #251b5a, #0b081c); */
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

#bonusDiv {
    background: linear-gradient(to bottom, #251b5a, #0b081c);
}

#upperLeftDiv{
    color: white;
}

#upperRightDiv{
    color: white;
}

/* Background image for pinball table */
body {
    background-image: url('images/pbBack.png');
    /* background-repeat: no-repeat; */
    /* background-position: center center; */
    /* background-size: cover; */
}

#muteButton {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 100;
    width: 20px;
    height: 20px;
    padding: 3px;
    /* background-image: url('./img/audio_on.svg'); */
    background-position: 0px 0px;
    background-size: cover;
    cursor: pointer;
    background-color: #251b5a;
    border: 1px solid #553ed3;
    border-radius: 3px;
    z-index: 4000;
}

/* Hide bonusDiv when canvas height is less than 700px */
@media (max-height: 700px) {
    #bonusDiv {
        display: none;
    }
}


#loadingImage{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
   
    background: linear-gradient(
        rgba(27, 37, 90, 1),
        rgba(0, 114, 255, 0),
        rgba(0, 114, 255, 0),
        rgba(27, 37, 90, 1)
    );
    -webkit-mask: radial-gradient(circle, rgba(0,0,0,0) 65%, rgba(0,0,0,1) 66%);
    mask: radial-gradient(circle, rgba(0,0,0,0) 65%, rgba(0,0,0,1) 66%);
    z-index: 11000;
    pointer-events: none;
    animation: spin 1s linear infinite;
    /* opacity: 0; */
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#loadingBack{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index:10000;
    background-color: rgb(0, 0, 0);
    text-align: center;
}

/* New Score, Multiplier, and Time Display */
#scoreTimeContainer {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 24px;
    background: linear-gradient(to bottom, #6666ff, #5600d0);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 1px;
}

#scoreDisplay {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    flex: 1;
    transform: translateY(-1px);
}

#scoreTimeDivider {
    color: white;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    width: 10px;
    transform: translateY(-2px);
}

#multiplierDisplay {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    flex: 1;
    transform: translateY(-1px);
}

#multiplierTimeDivider {
    color: white;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    width: 10px;
    transform: translateY(-2px);
}

#timeDisplay {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    flex: 1;
    transform: translateY(-1px);
}

