@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');

html,body{
  margin:0;
  padding:0;
  background-color:rgb(20,20,20);
  font-family: 'Comfortaa';font-size: 22px;
  overflow:hidden;
  overflow-y:hidden;
}
canvas{
  position:absolute;
  left:0;
  top:0;
  cursor:pointer;
}

#settings-button {
  position: fixed;
  top: 12px;
  right: 12px;
  width: 84px;
  height: 84px;
  background: #222;
  color: white;
  font-size: 48px;
  text-align: center;
  line-height: 84px;
  border-radius: 16px;
  cursor: pointer;
  user-select: none;
  z-index: 1000;
}

#settings-button:hover {
  background: #333;
}

#settings-panel {
  position: fixed;
  top: 105px;
  right: 12px;
  width: 260px;
  background: #111;
  color: white;
  padding: 14px;
  border-radius: 10px;
  display: none;
  z-index: 1000;
  font-family: sans-serif;
}

#settings-panel h2 {
  margin: 0 0 10px 0;
  font-size: 18px;
}

.setting-group {
  margin-bottom: 12px;
}

.setting-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.setting-group select {
  width: 100%;
  padding: 6px;
  background: #222;
  color: white;
  border: 1px solid #333;
  border-radius: 6px;
}

#info-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#info-popup {
  background: #111;
  color: white;
  width: 420px;
  max-width: 90%;
  padding: 20px 24px;
  border-radius: 12px;
  font-family: sans-serif;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

#info-popup h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
}

#info-popup p {
  font-size: 14px;
  line-height: 1.5;
  margin: 8px 0;
}

#info-close {
  margin-top: 14px;
  padding: 8px 14px;
  background: #222;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#info-close:hover {
  background: #333;
}