/* Copyright (c) 2017 MIT 6.813/6.831 course staff, all rights reserved.
 * Redistribution of original or derived work requires permission of course staff.
 */

/* REMOVE ME - dashed lines and height for debugging */
/*
#mainColumn {
  outline: 1px dashed orange;
  height: 200px;
}
*/
/* Your css code here! */

div {
	/*border: 1px solid green;*/
}

body {
	background-color: #caf0ff;
	margin: auto;
	vertical-align: middle;
	font-weight: bold;
	text-align: center;
}

.container {
	width: 1366px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;	
}

img {
	position: absolute;
}

img.logo {
	display: block;
	position: relative;
	max-width: 344px;
	margin: 0 auto;
}

img.items {
	display: block;
	position: relative;
	max-width: 340px;
	margin: 0 auto;	
}
@media only screen and (max-width: 600px) {
	img.items {
		margin-bottom: 30px;
	}
}

.btn {
	margin: 5px;
	border: 1px solid #666666;
	box-shadow: 1px 1px 5px gray;
}

.btn:hover {
	background-color: #8c8c8c;
}

.arrow {
	margin: 0;
	color: white;
}

.arrow:disabled {
	background-color: grey;
}

.arrow:enabled {
	background-color: #4889f0;
}

#firstColumn, #mainColumn, #lastColumn {
	padding: 10px;
}

#mainColumn {
	width: 892px;
}

#firstColumn {
	z-index: 3;
	text-align: center;
}

#gameTitle {
	font-weight: bold;
	color: red;
}

#gameBoard {
	background-color: #a6e6ff;
	border-radius: 20px;	
	z-index: 1;
	width: 892px;
	height: 892px;
	table-layout: fixed;
	position: relative;
}

#gameBoard .flare {
	position: absolute;
	opacity: 1;
}
#gameBoard img {
}

#moveInput {
	width: 50px;
}

#moveInput:hover, #moveInput:focus {
	box-shadow: 0 0 5px blue;
}

#arrowContainer {
	margin: 20px auto;
}

#canvas {
	z-index: 10;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 892px;
	height: 892px;
	opacity: 0.7;
}

#scoreLabel {
	background-color: #a6e6ff !important;
	width: 334px;
	font-size: 42px;
	border-radius: 20px;
    padding: 20px;	
	margin: 20px 0
}
#scoreLabel span {
	font-size: 24px !important;
}

#cover {
	z-index: 2;
	position: absolute;
	top: -1000px;
	left: 50%;
	background-color: #caf0ff;;
	width: 892px;
	height: 1000px;
	transform: translateX(-50%);
}

#newGame, #showMove {
	width: 10em;
}

#newGame {
	background: url('graphics/btn.png') no-repeat;
	border: none;
	cursor: pointer;
    box-shadow: none;
    width: 335px;
    height: 85px;
    font-size: 27px;
    padding-bottom: 25px;
    color: #18355E;
    font-weight: 600;
    margin: 20px 0 190px;	
}
@media only screen and (max-width: 600px) {
	#newGame {
		margin-bottom: 20px;
	}
}

#DEBUG {
	z-index: 100;
	position: fixed;
	top: 50px;
	left: 25px;
	background-color: #ff4d4d;
	opacity: 0.85;
}

#blob, #good {
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 0;
	left: -1000px;
}

#fullscreen-btn {
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 513.3 513.3'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: %235f8c9d; %7D %3C/style%3E%3C/defs%3E%3C!-- Generator: Adobe Illustrator 28.7.7, SVG Export Plug-In . SVG Version: 1.2.0 Build 194) --%3E%3Cg%3E%3Cg id='Capa_1'%3E%3Cg%3E%3Cpolygon class='cls-1' points='177.5 305.9 42.8 440.6 42.8 342.2 0 342.2 0 513.3 171.1 513.3 171.1 470.5 74.9 470.5 209.6 335.8 177.5 305.9'/%3E%3Cpolygon class='cls-1' points='470.5 440.6 72.7 42.8 171.1 42.8 171.1 0 0 0 0 171.1 42.8 171.1 42.8 72.7 440.6 470.5 342.2 470.5 342.2 513.3 513.3 513.3 513.3 342.2 470.5 342.2 470.5 440.6'/%3E%3Cpolygon class='cls-1' points='342.2 0 342.2 42.8 442.7 42.8 308 177.5 337.9 207.5 470.5 74.9 470.5 171.1 513.3 171.1 513.3 0 342.2 0'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	position:absolute; top: 20px; right: 20px;
}