* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #fff;
}
img {
  max-width: 100%;
}

h1 {
  color: white;
  text-align: center;
  padding: 40px;
}

ul {
  list-style: none;
}

.page-header {
  background-color: black;
}

.preview {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.preview video {
  background-color: black;
  width: 100%;
  border: 5px solid black;
  margin-top: 80px;
}

.screenshots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 40px;
  row-gap: 40px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.screenshot {
  max-width: 320px;
  min-width: 280px;
  border-radius: 20px;
  border: 5px solid black;
}

.screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.game-wrapper {
  margin-left: auto;
  margin-right: auto;
  background-color: black;
  margin-bottom: 80px;
}

.webgl {
  outline: none;
}

.page-footer p {
  background-color: black;
  color: white;
  padding: 100px;
  text-align: center;
}
.page-header {
  text-align: center;
  padding: 20px;
}
.page-header {
  background-color: black;
}
.page-main {
  position: relative;
  width: 100%;
  height: 100vh;
}

.game-container {
  width: 100%;
  height: 100%;
}

#game-ui {
  position: absolute;
  z-index: 10;
}

#start-button,
#restart-button {
  padding: 10px 20px;
  font-size: 18px;
  background-color: #313fd4;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#start-button:hover,
#restart-button:hover {
  background-color: #313fd4;
}

#score {
  margin-top: 20px;
  font-size: 24px;
  color: #fff;
}

#game-over {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.9);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  z-index: 100;
}

.hidden {
  display: none;
}
