body {
	/*background-color: black;*/
	overflow: hidden;
	background-image: url(background_tetris.gif);
}

div {
	font-family: 'Press Start 2P';
	color: white;
	font-size: 13px;
}

h2 {
	font-family: 'Black Ops One', cursive;
	font-size: 100px;
	color: white;
}

h3 {
	font-weight: bold;
	text-decoration: underline;
}

.logo {
	height: 134px;
    position: relative;
    top: 50px;
}

#grid {
	border: 2px solid black;
}

.header {
	width: 1200px;
	height: 100px;
	position: relative;
	margin: 4em auto;
}

.footer {
	width: 1200px;
	height: 100px;
	position: relative;
	margin: 0 auto;
	text-align: center;
	bottom: 30px;
}

canvas {
	display: inline-block;
	margin: 0 auto;
	border: 3px solid white;
}
.container {
	width: 1200px;
	height: 800px;
	margin: 3em auto;
	text-align: center;
}
.row {
	display: inline-block;
	margin: 0 auto;
	height: 600px;
}
.leftSide {
	display: inline-block;
    height: 600px;
    width: 100px;
    position: relative;
    bottom: 440px;

}
.rightSide {
	display: inline-block;
    height: 600px;
    width: 100px;
    position: relative;
    bottom: 440px;
}
#score {
	height: 50px;
}
.score {
	font-size: 15px;
}

.highscore {
	font-size: 15px;
}

#openingText {
	color: black;
    line-height: 2em;
    position: relative;
    top: 100px;
    border: 3px solid black;
    padding: 18px;
}

.modalStart {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal-content-start {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1rem 1.5rem;
    width: 24rem;
    border-radius: 0.5rem;
    width: 650px;
    height: 650px;
}

.game-start {
    top: 150px;
    width: 300px;
    line-height: 5.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
    font-size: 20px;
    position: relative;
    margin: 0 auto;
}

.game-start:hover {
    background-color: darkgray;
}

.show-modal-start {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}



.modalEnd {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}
.modal-content-end {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1rem 1.5rem;
    width: 24rem;
    border-radius: 0.5rem;
}

#gameOver {
	color: black;
    position: relative;
    left: 23px;
}

.close-button-end {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}

.retry-end {
    width: 100px;
    line-height: 2.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
    font-size: 12px;
    position: relative;
    margin: 0 auto;
}
.close-button-end:hover {
    background-color: darkgray;
}
.show-modal-end {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

