body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ff867c;
  color: black;
  min-height: 100vh;
  justify-content: flex-start;
  padding: 20px;
}

/* Container Style */
.container {
  background-color: rgba(255,255,255, 0.3);
  padding: 28px;
  border-radius: 7px;
  box-shadow: 0 10px 10px rgba(0,0,0,0.3);
  width: 90%;
  max-width: 450px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

/* Input Field */
.input {
  height: 53px;
  width: 300px;
  background-color: rgba(255,255,255, 0.6);
  border: 1px solid rgba(255,255,255, 0.4);
  font-size: 16px;
  padding: 0 42px;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* Heading */
.heading {
  font-size: 28px;
  margin-bottom: 20px;
}

/* Info & Meaning Containers */
.meaning-container {
  display: none;
}

.extra-info {
  margin-top: 20px;
  text-align: left;
  line-height: 1.6;
  background-color: rgba(255,255,255,0.4);
  padding: 10px;
  border-radius: 5px;
}

.extra-info p, .meaning-container p {
  margin: 6px 0;
  font-size: 16px;
}

.meaning-container strong {
  color: #000;
}

/* Toggle switch */
.toggle-container {
  align-self: flex-end;
  margin-bottom: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Dark Mode */
body.dark-mode {
  background-color: #1e1e1e;
  color: #f5f5f5;
}

body.dark-mode .container,
body.dark-mode .input,
body.dark-mode .extra-info {
  background-color: #333 !important;
  color: #fff;
  border: 1px solid #666;
}
