/* *** GLOBAL *** */

* {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font-family: 'Patrick Hand', Cursive, sans-serif;
	vertical-align: baseline;
	background: transparent;
	color: #222;
}

html, body {
	width: 100%;
	height: 100%;
}

body {
	background: #0f608a;
	text-align: center;
}

h1 {
	font-size: min(8.75vw, 8.75vh);
	padding: 20px 0;
	color: #54a6ec;
	text-shadow: -3px -3px 0 #093941;
	margin-left: 1.5%;
}

h3 {
	font-size: min(6.25vw, 6.25vh);
}

div.float_clear {
	clear: both;
}

a.a_btn,
a.a_btn_big,
a.btn_back,
a.btn_back_short,
a.btn_done_short {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50px;
	background: #498991;
}

a.a_btn_big {
	margin: 0 auto;
	width: 60%;
	height: 25%;
	font-size: min(12vw, 10vh);
}

a.a_btn {
	height: min(15vw, 15vh);
	font-size: min(5vw, 5vh);
	padding: 1%;
}

a.btn_back {
	margin: 2% auto 2% 5%;
	width: 15%;
	min-height: 30px;
	font-size: min(3.2vw, 3.2vh);
}

a.btn_sub_back {
	margin: 5% 0 0 0;
	padding: 1%;
}

a.btn_back_short,
a.btn_done_short {
	width: 20%;
	height: 15%;
	font-size: min(2.9vw, 2.9vh);
}

img.img_btn {
	cursor: pointer;
}

div.ovr {
	display: none;
	flex-flow: column;
	position: absolute;
	top: 5%;
	left: 50%;
	margin-left: -45%;
	width: 90%;
	background: #98d9e3;
	padding: 5% 10%;
	box-sizing: border-box;
	font-size: min(3.4vw, 4vh);
	border-radius: 25px;
}

#comms {
	position: fixed;
	bottom: 0.5%;
	left: 50%;
	margin: 0;	
	margin-left: -35%;
	width: 70%;
	display: none;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	border-radius: 50px;
	border: 1px solid #222;
	padding: 0.5%;
	background: rgba(40, 40, 40, 0.75);
	font-size: min(3.75vw, 3.75vh);
	animation: comms_fade 1s;
    animation-fill-mode: forwards;
    animation-delay: 2s;
    z-index: 99;
    pointer-events: none;
}

#comms_notify {
	color: #eee;
}

div.spacer {
	height: 20px;
	margin: 0;
}

input[type=number]::-webkit-inner-spin-button {
    opacity: 1
}

a:link,
a:visited,
a:hover,
a:active {
	text-decoration: none;
	color: #222;
}

.disabled {
	color: #777;
}




/* *** FOOTER *** */

#footer {
	margin-top: 40px;
}

#debug {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	min-height: 50px;
	max-height: 200px;
	overflow: scroll;
	background: #000000; 
	color: #00AA00; 
}



/* *** KEYFRAMES *** */

@keyframes comms_fade {
	from { opacity: 0.75; }
    to 	 { opacity: 0; }
}





/* *** CUSTOM FONTS *** */

@font-face {
    font-family: 'Patrick Hand';
    src: url('/fonts/PatrickHand-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Seymour One';
    src: url('/fonts/SeymourOne-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

