@charset "utf-8";
/* CSS Document */
html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
	background-color: lightgreen;
}
#image{
    height: 64px;
    width: 64px;
    background: url('https://i.ibb.co/HHqGqrV/snake-Sprite.png') 0px 0px;
    display:none;
}
#img{
	position: absolute;
	bottom:0%;
	right:0%;
	width: 30%;
	height:30vw;
	z-index: 0;
}
#brun{
	color:saddlebrown;
}
#menu{
	text-align: center;
}
#titel{
    text-align: center;
    font-family: aguafina-script;
    font-style: normal;
    font-weight: 400;
	font-size: 200px;
	margin-top:70px;
}
#canvasDiv{
	display:none;
}
#canvas{
    position : absolute;
    top:50%;
    left:40%;
    transform: translate(-50%,-50%);
    z-index: 1;
	display: none;
}
#grid{
	display:grid;
	grid-template-rows: auto;
}
#gridgame{
	display: grid;
	grid-auto-columns: auto;
}
.grid-item{
	text-align: center;
}
#score{
	position : absolute;
	top:45%;
    left:57%;
	margin-left: 3vw;
    transform: translate(-50%,-50%);
}
#enemyScore{
	position : absolute;
	top:47%;
    left:57%;
	margin-left: 3vw;
    transform: translate(-50%,-50%);
}
#menu{
    position: absolute;
    top:0;
    left:0;
    width:100vw;
    height: 100vw;
    z-index: 1;
}
.textAttributes{
    position : absolute;
	width: 2vw;
	height: 1vw;
    top: 40%;
    left: 52%;
    margin-left: 3vw;
    transform: translate(-50%,-50%);
    font-family: erica-one;
    font-style: normal;
    font-weight: 400;
	font-size: 50px;
	text-align: center;
	vertical-align: middle;
	line-height: 2vw;
}
button{
	display:block;
	width:20vw;
	height: 5vw;
	margin-top:1vw;
}
button:hover{
	background-color:lightgray;
}
#buttonDiv{
  margin: 0;
  position: absolute;
  top: 25%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.textalign{
	text-align: center;
}
.modal-content input{
	position:relative;
	display: block;
	margin: 0 auto;
}
.modal-content button{
	margin: 0 auto;
	margin-top:2vw;
}
.modal {
    display: none;
    position: fixed;
    z-index: 3; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
}


.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
@media screen and (max-width: 1500px){
	#buttonDiv{
		top: 30%;
	}
	#countDownDiv{
		left: 55%;
        top:35%;
	}

	
}
@media screen and (max-width: 1250px){
	#buttonDiv{
		top:40%;
	}
	#score{
		left:60%;
	}
	#enemyScore{
		left:60%;
	}

}
