body {
	background-color: white;
	text-align: center;
	font-family: sans-serif;
}

* {
margin: 0;
padding: 0;
position: flex;
}
.bodydark {
	background-color: black;
}

h2 {
	color: black;
	margin-bottom: 9px;
	margin-top: 0;
}
.h2dark {
	color: white;
}

.top {
	text-align: right;
	justify-content: center;
}

.settings {
	text-align: right;
	margin-right:10px;
	border: none;
	margin-bottom: 0;
	font-size: 25px;
}

.darksettings {
color: white;
}

.score {
	font-weight: bold;
	font-size: 16px;
	margin-left: 20px;
	text-align:left;
	margin-right: 120px;
	color: black;
}

.darkscore {
	color: white;
}
.highscore {
	font-weight: bold;
	text-align: right;
	margin-right: 30px;
	font-size: 16px;
	color: black;
}

.darkHighScore {
	color: white;
}
canvas {
	border: 3px solid black;
	margin:5px;
	border-radius: 5px;
}

.canvasdark {
	border: 3px solid white;	
}
.p {
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 10px;
	padding-bottom: 10px;
	margin: 6px;
	font-weight: bold;
	font-size: 28px;
	border: 4px solid black;
	background-color: white;
	border-radius: 8px;
	text-align: center;
	color: black;
}

.pdark {
color: white;
border: 4px solid white;
background-color: black;
}
.menu {
text-align: center;
}

.restart {
	font-size: 25px;
	font-weight: bold;
}

.restartdark {
	background-color: black;
	color: white;
}

.pause {
	font-size: 19px;
	font-weight: bold;
	padding-left: 30px;
	padding-right: 30px;
	
}

.pausedark {
	background-color: black;
	color: white;
}
.play {
	font-weight: bold;
	margin-left: 7px;
	font-size: 20px;
	margin-bottom: 10px;
}
.darkplay {
	background-color: black;
	color: white;
}
.showsett {
	width: 300px;
	height: 200px;
	border: 1px solid gray;
	position:absolute;
	margin: 0;
	background-color: white;
	text-align: left;
	visibility: hidden;
	border-radius: 10px;
	top: 21%;
	right: 7%;
}

.closesettings {
font-weight: bold;
background-color: white;
font-size: 30px;
margin-left: 13px;
}

.level {
margin-left: 8px;
font-size: 14px;
}
.open-settings{
	visibility: visible;
}

.set {
text-align: right;
margin-top: 5px;
}

.darkmode {
	margin-left: 10px;
	border-radius: 50px;
	font-size: 15px;
	color: black;
}

.help {
color: black;
font-size: 25px;
margin-right: 280px;
border: 1px solid black;
padding-left: 9px;
padding-right: 9px;
border-radius: 50px;
}
.darkhelp {
	color: white;
}

.showhelp {
width: 350px;
height: 585px;
border: 2px solid gray;
position:absolute;
margin: 0;
background-color: white;
top: 1%;
left: 1%;
text-align: left;
visibility: hidden;

border-radius: 10px;
}

.open-help {
visibility: visible;
}

.closehelp {
font-weight: bold;
background-color: white;
font-size: 30px;
margin-left: 13px;
border: none;
}
.ht {
margin-left: 12px;
}
.helpsection {
text-align: center;
font-weight: bold;
border: 1px solid black;
border-radius: 5px;
}