
@font-face {
  font-family: 'Nunito';
  src: url('../assets/Nunito-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #0d0d0d;
  overflow: hidden;
  font-family: "Font", 'Nunito', sans-serif; /* Apply Nunito globally */
}

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

.back-button {
  position: fixed;
  top: 1rem;
  left: 1rem;
  font-family: "Font";
  background: none;
  border: 2px solid rgb(233, 222, 152);
  border-radius: 50%;
  color: rgb(233, 222, 152);
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  z-index: 1000;
}

.toggle-switch {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: 50px;
  height: 25px;
  background: rgb(233, 222, 152);
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 2px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.toggle-switch .toggle-knob {
  width: 21px;
  height: 21px;
  background: rgb(194, 186, 120);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle-switch.active {
  background: rgb(233, 222, 152);
}

.toggle-switch.active .toggle-knob {
  transform: translateX(25px);
}

#infoBox {
  z-index: 100;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  font-family: 'Nunito', sans-serif; /* Use Nunito font explicitly */
  color: rgb(233, 222, 152);
  padding: 1rem;
  border-radius: 5px;
  display: none;
}