* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

body {
font-family: Arial, sans-serif;
background-color: #f5f6fa;
color: #333;
}

h1, h2, h3 {
margin-bottom: 10px;
text-align: center;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

h3 {
  font-size: 24px;
}

/* HEADER */
header {
background-color: #2f3640;
color: white;
padding: 20px;
text-align: center;
}

nav ul {
list-style: none;
display: flex;
flex-direction: row;
justify-content: center;
gap: 20px;
margin-top: 30px;
}

nav a {
color: white;
text-decoration: none;
font-weight: bold;
}

nav a:hover {
text-decoration: underline;
}

/* MAIN */
main {
padding: 20px;
}

/* FORMULARIOS */
form {
background-color: white;
padding: 15px;
border-radius: 8px;
margin-bottom: 20px;
width: 50%;
}

#filtrar, #crear {
  justify-items: center;
}

form .campo {
margin-bottom: 10px;
display: flex;
flex-direction: column;
}

input, select, button {
padding: 8px;
margin-top: 5px;
border-radius: 5px;
border: 1px solid #ccc;
}

label {
  font-weight: 600;
}

button {
cursor: pointer;
border: none;
background-color: #0984e3;
color: white;
transition: background-color 0.2s;
}

button:hover {
background-color: #74b9ff;
}

/* TABLERO KANBAN */
#tablero {
display: flex;
flex-direction: row;
gap: 15px;
margin-top: 40px;
margin-bottom: 40px;
}

.columna {
background-color: #dfe6e9;
padding: 10px;
border-radius: 8px;
flex: 1;
min-height: 300px;
align-items: center;
justify-items: center;
}

.columna h3 {
text-align: center;
margin-bottom: 15px;
}

/* TARJETAS */
.tarjeta {
background-color: white;
padding: 10px;
border-radius: 8px;
margin-bottom: 10px;
border-left: 5px solid #0984e3;
width: 500px;
}

.tituloTarea {
margin-bottom: 10px;
font-size: 20px;
}

/* BOTONES TARJETA */
.botonesTarea {
display: flex;
flex-direction: row;
gap: 5px;
margin-top: 10px;
}

.botonesTarea button {
flex: 1;
padding: 5px;
}

/* FILTROS */
#filtrar {
margin-bottom: 20px;
}

/* ESTADÍSTICAS */
#estadisticas {
margin-top: 30px;
justify-items: center;
}

#estadisticas div {
background-color: white;
padding: 10px;
border-radius: 8px;
margin-bottom: 10px;
justify-content: center;
width: 50%;
}

/* FOOTER */
footer {
text-align: center;
padding: 15px;
background-color: #2f3640;
color: white;
margin-top: 20px;
}

/* RESPONSIVE TABLET */
@media (max-width: 1024px) {
#tablero {
flex-direction: column;
}
}

/* RESPONSIVE MÓVIL */
@media (max-width: 600px) {
nav ul {
flex-direction: column;
gap: 10px;
}

form {
padding: 10px;
}

.botonesTarea {
flex-direction: column;
}

button {
width: 100%;
}
}
