#navbar {
  font-size: xx-large;
  color: white;
  text-decoration: none;
}
#navbar a {
  color: white;
  margin-inline: 1rem;
}
#navbar a:hover {
  text-decoration: underline blue;
  transition: all ease-in-out.5s;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #1e1e2f, #2e2e3e);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

a {
  color: #4ea6ff;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
  color: #82cfff;
  transform: scale(10px);
}

.container {
  width: 90%;
  max-width: 1100px;
  background: #2a2a3c;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  padding: 32px;
  box-sizing: border-box;
}

canvas {
  display: block;
  margin: 24px auto;
  width: 100%;
  height: 70vh;
  background: #ffffff;
  border: 2px solid #4ea6ff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

h1 {
  margin: 24px 0;
  font-size: 28px;
  color: #f8f8f8;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  animation: fadeIn 0.8s ease-out;
}

.upload-btn {
  margin-inline: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #1f2937;
  color: #f9fafb;
  border: 1px solid #374151;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
  text-align: center;
}

.upload-btn:hover {
  background: #374151;
  border-color: #4b5563;
}

.upload-btn:active {
  background: #4b5563;
  border-color: #6b7280;
}

.upload-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #60a5fa;
  display: inline-block;
  vertical-align: middle;
}
