

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* asi el body ocupa el 100 por ciento */
}

header {
    background-color: #FFD700; 
    color: #003366; 
    padding: 10px 20px;
    text-align: left;
    display: flex;
    align-items: center;
}





header .logo {
    height: 70px;
    margin-right: 15px;
}

nav {
    background-color: #003366; 
    padding: 10px;
}

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

nav ul li {
    margin: 0 15px;
}

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

nav ul li a:hover {
    color: #ffffff; /* Blanco al pasar el ratón */
}

main {
    padding: 20px;
    text-align: center;
    
}
form {
    max-width: 600px;
    margin: 0 auto;       /* centra el formulario */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #003366;
}

form input[type="text"],     /* selecciona todo dentro del form que sea texto email y telefono */
form input[type="email"],
form input[type="tel"],
form textarea {    /* se usa para escribir textos mas largos */
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}


form button {
    background-color: #003366;
    color: #FFD700;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;   /* cambia el cursor al poner el raton encima */
}

form button:hover {
    background-color: #002244;
}
.entrenadores h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #003366;
}
.grupo-imagenes {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.entrenadores {
    flex: 1;
    margin: 0 10px;
    text-align: center;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    
}

.entrenadores img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.entrenadores p {
    margin-top: 10px;
    font-size: 1em;
    color: #555;
}
.seccion-principal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

.imagen-equipo img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.texto-principal {
    max-width: 50%;
    text-align: left;
    padding: 0 20px;
}

.texto-principal h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #003366;
}

.texto-principal p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}
footer {
    background-color: #002244; /* Color de fondo del footer */
    color: #FFD700; /* Color del texto */
    text-align: center;
    padding: 40px 0; /* Aumenta el padding para hacer el footer más alto */
    position: relative; /* Asegura que el footer no sea fijo */
    bottom: 0;
    width: 100%;
    margin-top: auto; /* Asegura que el footer esté al final de la página */
    font-size: 1.1em; /* Aumenta el tamaño de la fuente */
}

footer .autor {
    font-size: 1em; /* Tamaño de fuente para el texto del autor */
    margin-top: 15px; /* Espacio superior */
    color: #FFD700; /* Color del texto */
    margin-right: 80em;
}
.social-links {
    margin-top: 10px;
}

.social-links a {
    color: #FFD700; 
    margin: 0 10px;
    font-size: 20px;
    text-decoration: none;
}

.social-links a:hover {
    color: #ffffff; /* Blanco al pasar el ratón */
}
.descarga-pdf {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #003366;
    color: #FFD700;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.botones {
    margin-top: 20px;
}

.boton {
    display: inline-block;
    background-color: #003366;
    color: #FFD700;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
}

.boton:hover {
    background-color: #002244;
}
/* Ajustes para las tarjetas de jugadores y entrenadores */
.tarjeta {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 10px;
    flex: 1;
    max-width: 300px; /* Limitar el ancho máximo de las tarjetas */
}

.tarjeta img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.tarjeta h3 {
    font-size: 1.2em;
    color: #003366;
    margin-bottom: 10px;
}

.tarjeta p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.4;
}

/* Ajustes para la línea de tiempo */
.linea-tiempo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.evento {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    width: 80%;
    max-width: 600px;
    text-align: center;
}

.evento h3 {
    font-size: 1.2em;
    color: #003366;
    margin-bottom: 10px;
}

.evento p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.4;
}

/* Ajustes para el grupo de imágenes */
.grupo-imagenes {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Ajustes para la sección de jugadores y entrenadores */
.jugadores, .entrenadores {
    margin: 20px 0;
}

.jugadores h2, .entrenadores h2 {
    font-size: 2em;
    color: #003366;
    text-align: center;
    margin-bottom: 20px;
}



.historia-imagen-cita {
    max-width: 100%; 
    height: auto; 
    border-radius: 10px; /* Bordes redondeados */
    max-height: 400px; 
    object-fit: cover; /* Asegura que la imagen cubra el espacio sin distorsionarse */
    margin-bottom: 20px; 
}

.tarjeta-historia {
    background-color: #fff;
    padding: 25px; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 15px; /* Aumentamos el margen exterior */
    flex: 1;
    max-width: 500px; 
}


.tarjeta-historia blockquote {
    font-style: italic;
    color: #555;
    margin-top: 20px; 
    font-size: 1.1em; 
}

.tarjeta-historia cite {
    display: block;
    margin-top: 15px; 
    font-weight: bold;
    color: #003366;
    font-size: 1em; 
}

.tarjeta-historia p {
    font-size: 1em; 
    color: #555;
    line-height: 1.6; 
    margin-top: 20px; 
}

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

body {
  font-family: 'FontAwesome', sans-serif;
  background-color: #bccdde;
}

.container-buttons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* background-color: #FFF; */
  min-width: 500px;
  display: flex;
  justify-content: space-between;
}

.container-buttons a {
  width: 70px;
  height: 70px;
  display: block;
  border-radius: 50%;
  /* line-height: 70px; */
  color: #FFF;
  background-color: #000;
  text-decoration: none;
  overflow: hidden;
  text-align: center;
  font-size: 2.2rem;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, .9);
}

.container-buttons a::before {
  content: "\f2c6";
  display: block;
  margin: 19px 0;
  transition: all .5s ease-in-out;
}

.container-buttons a:hover::before {
  margin-top: -37px;
}

.container-buttons a::after {
  content: "\f2c6";
  display: block;
}

.container-buttons .two {
  background-color: #53afff;
}

.container-buttons .two::before {
  content: '\f293';
}

.container-buttons .three {
  background-color: #ff8337;
}

.container-buttons .three::before {
  content: '\f27a';
}

.container-buttons .three {
  background-color: #ffbd39;
}

.container-buttons .three::before {
  content: '\f2b6';
}

.container-buttons .four {
  background-color: #e61c5d;
}

.container-buttons .four::before {
  content: '\f004 ';
}

.container-buttons .five {
  background-color: #155263;
}

.container-buttons .five::before {
  content: '\f098 ';
}
}
/* Estilos para el aviso de cookies */
.aviso-cookies {
    display: none; /* Oculto por defecto */
    background: #003366;
    color: #FFD700;
    padding: 20px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    text-align: center;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
}

.aviso-cookies h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.aviso-cookies p {
    margin-bottom: 15px;
    font-size: 0.9em;
}

.aviso-cookies .boton {
    background-color: #FFD700;
    color: #003366;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
}

.aviso-cookies .boton:hover {
    background-color: #e6c200;
}

.aviso-cookies .enlace {
    color: #FFD700;
    text-decoration: underline;
    margin-left: 15px;
    font-size: 0.9em;
}

.aviso-cookies .enlace:hover {
    color: #ffffff;
}

nav ul li.active a {
    color: #ffffff; 
    background-color: #002244; 
    border-radius: 5px; 
    padding: 5px 10px; 
}

/* Estilos para la sección de datos de contacto */
.datos-contacto {
    margin-top: 40px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
}

.datos-contacto h2 {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 20px;
    text-align: center;
}

.info-contacto p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-contacto strong {
    color: #003366;
}