* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  transition: background 0.3s, color 0.3s;
  background: #f4f4f4;
  color: #222;
}

body {
  overscroll-behavior: none;
  /* or */
  overflow-y: scroll;
  -webkit-overflow-scrolling: auto;
}  

body.dark {
  background: #121212;
  color: #e0e0e0;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

h1, p {
  margin: 10px 0;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

/* Language toggle button */
#langToggleBtn {
  margin-top: 20px;
  background: #007bff;
  color: #fff;
}

#langToggleBtn:hover {
  background: #0056b3;
}

/* Dark mode toggle button (corner) */
#darkModeToggle {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  font-size: 24px;
  padding: 6px;
  border: none;
  cursor: pointer;
  color: inherit;
}

html.dark, body.dark {
  background: #121212;
  color: #e0e0e0;
}

