body {
  font-family: Arial, sans-serif;
  text-align: center;
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
	height: 100vh;
  display: flex;
  align-items: center;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


h1 {
  font-size: 2em;
  color: #333;
}

h2 {
  font-size: 1.5em;
  color: #333;
}

p {
  font-size: 1.2em;
  color: #666;
}

input[type=range] {
  width: 50%;
  margin-top: 10px;
  max-width: 200px;
}

button {
  margin-top: 10px;
  padding: 10px;
  font-size: 1.2em;
  background-color: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#gameWrapper {
  background-color: rgba(230, 230, 230, 0.85);
  opacity: 50;
  padding: 30px;
  max-width: 800px;
  height: 400px;
  border-radius: 2px;
  margin: auto;
  width: 80%;
  position: relative;
  left: 0;
  right: 0;
  margin: auto;
}

button:hover {
  background-color: #3e8e41;
}

#game {
  font-size: 2em;
  color: #333;
  display: inline;
  position: relative;
}

#result {
  position: absolute;
  font-size: 1.5em;
  color: #333;
    
  bottom: 10px;
  right: 10px;
}

#game span {
  color: grey;
}

#game span.current {
  color: red;
}

#game span.correct {
  color: green;
}

#game span.wrong {
  color: black;
  text-decoration: line-through;
}

#game span.incorrect {
  color: red;
  text-decoration: line-through;
}
/* Modal Box for Highscore*/

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}





.modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}

.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}

.modal-header h2 {
margin: 0;
}

.modal-close {
font-size: 1.5em;
font-weight: bold;
color: #aaa;
cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

.modal-options {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

.modal-option {
margin-bottom: 20px;
width: 45%;
}

.modal-option h3 {
margin: 0;
margin-bottom: 10px;
}

.modal-option ul {
margin: 0;
padding: 0;
list-style: none;
}

.modal-option ul li {
margin-bottom: 5px;
}

.modal-button {
margin-top: 20px;
padding: 10px;
font-size: 1.2em;
background-color: #4CAF50;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}

.modal-button:hover {
background-color: #3e8e41;
}