#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;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes float-reverse {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(20px);
  }

  100% {
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float-reverse {
  animation: float-reverse 4s ease-in-out infinite;
}

.white-color {
  color: white;
}

/* New classes for background and text color toggling */
.dark-mode-bg {
  background-color: rgba(0, 0, 0, 0.612) !important;
  color: white;
  /* Dark mode background */
}


.light-text {
  color: white !important;
  /* Light text */
}

/* Transition effect */
.dark-mode-bg,
.light-text {
  transition: color 0.3s ease, background-color 0.3s ease;
} 
body.dark-mode{
  color: white;
  background-color: #212330;
}
body .header.dark-mode{
  color: white;
  background-color: #b70000;
}
.dark-bg {
  background-color: #0000004f;
}

.black-text {
  color: black;
}

/* Toggle Theme */

/* .chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
} */

.chat-window {
  height: 300px;
  overflow-y: auto;
  padding: 10px;
}

.message {
  margin: 5px 0;
}

.message.user {
  text-align: right;
  color: #007bff;
}

.message.bot {
  text-align: left;
  color: #333;
}
