/* Reset/default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #212020;
}

canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

.text-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(70, 70, 70, 0.271);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  color: rgb(176, 176, 176);
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  width: 1000px;
  z-index: 1;
}

/* UI box */
.ui-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(70, 70, 70, 0.271);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  color: rgb(176, 176, 176);
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  width: 1000px;
}

button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #739775;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover {
  background: #025e13;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: #111;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.nav-item {
  color: #739775;
  text-decoration: none;
  margin-right: 2rem;
  font-weight: bold;
  transition: color 0.2s ease;
}

.nav-item:hover {
  color: #025e13;
}