body {
  font-family: 'Oswald', Arial, sans-serif;
  background: #f4f4f4;
  margin: 0;
  padding: 0;
}


 #videoFondo {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Coloca el video detrás del contenido */
}
header{
  width: 100%;
  height: 700px;
  border-style: solid;color: #383737;
}
.nav{
  display: flex;
  width: 100%;
  background-color: #555;
  height: 90px;
}
.logo{
  width: 40%;
  height: 95px;
  padding: 0px;
  margin-left: 20px;
  margin-right: 150px;
}
.logo img{
  width: 90px;
  height: 90px;
}
.contador {
  width: 400PX;
  color: #fdfafa !important;
  font-size: 30px;
  padding: 10px;
}

.menu-dropdown {
 width: 50%;
height: 90px;
  display: inline-block;
}
.menu-btn {
 
  height: 50px;
  background: #e6e9ec;
  color: #383737;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
 font-size: 25px;
 margin-top: 15px;
  margin-right: 10px;
  margin-left: 100px;
}
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: #a1a0a0;
  min-width: 100px;
  box-shadow: 0 2px 8px rgba(245, 243, 243, 0.1);
  border-radius: 4px;
  z-index: 100;
  margin-top: 4px;
  list-style: none;
  padding: 0;
}
.dropdown-content li {
  padding: 10px 16px;
}
.dropdown-content li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  display: block;
}
.dropdown-content li a:hover {
  transform: scale(1.1 );
  -webkit-transform: scale(1.1 );
  -moz-transform: scale(1.1 );
  -ms-transform: scale(1.1 );
  -o-transform: scale(1.1 );
  color: #ff8a04;
}
.dropdown-content li img{
width: 50px;
border-radius: 20px;
}
.portada{

  width: 100%;
  height: 500px;
}
.header-publicidad {
    display: flex;
    align-items: center;
    width: 100%;
    height: 290px;
}
.publicidad-izquierda, .publicidad-derecha {
    width: 30%;
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-central {
    width: 40%;
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.publicidad-izquierda video,
.publicidad-derecha video {
    height: 250px;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
  
}
.logo-central img {
    height: 290px;
    width: 100%;
    object-fit: contain;
}

a{
  text-decoration: none;
}


.portada h1{
 font-family: 'Oswald', sans-serif;
  font-optical-sizing: auto;
  
 font-size: 95px;
text-align: center;
margin-top: 0px;
margin-bottom: 40px;
 text-shadow: 5px 3px 5px #ff8a04;
  padding: 5px;
  color: #f0ede9;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.portada h1 {
  animation-name: slideInRight;
  animation-duration: 2s;
}

h2{
  color: #ecd81c;
}

.footer-content {

  display: flex;
  flex-direction: column;
  align-items: center;
}
.formulario {
  margin-bottom: 16px;
}
.btn-formulario {
  background: #2196f3;
  color: #fff;
  padding: 10px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5em;
  transition: background 0.2s;
}
.btn-formulario:hover {
  background: #1769aa;
}
.btn-instalar-app {
  background: #007bff;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-instalar-app:hover {
  background: #0056b3;
}

.social-media a {
  color: #ffd600;
  text-decoration: none;
  margin: 0 12px;
  font-weight: bold;
}
.footer-bottom {
  text-align: center;
  margin-top: 12px;
  color: #bbb;
  font-size: 0.95em;
}
.tarjeta {
  width: 45vw;
  height: 60vw;
  max-width: 320px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px;
  padding: 10px;
}
.tarjeta .foto {
  width: 80%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}
.nombre, .puesto, .fecha {
  margin-top: 8px;
  font-size: 1em;
  text-align: center;
}
.ficha-link {
  margin-top: 10px;
  color: #007bff;
  text-decoration: underline;
}

.carrusel-rotatorio {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 800px;
  position: relative;
  
}
.carrusel-rotatorio h2{
  font-size: 70PX;
  text-align: center;
}
.tarjeta-jugador {
  width: 80%;
  max-width: 700px;
  height: 750px;
  background: #5e8d37;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 2s cubic-bezier(0.4,2,0.6,1), box-shadow 2s;
  backface-visibility: hidden;
  perspective: 1000px;
  position: absolute;
  box-shadow: 0px 8px 16px 0px rgb(240, 239, 239);
}


.tarjeta-jugador.girar {
  transform: rotateY(180deg) scale(1.04);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

.tarjeta-jugador img {
  width: 80%;
  height: 480px;
  margin-top: 10px;
  object-fit: cover;
  border-radius: 10px;
}

.tarjeta-jugador h3{
  color: #fff;
  margin: 5px 0;
  font-size:35px;
}


.tarjeta-jugador p {
  color: #fff;
  margin: 5px 0;
  font-size:25px;
  padding:4px;
}

.tarjeta-jugador a {
    font-size:35px;
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 8px 16px;
  background: #0099ff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.buscador-jugadores input[type="text"] {
  margin-top: 30px;
  margin-left: 30px;
  padding: 14px 20px;
  font-size: 25px;
  border-radius: 8px;
  border: 1px solid #2196f3;
  width: 320px;
  max-width: 100%;
  box-sizing: border-box;
}

.buscador-jugadores button,
.buscador-jugadores .btn-buscador {
  margin-top: 30px;
  padding: 16px 40px !important;
  font-size: 25px !important;
  border-radius: 8px !important;
  color: #fff !important;
  background-color:#2196f3;
  border: none !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  margin-left: 30px;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .buscador-jugadores form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  
  
}



.galeria-listado {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 32px auto;
  max-width: 900px;
}

.tarjeta-listado {
  flex: 1 1 45%;
  max-width: 35%;
  min-width: 260px;
  background: #e0eea5ff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  margin-bottom: 16px;
  margin-left:10px;
  margin-right:10PX;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  box-sizing: border-box;
  transition: box-shadow 0.2s;
}
.tarjeta-listado img{
  width: 100%;
  height: 100%;
}
.tarjeta-listado:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

.foto-listado {
  width: 90%;
  max-width: 180px;
  border-radius: 10px;
  margin-bottom: 12px;
  object-fit: cover;
}

.nombre-listado, .puesto-listado, .fecha-listado {
  margin: 4px 0;
  font-size: 1em;
  text-align: center;
}

.ver-ficha-btn-listado {
  margin-top: 10px;
  display: inline-block;
  background: #28a745;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.ver-ficha-btn-listado:hover {
  background: #218838;
}

.paginacion-listado {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

.pag-btn-listado {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.pag-btn-listado:hover {
  background: #0056b3;
}

@media (max-width: 700px) {
  .tarjeta-listado {
    flex: 1 1 90%;
    max-width: 90%;
  }
}

