/* Estilos generales del cuerpo */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5; /* Un color de fondo suave */
    color: #333;
}

/* Encabezado del jugador */
.player-header {
    background-color: #c8102e; /* Rojo inspirado en el Manchester United */
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-header h1 {
    margin: 0;
    font-size: 2.5em;
}

.player-number {
    min-width: 3px;
	
    
}

.player-number img{ 
width: 70%;
}

/* Contenido principal */
.player-profile {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Panel con imagen e información */
.profile-main-panel {
    display: flex;
    flex-wrap: wrap; /* Para que se ajuste en pantallas pequeñas */
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.player-image {
    flex: 1;
    min-width: 250px;
}

.player-image img {
    width: 80%;
    border-radius: 8px;
}

.player-info {
    flex: 2;
    min-width: 300px;
}

.player-info h2 {
    color: #c8102e;
}

.player-info ul {
    list-style: none;
    padding: 0;
}

.player-info li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* Biografía y Estadísticas */
.player-biography, .player-stats {
    padding-top: 20px;
}

.player-biography h2, .player-stats h2 {
    color: #c8102e;
    border-bottom: 2px solid #c8102e;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* Grid para las estadísticas */
.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h3 {
    margin-bottom: 5px;
    color: #555;
}

.stat-item p {
    font-size: 2em;
    font-weight: bold;
    margin: 0;
    color: #c8102e;
}

/* Pie de página */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    background-color: #333;
    color: white;
}