/* Estilos base */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #282929;
    animation: fadeIn 1.5s ease-in-out;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
h1 {
    font-size: 2.5em;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}
p {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    color: #fff;
    margin: 0 auto 30px;
    max-width: 800px;
}

/* Animación de entrada de página */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sección del equipo */
.team {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.team-member {
    text-align: center;
    width: 100%;
    max-width: 300px;
    padding: 20px;
    background: #141414;
    border-radius: 10px;
    transition: transform 0.3s ease;
    animation: fadeInUp 1.5s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}
.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover; /* Evita que las imágenes se estiren */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.team-member h3 {
    font-size: 1.5em;
    color: #fff;
}
.team-member p {
    font-size: 0.9em;
    color: #ddd;
}

/* Hover */
.team-member:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.team-member:hover {
    transform: translateY(-10px);
}
/* Redes sociales debajo de las imágenes */
.social-links a {
    font-size: 1.5em;
    color: #fff; /* Color blanco por defecto */
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #E50914; /* Rojo al hacer hover */
}

/* Animación de entrada para los miembros del equipo */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background: #141414;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
}
footer h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}
.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #E50914;
}
.social-footer {
    margin-top: 20px;
}
.social-footer a {
    font-size: 1.5em;
    color: #fff;
    margin: 0 15px;
    transition: color 0.3s ease;
}
.social-footer a:hover {
    color: #E50914;
}

/* Media Queries */
@media (min-width: 600px) {
    .team-member img {
        width: 200px;
        height: 200px;
    }
    .team-member h3 {
        font-size: 1.7em;
    }
    p {
        font-size: 1.2em;
    }
}

@media (min-width: 900px) {
    .team {
        justify-content: space-between;
    }
    .team-member {
        width: 45%;
    }
}
