/*font-family: 'VT323', monospace;
font-family: 'Press Start 2P', cursive;*/
html {
	margin: 0;
	padding: 0;

}

body {
	font-family: 'VT323', monospace;
	background-image: url('../img/backgroundImage.png');
	background-size: cover;
	background-attachment: fixed;
}

.canvasContainer {
	position: relative;
}

canvas {
	background: url("../img/froggoBg.jpg");
	border-radius: 5px;
	border: 3px inset grey;
}

main {
	color: white;
	text-align: center;
	width: 300px;
	margin: 0 auto;
	position: relative;
}

h1 {
	text-align: center;
	color: white;
	font-family: 'VT323', monospace;
	text-shadow: 0 0 3px grey;
	margin-bottom: 10px;
}

.content {
  min-height: calc(100vh - 40px);
}

footer {
	position: absolute;
	margin-top: 10px;
	padding-top: 7px;
	padding-left: 10px;
	bottom: 0;
	width: 100%;
	margin-left: -10px;
	height: 30px;
	background-color: rgba(0,0,0,0.2);
	bottom:0px;
	right:0%;
	left:0%;
	position:fixed!important;
	top:expression((0-(footer.offsetHeight)+
	(document.documentElement.clientHeight?
	document.documentElement.clientHeight:
	document.body.clientHeight)+(ignoreMe=document.documentElement.scrollTop?
	document.documentElement.scrollTop:document.
	body.scrollTop))+'px');
	visibility:visible;
}

.hideForMobile { 
	visibility: visible;
}

.hideForMobile.hide {
	visibility: hidden;
}

.dPad  {
	position: absolute;
	visibility: hidden;
	background-image: url('../img/squared_metal.png');
	background-size: cover;
	border: 3px outset grey;
	width: 160px;
	height: 90px;
	bottom: 10px;
	left: 67px;
	margin: 0 auto;
	border-radius: 20px;
}

.dPad.active {
	visibility: visible;
}

#leftButton { 
	position: absolute;
	left: 9px;
	top: 25px;
}

#upDown {
	position: absolute;
	left: 57px;
	width: 30px;
}

#rightButton {
	position: absolute;
	right: 9px;
	top: 25px;
}

.displayScore {
	font-size: 44px;
}

#infoButton{
	background-color: #D2F92A;
	border-radius: 10px;
	font-family: 'Press Start 2P', cursive;
	padding: 3px 4px;
	border: 3px #E9FA9E outset;
	font-size: 8px;
}

#infoButton:hover {
	cursor: pointer;
	border: 3px #B1C45F inset;
	background-color: #C1DC47;
}

.icon.info {
	filter: none;
}

.info-overlay, .continue-screen, .next-level-screen, .you-won-screen, .gameover-screen {
	visibility: hidden;
	position: absolute;
	background-color: #f9b82a;
	border: 3px outset grey;
	width: 180px;
	height: 360px;
	top: 30px;
	left: 57px;
	margin: 0 auto;
	border-radius: 20px;
}

.info-overlay.active, .continue-screen.active, .next-level-screen.active, .you-won-screen.active, .gameover-screen.active {
	/*displays info when "active" class is present*/
	visibility: visible;
	text-align: center;
}

.info-content, .continue-content, .next-level-content, .you-won-content, .gameover-content {
	/*Hides info content when there is no "active" class */
	visibility: hidden;
}

.info-content.active, .continue-content.active, .next-level-content.active, .you-won-content.active, .gameover-content.active {
	/*Shows info content when "active" class is present */
	visibility: visible;
	margin: 10px;
	text-align: center;
}

#info-close, #continue-button, #next-level-button, #reset-game-button, #gameover-button {
	padding: 5px 15px;
	background-color: white;
	border: 4px outset grey;
	border-radius: 7px;
	font-family: 'Press Start 2P', cursive;
	position: absolute;
	bottom: 15px;
	left: 42px;
}

#next-level-button {
	margin-left: 10px;
}

#continue-button {
	margin-left: 10px;
}

#reset-game-button, #gameover-button {
	margin-left: -25px;
}

.icon {
	width: 20px;
	height: 20px;
	display: inline-block;
	filter: invert(100%);
}

#score {
	margin: 0 35px 0 20px;
}

#startButton {
	font-family: 'Press Start 2P', cursive;
	padding: 10px 42px;
	border: 3px outset grey;
	background-color: #f9b82a;
	border-radius: 5px;
	margin-bottom: -7px;
}

#startButton:hover {
	background-color: #F9E92A;
	cursor: pointer;
}

#copyright {
	color: white;
	margin-left: 20px;
}

#timer {
	display: none;
}

/*start of RADIO BUTTON STYLING*/

@keyframes click-wave {
  0% {
    height: 40px;
    width: 40px;
    opacity: 0.35;
    position: relative;
  }
  100% {
    height: 200px;
    width: 200px;
    margin-left: -80px;
    margin-top: -80px;
    opacity: 0;
  }
}

label {
	padding: 1em;
}

.option-input {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	position: relative;
	top: 13.33333px;
	right: 0;
	bottom: 0;
	left: 0;
	height: 30px;
	width: 30px;
	transition: all 0.15s ease-out 0s;
	background: #cbd1d8;
	border: none;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	margin-right: 0.5rem;
	outline: none;
	position: relative;
	z-index: 1000;
}
.option-input:hover {
	background: #9faab7;
}
.option-input:checked {
	background: #FFE400;
}
.option-input:checked::before {
	height: 30px;
	width: 30px;
	position: absolute;
	content: '✔';
	display: inline-block;
	font-size: 21px;
	text-align: center;
	line-height: 30px;
}
.option-input:checked::after {
	-webkit-animation: click-wave 0.65s;
	-moz-animation: click-wave 0.65s;
	animation: click-wave 0.65s;
	background: #f9a62a;
	content: '';
	display: block;
	position: relative;
	z-index: 100;
}
.option-input.radio {
	border-radius: 50%;
}
.option-input.radio::after {
	border-radius: 50%;
}

/*end of RADIO BUTTON STYLING*/

#heart {
	font-family: sans-serif;
	color: #d64161;
	font-size: 18px;
}

@media (max-width: 900px) {
	body {
		padding-bottom: 40px;
	}
}

