

.game-warning {
	display: none;
}

@media only screen and (max-width: 767px)  {
	.game-warning {
		display: block;
	}
}

.game-wrap {
	/* height: 100vw;  */
	width: 100vw;
	position: relative;
	color: white;
}

@media only screen and (max-width: 767px)  {
	.game-wrap {
		display: none;
	}
}

#splash {
	height: 100%; width: 100vw;
	background-color: rgba(0, 0, 0, .6);
	position: absolute;
	top: 0; left: 0;
	z-index: 2;
	display: flex;
	font-size: 16px;
	justify-content: center;
	align-items: center;
}

.splash-wrap {
	width: 80%;
	background-color: #fcf7ea;
	border-radius: 8px;
	color: #000000;
	display: flex;
}

.splash-logo {
	text-align: center;
}

.splash-content {
	padding: 1.4em;
	font-size: 16px;
}

.splash-hero {
	width: 160%;
	height: 600px;
	background: white url('/Assets/img/resources/hourofcode/splash.svg');
	background-size: cover;
	background-position: center center;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

@media only screen and (max-width: 1100px) {
	.splash-hero {
		height: auto;
    }
}

#table {
	display: flex;
}


.cta__get-started {
	margin: 0 auto;
	padding: 1em;
	background-color: #eaaa00;
	color: #383838;
	display: inherit;
	border-radius: 4px;
	font-weight: bold;
	text-decoration: none;
	font-size: 18px;
	transition: all .25s ease-in-out;
	letter-spacing: .03em;    
	text-align: center;
	max-width: 210px;
}

.cta__get-started:hover {
	background-color: #ce9808;
	cursor: pointer;
}

.floating-cta {
	align-self: center;
	padding: 1em;
	max-width: 90%;
	margin: 0 auto;
	text-align: center;
}

#game {
	width: 100vw; 
	/* height: 100vw; */
	display: flex;
	position: relative;
	/* top: 0; left: 0; */
	z-index: 1;
	background-color: #145b19;
	padding-bottom: 4em;
}

#sidebar {
	width: 50%;
	min-width: 300px;
	position: relative;
	padding: 2em;
	background-color: #145b19;
	font-size: 16px;
}

.header {
	display: flex;
	flex-wrap: wrap;
	margin-top: -0.5rem;
	justify-content: space-between;
}

.title {
	margin: 0.5rem 0 0;
	text-transform: uppercase;
	font-family: Flama,Calibri,Arial,sans-serif;
	font-size: 28px;
}

.game-wrap pre {
	margin: 0;
}

.game-wrap code {
	padding: 1px 3px;
	background-color: rgba(255, 255, 255, 0.1);
	font-family: 'Source Code Pro', monospace;
	/* font-weight: 900; */
	color: rgba(255, 255, 255, 0.9);
	white-space: nowrap;
	border: 0;
	outline: 0;
}

.game-wrap li {
	line-height: 1.5;
}

.game-wrap a {
	color: rgba(255, 255, 255, 1);
}

.game-wrap a:hover {
	color: #fff;
}

.help {
	cursor: pointer;
	border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.tooltip {
	position: absolute;
	display: inline-block;
	max-width: 225px;
	padding: 1em 1em;
	background-color: #227728;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.5;
	z-index: 60;
	box-shadow: 1px 1px 12px rgba(0, 0, 0, .3);
}

.tooltip:after {
	content: '';
	position: absolute;
	top: -12px;
	left: 12px;
	width: 0;
	height: 0;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 12px solid #227728;
}

#share {
	display: none;
	margin-bottom: 3em;
	text-align: center;
}

.fb-like {
	z-index: 20;
	vertical-align: top;
}

.img-next {
	text-align: center;
}

.img-next img {
	display: inline-block;
	margin: 1em;
	width: 200px;
	opacity: 0.9;
}

.img-next img:hover {
	opacity: 1;
}

#instructions {
	padding-top: 1rem;
}

#instructions,
#instructions p,
#instructions ul {
	/* helps prevent the difficulty animation from jumping */
	margin: 0;
	padding-bottom: 1em;
}

#editor {
	position: relative;
}

#editor,
pre {
	font-family: 'Source Code Pro', monospace;
	font-size: 16px;
	line-height: 1.5;
	color: #aaa;
}

#css {
	height: 260px;
	position: relative;
	padding: 10px 10px 10px 40px;
	background-color: #ddd;
	border-radius: 4px;
	overflow: hidden;
}

.line-numbers {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	padding: 10px 6px;
	text-align: right;
	background-color: #999;
	color: #D5D5D5;
}

textarea#code {
	display: block;
	width: calc(100% - 16px);
	height: 24px !important;
	margin-left: 16px;
	border: none;
	font-family: 'Source Code Pro', monospace;
	font-size: 16px;
	outline: none;
	resize: none;
	overflow: auto;
}

#level-counter {
	position: relative;
	display: inline-block;
	height: 30px;
	margin-top: 0.5rem;
	font-size: 15px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#levelsWrapper {
	display: none;
	top: 30px;
	right: 31px;
	max-width: 160px;
	padding: 1em 0.5em;
	margin-top: 12px;
	z-index: 80;
}

#levelsWrapper:after {
	left: calc(50% - 12px);
}

#levels {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.level-marker {
	float: left;
	display: inline-block;
	width: 30px;
	height: 30px;
	margin: 2px;
	line-height: 26px;
	background-color: rgba(255, 255, 255, 0.3);
	border: 2px solid transparent;
	border-radius: 50%;
	text-align: center;
	cursor: pointer;
}

.level-marker.current,
.level-marker:hover {
	border-color: rgba(255, 255, 255, 0.5);
}

.level-marker.solved {
	background-color: #eeb111;
}

#level-indicator,
.arrow {
	float: left;
	height: 30px;
	background-color: rgba(255, 255, 255, 0.2);
}

#level-indicator {
	display: inline-block;
	width: 160px;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
}

#labelLevel {
	margin-left: 5px;
}

.caret {
	display: inline-block;
	margin-left: 2px;
}

#level-indicator:hover,
.arrow:not(.disabled):hover {
	background-color: rgba(255, 255, 255, 0.4);
}

#labelReset {
	margin-top: 1em;
	text-align: center;
	cursor: pointer;
}

.arrow {
	display: inline-block;
	font-family: 'Comic Sans MS';
	padding: 0.25em 0.4em 0.2em;
	cursor: pointer;
}

.arrow.left {
	border-right: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px 0 0 4px;
}

.arrow.right {
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 0 4px 4px 0;
}

.arrow.left:not(.disabled):hover,
.arrow.right:not(.disabled):hover {
	border-color: transparent;
}

.arrow.disabled {
	opacity: 0.5;
}

.game-wrap button {
	display: inline-block;
	padding: 0.4em 0.8em;
	background-color: #D11606;
	border: none;
	border-radius: 4px;
	font-family: Flama,Calibri,Arial,sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: #fff;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-appearance: none;
	appearance: none;
}

.game-wrap button:active {
	outline: none;
}

.game-wrap button:not(.disabled):hover {
	background-color: #F12D22;
}

#next {
	position: absolute;
	right: 1em;
	bottom: 1em;
}

#next.disabled {
	opacity: 0.5;
}

.credits {
	margin-top: 1.5em;
	line-height: 1.5em;
	text-align: center;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
}

#settings {
	position: relative;
}

.toggle {
	display: inline-block;
	padding: 1px 8px;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 3px;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	user-select: none;
}

#settings .tooltip {
	display: none;
	bottom: 30px;
	left: 0px;
	width: 275px;
	max-width: 275px;
	padding: 1em;
	text-align: left;
	z-index: 80;
}

#settings .tooltip:after {
	top: auto;
	bottom: -12px;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-top: 12px solid #2c3e50;
	border-bottom: none;
}

#settings section {
	margin: 0.5rem 0;
}

#settings h4 {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
}

#board {
	position: relative;
	width: 50vw;
	height: 50vw;
	min-width: 300px;
	min-height: 300px;
	overflow: hidden;
	border-radius: 12px;
	margin: 2em 2em 0 0;
}

#pond,
#background {
	display: flex;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 1em;
}

#background {
	z-index: 10;
	border-radius: 0 0 0 10px;
	/* background-image: url('/Assets/img/resources/hourofcode/table-cloth.svg');
	background-repeat: repeat;
	background-size: 50%;  
	background-position: -13px; */
    background-color: white;
    background-image: linear-gradient(90deg, rgba(200,0,0,.5) 50%, transparent 50%), linear-gradient(rgba(200,0,0,.5) 50%, transparent 50%);
    background-size: 50px 50px;	
}

#pond {
	z-index: 20;
}

.lilypad,
.frog {
	position: relative;
	width: 20%;
	height: 20%;
	overflow: hidden;
}

.frog.bounceOutUp {
	-webkit-animation-delay: .6s;
	-moz-animation-delay: .6s;
	-ms-animation-delay: .6s;
	animation-delay: .6s;
}

.frog .bg.bounce {
	-webkit-animation-duration: 2s;
	-moz-animation-duration: 2s;
	-ms-animation-duration: 2s;
	animation-duration: 2s;
}

.frog.yellow .bg.bounce {
	-webkit-animation-delay: .3s;
	-moz-animation-delay: .3s;
	-ms-animation-delay: .3s;
	animation-delay: .3s;
}

.frog.red .bg.bounce {
	-webkit-animation-delay: .6s;
	-moz-animation-delay: .6s;
	-ms-animation-delay: .6s;
	animation-delay: .6s;
}

.lilypad .bg,
.frog .bg {
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
}

.frog .bg {
	background-size: 60% 60%;
}

.lilypad.green .bg {
	background-image: url("/Assets/img/resources/hourofcode/lilypad-green.svg");
}

.lilypad.green.cb-friendly .bg {
	background-image: url("/Assets/img/resources/hourofcode/lilypad-green-color-assist.svg");
}

.lilypad.red .bg {
	background-image: url("/Assets/img/resources/hourofcode/lilypad-red.svg");
}

.lilypad.red.cb-friendly .bg {
	background-image: url("/Assets/img/resources/hourofcode/lilypad-red-color-assist.svg");
}

.lilypad.yellow .bg {
	background-image: url("/Assets/img/resources/hourofcode/lilypad-yellow.svg");
}
.lilypad.yellow.cb-friendly .bg {
	background-image: url("/Assets/img/resources/hourofcode/lilypad-yellow-color-assist.svg");
}

.frog.green .bg {
	background-image: url("/Assets/img/resources/hourofcode/frog-green.svg");
}

.frog.green.cb-friendly .bg {
	background-image: url("/Assets/img/resources/hourofcode/frog-green-color-assist.svg");
}

.frog.red .bg {
	background-image: url("/Assets/img/resources/hourofcode/frog-red.svg");
}

.frog.red.cb-friendly .bg {
	background-image: url("/Assets/img/resources/hourofcode/frog-red-color-assist.svg");
}

.frog.yellow .bg {
	background-image: url("/Assets/img/resources/hourofcode/frog-yellow.svg");
}

.frog.yellow.cb-friendly .bg {
	background-image: url("/Assets/img/resources/hourofcode/frog-yellow-color-assist.svg");
}

.wrap {
	flex-wrap: wrap;
}

/* modifiers */
.is-clipped {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(1px 1px 1px 1px);
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  width: 1px;
}