.counter {
  font-size: 3rem;
  font-weight: bold;
  color: #2f2f2f;
}

section p {
  font-size: 1rem;
  color: #667;
  margin-top: 0.5rem;
}
nav a.btn {
  background-color: white;
  color: #cc000a;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

nav a.btn:hover {
  background-color: #f0f0f0;
}
/* Fondo general */
body {
  background-color: #f4f6f9;
  font-family: 'Arial', sans-serif;
}

/* Contenedor del formulario */
.container .bg-light {
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Títulos */
h2 {
  color: #333;
  font-weight: bold;
}

/* Etiquetas */
label {
  font-weight: bold;
  color: #555;
}

/* Campos de entrada */
input, select, textarea {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Botones */
button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

/* Espaciado entre preguntas */
.mb-3 {
  margin-bottom: 20px;
}
.gradient-header {
  background: linear-gradient(to right, white, red);
}
.logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}