/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

.libre-caslon-text-regular {
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-style: normal;
}

.libre-caslon-text-bold {
  font-family: "Libre Caslon Text", serif;
  font-weight: 700;
  font-style: normal;
}

.libre-caslon-text-regular-italic {
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-style: italic;
}

.aviso{
  font-family: "Libre Caslon Text";
}

/* Separación entre secciones */
section {
  padding: 40px 20px;
  text-align: center;
  border-top: 4px solid #008996;
  margin-top: 20px;
}


h2 {
  margin-bottom: 20px;
  color: #008996;
}
#premios-Colaboracion{
  display: flex; 
  flex-wrap: wrap;
  
}
#colaboracion{
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 50%;
  justify-content: space-evenly;
  align-items: center;
  background-color: #0fb0bf;
  color: white;
}

#colaboracion h1{
  font-size: 50px;
}


#note{
  width: 70%;
  padding: 20px;
  color: black;
  font-weight: bold;
  border-radius: 20px;
  background-color: #EBD8FD;
  text-align: center;
  
}

/* #note p{
  font-family:arial;
} */


/* Encabezado Principal */
.main-banner {
  background: url('img/Portada.webp') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  text-align: center;
}
.main-banner .overlay {
  background-color: rgba(0, 137, 150, 0.7);
  padding: 20px;
  border-radius: 8px;
}

/* Tarjetas de Torneos Activos */
.torneos-activos .tarjetas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.torneos-activos .tarjeta {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  flex: 1 1 calc(50% - 40px);
  max-width: calc(50% - 40px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.torneos-activos .tarjeta:hover {
  transform: scale(1.05);
}

.torneos-activos .tarjeta img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.torneos-activos .tarjeta h3 {
  background-color: #008996;
  color: white;
  padding: 10px;
}

.torneos-activos .tarjeta h4 {
  background-color: #1F0B64;
  color: white;
  padding: 10px;
}


.torneos-activos .tarjeta p {
  padding: 15px;
  font-size: 17px;
  color: #555;
}

/* Tarjetas de Inscripción */
.inscripcion{
  display: flex;
background-image: url(img/backgroundBanner.webp);
background-size: cover;
background-repeat: no-repeat;
justify-content: flex-end;
}

.inscripcion .tarjetas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: right;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-right: 7%;
  margin-left: 7%;
}

.inscripcion .tarjeta {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}


#title-h2{
  font-size: 30px;
  color: white;
  text-align: center;
}

.inscripcion .tarjeta:hover {
  transform: scale(1.05);
}

.inscripcion .tarjeta h3 {
  background-color: #EBD8FD;
  color: black;
  padding: 10px;
}

.inscripcion .tarjeta p {
  padding: 15px;
  font-size: 17px;
  font-weight: bold;
  color: black;
}

.inscripcion .tarjeta button {
  display: block;
  width: 80%;
  margin: 10px auto 20px;
  padding: 10px;
  background-color: #190456; 
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
  font-size: 20px;

}

#boton-menores{
  margin-bottom: 0;
}
.inscripcion .tarjeta button:hover {
  background-color: #006d75;
}

/* Tarjetas de Premios */
.premios .tarjetas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.premios .tarjeta {
  background: linear-gradient(135deg, #008996, #00c2c7);
  color: white;
  border-radius: 10px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.premios .tarjeta:hover {
  transform: scale(1.1);
}

.premios .tarjeta h3 {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px;
}

.premios .tarjeta p {
  padding: 20px;
  font-size: 1rem;
  text-align: center;
}

/* Tarjetas de Eventos */
.eventos .tarjetas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.eventos .tarjeta {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  width: 400px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.eventos .tarjeta h3 {
  background-color: #008996;
  color: white;
  padding: 10px;
  text-align: center;
}

.eventos .tarjeta iframe {
  width: 100%;
  height: 200px;
  border: none;
}

.eventos .tarjeta p {
  padding: 10px;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

/* Responsividad */
@media (max-width: 768px) {
  .main-banner {
      height: 60vh;
  }

  .tarjetas {
      flex-direction: column;
      align-items: center;
      width: 100%;
  }

  .torneos-activos .tarjeta,
  .inscripcion .tarjeta,
  .premios .tarjeta,
  .eventos .tarjeta {
      width: 100%;
      max-width: 500px;
  }

  .torneos-activos .tarjeta img {
      height: auto;
  }
}

* {
  padding: 0px;
  margin: 0px;
}

/* Estilos para la caja del header */
header {
  padding: 15px 0px;
  background: #008a97;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

/* No aparece el icono del menú desplegable */
#menu-desplegable {
  display: none;
}

/* Tamaño de la caja del logo */
#logo {
  width: 25%;
}

/* La imagen al 100% del tamaño de la caja padre */
#logo img {
  width: 100%;
}

/* Se le quita el subrayado a los enlaces */
#navegation-menu a {
  text-decoration: none;
}
/* Se cambia el color, tamaño y tipo de letra de todos los li del menú de navegación */
#navegation-menu li {
  font-family: sans-serif;
  color: white;
  font-size: 20px;
}

/* Se le quita el punto a la la lista desordenada y se colocan en el centro de la caja, dejando un espacio entre cada objeto con el gap */
#navegation-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
}

/* Se colocan los li en pocision relativa y se les añade un padding */
#navegation-menu ul li {
  position: relative;
  padding: 15px;
}

/* Al pasar por encima se coloca un fondo gris */
#navegation-menu ul li:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* Se quitan que aparezcan las sublistas */
#navegation-menu ul li ul {
  display: none;
}

/* Al pasar por encima del li, aparece la sublista, se coloca a la izquierda y se alinea verticalmente al centro */
#navegation-menu ul li:hover ul {
  display: block;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  left: 0px;
  top: 60px;
  text-align: center;
}

/* Color blanco para los enlaces de la sublista */
#navegation-menu ul li ul a {
  color: white;
}

/* Menú para pantallas de menos de 1200 píxeles */
@media (max-width: 1200px) {
  #premios-Colaboracion{
    flex-direction: column;
  }
  #award-section{
    width: 100% !important;
  }
  .award-cards{
    display: flex;
    width: 100%;
  }
  #colaboracion{
    width: 100%;
  }
  #award-1{
    margin: 0 !important;
  }

  /* Se coloca el menú debajo del logo con el wrap y se alinea todo al centro */
  header {
    flex-wrap: wrap;
    text-align: center;
  }

  /* Se añade un width del 100% para poder colocar la caja hijo en el centro y usar el wrap */
  #logo {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Se añade un width del 100% para poder colocar la caja hijo en el centro y usar el wrap */
  #navegation-menu {
    width: 100%;
    justify-content: center;
  }
}

/* Al llegar a 880 píxeles */
@media (max-width: 880px) {
  /* La caja del logo coge un ancho del 100% y se coloca con flexbox para que se coloquen el logo y el icono para el menú desplegable*/
  #logo {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  /* Hacemos que el menú desaparesca */
  #navegation-menu {
    display: none;
  }

  /* Hacemos que el icono aparezca */
  #menu-desplegable {
    display: inline;
  }

  /* Quitamos la checkbox para que no se quede ahí */
  #menu-desplegable input {
    display: none;
  }
}

/* Al llegar a 515 píxeles el logo se hace más pequeño para que se quede bien colocado */
@media (max-width: 515px) {
  #logo a {
    width: 75%;
  }
}



/* footer */


footer {
  width: 100%;
  min-height: 99px;
  background: #008A97;
  color: #ffff;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 25px;

}

footer a {

  text-decoration: none;
}

footer p{
  margin: 0 10px;
}

.contador {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #555;
  background-color: #f1f1f1;
  padding: 5px;
  border-radius: 4px;
  display: inline-block;
}


#award-section {
  background-image: url(img/torneo.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #f9f9f9;
  padding: 50px 20px;
  width: 50%;
}

.award-title {
  color: black;
  background-color: rgba(255, 255, 255, 0.473);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  backdrop-filter: blur(4px);
}

.award-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.award-card {
  background: rgba(255, 255, 255, 0.527);
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 25px;
  width: 220px;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.award-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.award-circle {
  background: linear-gradient(135deg, #008996, #00c2c7);
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  width: 90px;
  height: 90px;
  line-height: 90px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1)
}


.award-card p {
  /* font-size: 17px; */
  color: #000000;
  font-weight: bold;
}

.price {
  font-size: 40px;
}

.cheque {
  font-size: 19px;
}

#award-1{
  margin: 0 25%;
}

#final-evento{
  display: flex;
  flex-direction: column;
}


#participantesFC25, #participantessmashbroos{
  font-size: 20px;
}


#title-web {
  background: #000405;
  min-height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-weight: 900;
  padding: 10px; /* Añadido para mejor espaciado */
}

#title-pfae {
  font-size: calc(1.5rem + 1vw); /* Ajuste dinámico según el tamaño de la pantalla */
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2; /* Mejor espaciado */
  margin: 0; /* Quitar márgenes extra */
}

.fancy {
  @supports (background-clip: text) or (-webkit-background-clip: text) {
      background-image: 
          url("data:image/svg+xml,%3Csvg width='2250' height='900' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg%3E%3Cpath fill='%2300A080' d='M0 0h2255v899H0z'/%3E%3Ccircle cx='366' cy='207' r='366' fill='%2300FDCF'/%3E%3Ccircle cx='1777.5' cy='318.5' r='477.5' fill='%2300FDCF'/%3E%3Ccircle cx='1215' cy='737' r='366' fill='%23008060'/%3E%3C/g%3E%3C/svg%3E%0A");
      background-size: 110% auto;
      background-position: center;
      color: transparent;
      -webkit-background-clip: text;
      background-clip: text;
      font-size: calc(2rem + 2vw); /* Tamaño responsivo para el texto especial */
  }
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
  #title-web {
      min-height: 25vh; /* Aumentar altura mínima en pantallas pequeñas */
  }
  
  #title-pfae {
      font-size: 1.8rem; /* Ajustar el tamaño para pantallas pequeñas */
  }
  
  .fancy {
      font-size: 2.5rem; /* Reducir el tamaño del texto decorativo */
  }
}
