@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Inter:wght@400;500;600;700;800&family=Poppins:wght@100;200;300;400&display=swap');

body {
  background: url("../assets/Backgrounds/background.jpeg") repeat;
  margin: 0;

  font-family: 'Cinzel Decorative', cursive;
}

#menu-page, #high-scores-page, #about-page, #canvas, #game-over-box {
  position: absolute;
  background: url("../assets/Backgrounds/gameplay.png") no-repeat center center fixed;
  color: #00a8b8;
  width: 600px;
  height: 700px;
  text-align: center;
  border: 1px solid green;
}

h1 {
  font-size: 3.5em;
  color: #4CAF50;
}

ul {
  list-style: none;
  padding: 0;
  font-size: 2em;
}

#about-page li, #about-page p {
  margin: 5px;
}

#about-page ul {
  margin: 0;
}

.about-li {
  padding-top: 2px;
  font-size: 0.5em;
}

a {
  text-decoration: none;
  color: #00f2e5;
}

a:visited {
  color: #00f2e5;
}

a:hover {
  color: #1bd258;
}

.light-grey {
  color: #1bd258;
}

.about-li a {
  color: #1bd258;
}


.hide {
  display: none;
}

.show {
  display: block;
}

#game-canvas {
  display: none;
}

#splash-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: url("../assets/Backgrounds/background.jpeg") repeat;
}


#start-button {
  padding: 10px 20px;
  font-size: 24px;
}

.text{
  font-size: 2rem;
}

.description {
  font-size: 1rem;
}

.exit {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  background-color: #4CAF50;
  color: #fff;
  cursor: pointer;
  margin: 40px auto;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.exit:hover {
  background-color: #00ffcc;
  color: black;
}

.exit:active {
  background-color: #3e8e41;
}


input[type="text"] {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.movement, .shoot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrows, .wasd {
  display: flex;
  align-items: center;
  gap: 5px;
}

.arrow, .wasd, .spacebar {
  font-size: 2em;
  color: #00ffcc;
  transition: transform 0.3s ease-in-out;
}

.wasd {
  color: #ffcc00; 
  font-weight: bold;
}

.arrow:hover, .wasd:hover, .spacebar:hover {
  transform: scale(1.2);
  color: #ffcc00;
}

#about-page p {
  color: #e0e0e0;
  font-size: 1.1em;
}

.movement p {
  margin-top: 10px;
  font-style: italic;
}

.back-button {
  display: inline-flex;
  align-items: center;
  color: #00ffcc;
  font-size: 1.2em;
  text-decoration: none;
  padding: 8px 12px;
  border: 2px solid #00ffcc;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.back-button:hover {
  background-color: #00ffcc;
  color: #000;
}
