@font-face {
  font-family: "PressStartK";
  src: url("../fonts/prstartk.ttf") format("truetype");
}

* {
  box-sizing: border-box;
  image-rendering: pixelated;
  font-family: "PressStartK", monospace;
}

.bg {
  position: fixed;
  inset: 0;
  background-image: url("https://nicolas93.582mi.com/web3/Project_2/images/background.png");
  background-repeat: repeat;
  background-size: auto;
  z-index: -2;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.menu {
  background: rgba(40, 28, 20, 0.94);
  border: 4px solid #a66851;
  padding: 2rem 3rem;
  text-align: center;
  z-index: 1;
}

.menu h1 {
  color: #f9c232;
  font-size: 2rem;
  margin-bottom: 1.2rem;
  letter-spacing: 2px;
  text-shadow: 2px 2px #000;
}

.menu button,
.menu-button {
  min-width: 180px;
  margin: 0.6rem 0;
  padding: 0.8rem;
  font-size: 0.85rem;
  letter-spacing: 1px;
  background: #a66851;
  border: 3px solid #3a2318;
  color: #fff;
  cursor: pointer;
}

#instructionsBtn {
  min-width: 220px;
}

.menu button:hover,
.menu-button:hover {
  background: #a86f4f;
  border-color: #f9c232;
}

.menu button:active,
.menu-button:active {
  transform: translateY(2px);
}

.icon-btn {
  width: 60px;
  font-size: 1rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.modal-content {
  background: #2a1c14;
  border: 4px solid #a86f4f;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 1px;
}

.modal-content h2,
.modal-content strong {
  color: #58a60a;
}

.hidden {
  display: none;
}