/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Contenedor */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* Encabezado */
header {
    background: #0099ff;
    color: #fff;
    padding: 1px 0;
}

header h1 {
    text-align: center;
    margin-bottom: 5px;
}

/* Header con logo */
header .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header .header-flex .logo {
    max-height: 140px;
    margin-right: 50px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Hero / Inicio con fondo */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('img/equipo.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

/* Secciones */
section {
    padding: 60px 0;
}

section.alt {
    background: #f0f8ff;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0099ff;
}

section .content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

section .content img {
    max-width: 250px;
    margin: 20px;
    border-radius: 10px;
}

/* Lista de propuestas */
.propuestas-lista {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .propuestas-lista li {
    font-size: 1.1rem;
    margin: 12px 0;
    padding: 10px;
    background: #ffffff;
    border-left: 5px solid #0099ff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  }
/* Grid equipo y candidatos */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
}

.card img {
    max-width: 100%;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* Formulario */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: auto;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background: #0099ff;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

form button:hover {
    background: #007acc;
}

/* Footer */
footer {
    background: #0099ff;
    color: #fff;
    text-align: center;
    padding: 20px;
}
