:root {
  --bg-color: #181818;
  --text-color: #ffffff;
  --quote-color: #bbbbbb;
  --time-color: #ffffff;
  --paper-texture: none;
}

[data-theme=light] {
  --bg-color: #f5f5f5;
  --text-color: #333333;
  --quote-color: #555555;
  --time-color: #000000;
  --paper-texture: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e0e0e0' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

body {
  background-color: var(--bg-color);
  background-image: var(--paper-texture);
  color: var(--text-color);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.error-page,
body.no-quote-page {
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 50px;
  display: block;
}
body.error-page h1, body.error-page p,
body.no-quote-page h1,
body.no-quote-page p {
  display: block;
  margin: 1rem 0;
}

main {
  padding: 10rem;
}

#current-time {
  color: var(--quote-color);
  font-family: "Crimson Pro", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  transition: color 0.3s ease;
}

.quote {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.time-text {
  color: var(--time-color);
  font-size: 2.5rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.book, .author {
  text-align: right;
  font-size: 1.5rem;
  font-style: italic;
}

@media (max-width: 768px) {
  main {
    padding: 1rem;
  }
  .quote {
    margin-bottom: 1.5rem;
  }
  .quote, .time-text {
    font-size: 1.8rem;
  }
  .book, .author {
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  main {
    padding: 0.5rem;
  }
  .quote {
    font-size: 1.4rem;
  }
  .quote, .time-text {
    font-size: 1.4rem;
  }
  .book, .author {
    font-size: 1rem;
  }
}
.theme-toggle {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 20px) + 20px) !important;
  right: 20px !important;
  left: auto !important;
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover {
  transform: scale(1.1);
}
.theme-toggle:active {
  transform: scale(0.95);
}

.theme-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: #ffd700;
}

[data-theme=light] .theme-icon {
  color: #555555;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .theme-toggle {
    top: calc(env(safe-area-inset-top, 15px) + 15px) !important;
    right: 15px !important;
    left: auto !important;
    width: 45px;
    height: 45px;
  }
  .theme-icon {
    font-size: 1.3rem;
  }
}
@media (max-width: 480px) {
  .theme-toggle {
    top: calc(env(safe-area-inset-top, 10px) + 10px) !important;
    right: 10px !important;
    left: auto !important;
    width: 40px;
    height: 40px;
  }
  .theme-icon {
    font-size: 1.1rem;
  }
}

/*# sourceMappingURL=styles.css.map */
