body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 20px;
  margin: 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #90ee90;
  text-align: center;
}

video {
  border: 3px solid #90ee90;
  border-radius: 12px;
  margin-bottom: 15px;
  max-width: 100%;
}

button {
  background-color: #1e88e5;
  color: #fff;
  border: none;
  padding: 15px 25px;
  font-size: 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
  width: 250px;
  text-align: center;
}

button:hover {
  background-color: #1565c0;
}

#user-question {
  width: 90%;
  max-width: 400px;
  padding: 12px 15px;
  font-size: 1.1rem;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 2px solid #90ee90;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

#output {
  font-size: 1.1rem;
  color: #e0e0e0;
  background-color: #1a1a1a;
  padding: 15px 20px;
  border-radius: 10px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 0 8px rgba(144, 238, 144, 0.3);
}

@media (max-width: 600px) {
  h2 {
    font-size: 1.5rem;
  }

  button {
    font-size: 1rem;
    padding: 12px 20px;
  }

  #output {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.75rem;
  }

  button {
    font-size: 1.05rem;
    padding: 13px 22px;
    width: 80%;
  }

  #output {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  button {
    width: 100%;
  }

  #user-question {
    width: 100%;
  }
}

/* Dark Mode Instruction Box */
.instructions {
  background-color: #1e1e2f;
  border-left: 4px solid #4fc3f7;
  padding: 16px 20px;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  color: #e0e0e0;
}

.instructions strong {
  display: block;
  margin-bottom: 10px;
  color: #4fc3f7;
  font-size: 1.1rem;
}

.instructions ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.instructions li {
  margin-bottom: 8px;
  line-height: 1.5;
  color: #ccc;
}

.instructions code {
  background-color: #2a2a40;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}


/* Full-Width Footer Styling */
footer {
  background-color: #1e1e2f;
  color: #e0e0e0;
  padding: 40px 20px;
  text-align: center;
  font-size: 1rem;
  border-top: 2px solid #4fc3f7;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  bottom: 0;
}

footer a {
  color: #4fc3f7;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

footer p {
  margin: 0;
}

footer .footer-links {
  margin-top: 20px;
}

footer .footer-links a {
  margin: 0 20px;
  font-size: 0.9rem;
}

/* Add responsiveness for smaller screens */
@media (max-width: 768px) {
  footer {
    padding: 30px 15px;
  }

  footer .footer-links a {
    margin: 0 10px;
    font-size: 0.85rem;
  }
}
