
/*Primeta Seccion Bienvenida*/

:root {
  --primary-color: #7f00ff;
  --primary-color-alt: #b300b3;
  --background-color: #ffffff;
  --text-color: #333333;
  --gradient-start: #d84d2a;
  --gradient-end: #cc6a64;
  --gradient-hover-start: #b300b3;
  --gradient-hover-end: #7f00ff;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}



.bienvenida-patrocinadores {
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-around;
}

/* Izquierda: bienvenida */
.bienvenida {
  flex: 1;
  max-width: 500px;
}

.bienvenida h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.bienvenida p {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Derecha: patrocinadores slider */
.patrocinadores-slider {
  flex: 1;
  max-width: 650px;
}

.patrocinadores-slider h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

/* Slider contenedor */
.slider-track {
  overflow: hidden;
  width: 100%;
  height: 150px;
  position: relative;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
}

.slider-wrapper {
  display: flex;
  width: 300%; /* porque tenemos 3 grupos */
  animation: slideGroups 12s infinite;
}

.grupo {
  flex: 0 0 33.3333%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top:20px;
}


/* Ajustamos imágenes */

.grupo img {
  max-height: 100px;
  max-width: 180px;
  object-fit: contain;
  /*filter: grayscale(100%);Esto hace que se pongan en blanco y negro y al tocarla se pongan en colo*/
  transition: filter 0.3s ease;
}


.grupo img:hover {
  filter: grayscale(0%);
}

/* Animación para deslizar */
@keyframes slideGroups {
  0%, 10% {
    transform: translateX(0%);
  }
  33%, 43% {
    transform: translateX(-33.3333%);
  }
  66%, 76% {
    transform: translateX(-66.6666%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* Responsive */
@media screen and (max-width: 900px) {
  .bienvenida-patrocinadores {
    flex-direction: column;
    gap: 30px;
  }

  .bienvenida, .patrocinadores-slider {
    max-width: 100%;
  }

  .slider-track {
    height: 110px; /* reducido un poco */
  }

  .grupo img {
    max-height: 60px;   /* antes 80px */
    max-width: 100px;   /* antes 120px */
  }
}





.botones-login .registro {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  font-weight: bold;
  transition: all 0.3s ease;
}


.botones-login a:link,
.botones-login a:visited,
.botones-login a:hover,
.botones-login a:active {
    color: black;         /* Hereda el color del contenedor */
    text-decoration: none;  /* Elimina subrayado si lo hay */

}
/* Asegurar que el modal se vea correctamente */
.campusModal {
    max-width: 500px;  /* Ajusta el ancho del modal */
    width: 90%;
    border-radius: 10px; /* Bordes redondeados */
    text-align: center;
}

/* Ajuste del botón de cierre */
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease-in-out;
}

.modal-close:hover {
    color: #000;
}

/* Ajuste del contenido */
.modal-content {
    padding: 30px;
}

/* Ajuste del logo */
.modal-content img {
    margin-bottom: 15px;
}

/* Botón del formulario */
.btn.purple.darken-3 {
    margin-top: 15px;

    border-radius: 5px;
    font-weight: bold;
}

.botones-login .registro {
  width: 400px;
  height: 100px;
  font-size: 20px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--text-color);
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease-in-out, transform 0.3s;
  background-color: var(--background-color);
}

.botones-login .registro:hover {
  background: linear-gradient(135deg, var(--gradient-hover-start), var(--gradient-hover-end));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}


.botones-login {
  display: flex;
  justify-content: center;
  align-items: center;
}
.botones-login button {
  width: 200px;
  height: 70px;
  margin: 0 50px;
  background-color: var(--background-color);
  border-radius: 20px;
  padding: 4px;
  box-shadow: 5px 5px 10px rgba(151, 151, 151, 0.5);
  font-weight: bold;
  transition: 0.3s;
}
.regitro:hover {
  background-color: var(--background-color);
}
.inicio {
  padding: 10px;
}

.status {
  display: block;
}



/*Mensaje de Error*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: red;
}

.modal-dialog {
  max-width: 400px;
}

/*Carrousel en css/carrousel.css*/

/*Porque Basketplanner*/
.porque-cosas {
  padding: 5px;
  margin: auto;
}
.porque {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.seccion {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 33%;
}

.seccion img {
  max-width: 120px;
  max-height: 120px;
  margin: auto;
}

.seccion p {
  text-align: center;
}

/*Redes Sociuales*/

.redes-sociales {
  padding: 30px 20px;
  margin: 40px auto;
  background: linear-gradient(135deg, #f3f3f3, #e6e6e6);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  font-family: 'Inika', serif;
  text-align: center;
  max-width: 600px;
  position: relative;
}

.redes-sociales h2 {
  font-size: 2rem;
  color: var(--primary-color-alt); /* morado oscuro */
  margin-bottom: 25px;
  position: relative;
}

.emoji-mano {
  display: inline-block;
  animation: mover-mano 1.2s infinite ease-in-out;
}

@keyframes mover-mano {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}


.redes {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.icono {
  font-size: 28px;
  color: white;
  background: #444;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.icono:hover {
  transform: scale(1.15) rotate(2deg);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.icono.facebook { background: #3b5998; }
.icono.instagram {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
}
.icono.twitter { background: #000; } /* X (antes Twitter) */

.icono i {
  font-size: 30px;
  z-index: 1;
  transition: transform 0.3s ease;
}

.icono:hover i {
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 500px) {
  .redes {
    gap: 20px;
  }

  .icono {
    width: 60px;
    height: 60px;
  }

  .icono i {
    font-size: 24px;
  }

  .redes-sociales h2 {
    font-size: 1.5rem;
  }
}




/*Patrocinadores*/
.patrocinadores {
  padding: 5px;
  margin: auto;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}
.patro {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.seccion1 a {
  display: flex;
}

.seccion1 {
  margin-top: 5px;
  padding: 5px;
 flex-basis: 25%; /* Establece el 25% para cada item, lo que genera 4 elementos por fila */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fb {
  max-width: 80px;
  max-height: 80px;
  margin: auto;
}

.ig {
  max-width: 60px;
  max-height: 80px;
  margin: auto;
}

.x {
  max-width: 50px;
  max-height: 70px;
  margin: auto;
}

.seccion1 p {
  text-align: center;
}

.patrocinadores span{
    margin-top: 10px;
    text-align: center;
    font-size: 24px;
    display: flex;
    justify-content: center;
}


/*Footer*/
.footer {
  display: flex;
  width: 100%;
  height: 80px;
  align-items: center;
  justify-content: space-between;
      background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
}

.copy {
  width: 20%;
  display: flex;
  justify-content: center;
}

.politicas {
  width: 52%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p1 {
  width: 20%;
}

.logo {
  width: 20%;
  display: flex;
  justify-content: center;
}

.logo img {
  width: 70px;
}

.redes-sociales span {
  margin-top: 10px;
  text-align: center;
  font-size: 24px;
  display: flex;
  justify-content: center;
}

.eq {
  margin: 20px;
}

.eq a {
  display: inline-block;
  color: white;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-color-alt));
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.eq a:hover {
  background: linear-gradient(45deg, var(--primary-color-alt), var(--primary-color));
}

.eqhorario {
  color: var(--primary-color);
}

.eqhorario2 {
  padding: 10px;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.seccion {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease; /* transición para el cambio de estado */
}

.seccion.visible {
  opacity: 1;
  transform: translateY(0);
}



.teqhorario2{
  size: 24px;
  color: black;
}

.cerrar{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}


.responsive-img {
    width: 400px;
    max-width: 100%;
    height: auto;
}



@media screen and (max-width: 800px) {
  .seccion{
      width: 50%;
  }
}


@media screen and (max-width: 767px) {
  header h1 {
    font-size: 30px;
  }
  .responsive-img {
        max-width: 200px;
    }
  .botones-login {
    flex-direction: column;
    padding: 10px;
  }
  .botones-login .registro {
    margin-top: 20px;
  }

  .registro {
    margin-top: 20px;
  }

  .menu {
    margin: 0;
  }

  .porque {
    flex-direction: column;
  }

  .seccion {
    margin-top: 5px;
    border-bottom: 1px solid black;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .ig,
  .x {
    max-height: 50px;
  }
  .fb {
    max-height: 60px;
  }

  .politicas {
    display: none;
  }

  .copy {
    width: 50%;
  }
  .botones-login .registro{
    width: 300px;
    height: 100px;
    font-size: 20px;
}
}

/*Apartado de botones de registor y login*/
.botones-login {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    padding: 2rem;
    max-width: 800px;
    background-color: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    text-align: center;
}

.botones-login h4 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
}

.botones-login a.registro {
    display: inline-block;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    height: auto;
    width: 100%;
}

.botones-login a.registro:hover {
    background-color: #0056b3;
}

.inicio {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    margin: 0.5rem;
}

.inicio:hover {
    background-color: #1e7e34;
}



/*#tsparticles-bg {*/
/*  position: fixed;*/
/*  top: 0;*/
/*  left: 0;*/
/*  z-index: -1;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*}*/

