:root {
  --bg: #ffffff;
  --text: #000000;
  --card: #f5f5f5;
  --accent: #000000;
}

body.dark {
  --bg: #0d0d0d;
  --text: #ffffff;
  --card: #1a1a1a;
  --accent: #ffffff;
}

body {
  margin: 0;
  font-family: "Courier New", monospace;
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  transition: 0.3s;
}

/* Container */
.container {
  text-align: center;
  max-width: 500px;
  padding: 20px;
}

/* Card */
.card {
  background: var(--card);
  padding: 30px;
  border-radius: 3px;
  position: relative;
  box-shadow: 0 0 0 2px var(--accent);
}

/* Dotted accent */
.card::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
  background-image: radial-gradient(var(--accent) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.2;
}

/* Quote text */
.quote {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* Author */
.author {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

/* Button */
button {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--text);
  padding: 10px 20px;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
}

button:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Toggle Switch */
.toggle {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.switch {
  position: relative;
  width: 50px;
  height: 25px;
  margin-left: 10px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 25px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.slider::before {
  content: "";
  position: absolute;
  height: 15px;
  width: 15px;
  left: 4px;
  bottom: 3px;
  background: var(--accent);
  transition: 0.3s;
  border-radius: 100%;
}

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