#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
  #root {
    background-color: #121212; /* Dark background color */
    color: #ffffff; /* Light text color for dark background */
  }

  .logo {
    filter: drop-shadow(0 0 2em #ffffffaa); /* Modify filter for dark mode */
  }

  .logo.react {
    filter: drop-shadow(0 0 2em #ff0000aa); /* Another example for dark mode */
  }

  .card {
    background-color: #333333; /* Darker card background color */
    color: #ffffff; /* Light text color for dark card background */
  }

  .read-the-docs {
    color: #aaa; /* Lighter text color for dark mode */
  }

  .app-dark-mode {
    background-color: #e30f0f; /* Dark background color */
    color: #1ae90c; /* Light text color for dark background */
    text-decoration-style: dotted;
  }
  
  .app-dark-mode .logo {
    filter: drop-shadow(0 0 2em #ffffffaa); /* Modify filter for dark mode */
  }
  
  .app-dark-mode .logo.react {
    filter: drop-shadow(0 0 2em #ff0000aa); /* Another example for dark mode */
  }  
}