/* info-champ */

.info-champ {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 1rem;
    background-color: var(--gray);
}

.info-champ-title {
    margin-bottom: 2rem;
}

.info-champ-title h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
}

.card-champ-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

.card-champ {
    flex: 1 1 220px;
    max-width: 250px;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.card-champ img {
    margin: 1rem;
    width: 90%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    object-fit: cover;
}

.card-champ:hover {
    cursor: pointer;
    transform: translateY(-5px);
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.modal-content {
    background: #fff;
    color: #333;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 700px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    font-family: 'Poppins', sans-serif;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h3 {
    font-size: 1.5rem;
    color: #e5891a;
    /* tono cálido similar al navbar */
    margin-bottom: 1rem;
}

.modal-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.modal-content strong {
    color: #111;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #e5891a;
}

/* form-section */
.form-section {
    display: flex;
    padding: 2rem;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;

}

.team-form {
    background: var(--gray);
    transition: transform 0.3s ease;
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 700px;
    color: #000000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.team-form h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-section-title {
    margin-bottom: 2rem;
}

.form-section-title h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input[type="text"],
.form-group textarea,
.form-group input[type="file"] {
    display: flex;
    align-items: center;
    width: 80%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input[type="radio"] {
    margin-right: 0.5rem;
}

.participants {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem;
}

button[type="submit"] {
    position: relative;
    background: var(--primary);
    left: 10rem;
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 5px;
    width: 50%;
    cursor: pointer;

}

button[type="submit"]:hover {
    background: var(--primary-b);
}