@charset "UTF-8";

* {
	font-family: 'Montserrat', Arial;
	-webkit-box-sizing: border-box;
	background-repeat: no-repeat;
	box-sizing: border-box;
}

body {
	/*background-color: rgb(224,248,249);*/
	color: #0a0a0a;
	margin: 0;
}

canvas {
	display: block;
}

#root {
	height: 100%;
	/*cursor: url('src/cursor.png') 8 0,default;*/
}

.container {
	position: relative;
	width: 100vw;
	height: 100vh;
}

#webglcanvas {
	position: absolute;
	border: none;
}

button {
	cursor: pointer;
	color: white;
	background-color: #00afb5;
	border: none;
	padding: 5px 10px;
	border-radius: 5px;
	margin-bottom: 5px;
}

button:hover {
	background-color: #00c6c9;
}

button:disabled {
	background-color: #c9c9c9;
	cursor: not-allowed;
}

/* Controls
******************************************************/
#controls {
	z-index: 99;
	position: absolute;
	left: 5vw;
	right: 5vw;
	top: 5vw;
	bottom: 1vw;
	/*background-color: rgba(255, 0, 0, 0.5);*/
}

#controls .leftNav {
	display: flex;
	flex-direction: column;
	flex-flow: column nowrap;
	position: absolute;
	z-index: 99;
}

/* Drag and Drop
******************************************************/
#dragAndDrop {
	pointer-events: all;
	position: absolute;
	bottom: 0;
	width: 100%;
	align-items: center;
	flex-direction: column;

	display: none;
}

#dropzoneContainer {
	height: 65px;
	display: flex;
	align-items: center;
}

#dropzone {
	display: flex;
	height: 100%;
	align-items: center;
	background-color: darkgray;
	min-width: 400px;
	color: white;
	padding: 0px 10px;
	border-radius: 5px;
}

.floatText {
	position: absolute;
	z-index: 1;
}

#playTurn,
#resetLvl {
	margin-left: 10px;
	margin-bottom: 0;
	border-radius: 50px;
	width: 60px;
	height: 60px;
}

#playTurn img {
	width: 100%;
}


#draggables {
	display: flex;
	height: 90px;
	align-items: center;
}

.draggable {
	cursor: pointer;
	background-color: rgb(32, 32, 32);
	width: 55px;
	height: 55px;
	color: white;
	margin-right: 14px;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	border-radius: 5px;
}

.draggable img {
	width: 100%;
}

.draggable.disabled {
	background-color: rgb(175, 175, 175);
	cursor: not-allowed;
}

.draggable.inStack {
	cursor: default;
}

.draggable .number {
	background-color: #B5127F;
	border-radius: 50%;
	position: absolute;
	top: -10;
	right: -10;
	width: 25px;
	height: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.draggable.disabled .number {
	display: none;
}

.draggable .delete {
	background-color: #e03838;
	border-radius: 50%;
	position: absolute;
	top: -10;
	right: -10;
	width: 25px;
	height: 25px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	display: none;
}

.draggable:last-child {
	margin-right: 0;
}

.draggable:hover .delete {
	display: flex;
}

/* Menu
******************************************************/
.menu {
	padding: calc(12vw + 80px) 6vw 6vw calc(12vw + 130px);
	position: absolute;
	top: 0;
}

.menu .title {
	font-size: 3.5em;
	margin: 0;
}

#levelComplete,
#endMenu {
	display: none;
}

/* Instructions Modal
******************************************************/
#instructionsModal{
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 99;
    align-items: center;
	justify-content: center;
	/*display: flex;*/
	display: none;
}

.modal{
	background-color: white;
    position: relative !important;
    border-radius: 4px;
    z-index: 99;
    width: 600px;
    min-width: 600px;
    min-height: 400px;
    -webkit-box-shadow: 3px 3px 10px 0px rgba(28, 28, 28, 0.46);
    -moz-box-shadow: 3px 3px 10px 0px rgba(28, 28, 28, 0.46);
    box-shadow: 3px 3px 10px 0px rgba(28, 28, 28, 0.46);
}

.modal .close{
	width: 35px;
    height: 35px;
    background-color: white;
    position: absolute;
    right: -10px;
    top: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
	border-radius: 100px;
	cursor: pointer;
	font-size: 1.3em;
	-webkit-box-shadow: 3px 3px 10px 0px rgba(28, 28, 28, 0.46);
    -moz-box-shadow: 3px 3px 10px 0px rgba(28, 28, 28, 0.46);
    box-shadow: 3px 3px 10px 0px rgba(28, 28, 28, 0.46);
}

.modal .content {
	padding: 15px;
}

.modal .content video,
.modal .content img  {
	width: 100%;
	background-color:#E0F8F9
}

.modal .content .title{
	margin-bottom: 10px;
}

.modal .content p{
	margin-top: 0;
	margin-bottom: 8px;
}