
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

* {
	margin: 0;
	overflow: hidden;
	font-family: 'Roboto', sans-serif;
}
body {
	width: 100%;
	text-align: center;
	background-color: black;
}
/* Board */

canvas {
    padding: 0;
    margin: auto;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Modal */

.modal {
	z-index: 99;
	position: fixed;
	top: 50vh;
	left: 50vw;
	width: 70vw;
	max-height: 90vh;
	background: rgba(255, 255, 255, 1);
	transform: translate(-50%, -50%);
	color: #000;
	border-radius: 7px;
	padding: 10px;
	overflow-y: auto;
}


.modal h1 {
	font-size: 40px;
}

.modal h2 {
	font-size: 30px;
}

.modal h3 {
	font-size: 25px;
}

.modal h4 {
	font-size: 17px;
}

.modal p {
	font-size: 17px;
	text-align: justify;
	margin-bottom: 3px;
}

/* Mask */
.mask {
	z-index: 1;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0,0,0,0.8);
}

/* Win message modal */
#win-message {
	display: none;
}

/* Button */
.btn {
	font-size: 17px;
	display: inline-block;
	min-width: 150px;
	margin: 15px 0;
	padding: 5px;
	background-color: #3498db;
	transition: all 0.2s;
	border-radius: 5px;
	color: #FFF;
	cursor: pointer;
}

.btn:hover, .btn:active {
	background-color: #51a7e0;
}
