@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


*{ font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif

}
*{
    margin: 0px;
    padding: 0px
}
:root{
  --altura_header:80px;
  --padding_left_right:2rem;
  --ancho_maximo: 1200px;


}
header{
    display: flex;
    justify-content: space-between;
    height: 70px;
    background-color: coral;
    align-items: center;
    padding: 10px

}
   .logo{
    display: flex;
    align-items: center

}

    .logo img {
        height: 50px;
        margin-right:  10px
    }

.img{

    height: 25vh

}
body {
   background-color:rgb(37, 185, 37);
   background-image: url(../assets/imagenes/Fondodepromiedos.webp);
   overflow-x: hidden;
}
.dentro{
    height: 60vh

}
h1{
    color: yellow;
    margin: 20px;
    padding: 20px;
}

h2{
color: white;
margin: 20px;
padding: 20px;
}
p{
    color: white;
    margin: 20px;
    padding: 20px;
}
 ol li a{
    color: white;
    text-decoration: none;
    margin: 20px;
    padding: 20px;

 }


 button {
    background-color: yellow;
    font-size: 20px;
    margin: 10px;
    }
    a {
        color: white;
        text-decoration: none;
        
    }

   .contenedor {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows:repeat(2,520px);
    gap: 0px;
    row-gap: 0px;
    margin: auto;
    max-width: 70%;




   }
   div img {
    height: 250px;
   }
p {
    margin: 20px;
}
ol {
    margin: 70px;
}

/* Imágenes responsivas  */
@media (max-width: 575.98px) {
  .img-fluid {
    width: 100%;
    height: auto;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .img-fluid {
    width: 90%;
    height: auto;
  }
}

@media (min-width: 992px) {
  .img-fluid {
    width: 70%;
    height: auto;
  }
}

    nav ul li {
        list-style: none;;
    }
 .Championshtml {
    margin-left: 20px;  
    height: 75vh;
 }

 .contenedor img{
  width: 100%;
  object-fit: cover;
  height: 100%;
 }
 ol li {
  color: white;
 }
  .carousel-item img {
      max-height: 400px;
      object-fit: cover;
      width: 100%;  
    }
        h1, h2, p, li, a {
      color: white;
    }
    .sobre-nosotros {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  flex-wrap: wrap;
}

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

.sobre-nosotros .texto {
  max-width: 600px;
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .sobre-nosotros {
    flex-direction: column;
    text-align: center;
  }

  .sobre-nosotros img {
    max-width: 90%;
  }
}

.dentro {
  max-width: 1000px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-left: 50px;
  
}
 
/* MENÚ HAMBURGUESA - CONFIGURACIÓN PRINCIPAL */
nav {
  position: relative;
}

.menu-hamburguesa {
  display: none;
}

.list_icon {
  display: none;
  cursor: pointer;
  color: white;
}

.ul_links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
}

.li_links a {
  color: white;
  text-decoration: none;
}

/* RESPONSIVE MÓVILE */
@media (max-width: 768px) {
    .ul_links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background-color: coral;
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: 90vw;
        max-width: 400px;
        min-width: 280px;
        padding: 20px 0;
        z-index: 1000;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .menu-hamburguesa:checked ~ .ul_links {
        display: flex;
    }

    .list_icon {
        display: block;
    }

    .li_links {
        width: 100%;
        text-align: left;
        margin: 5px 0;
        padding-left: 20px;
    }

    .li_links a {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
        text-align: left;
    }
}

/* RESPONSIVE ESCRITORIO */
@media (min-width: 769px) {
  .ul_links {
    display: flex !important;
    flex-direction: row;
    background-color: transparent;
    position: static;
    height: auto !important;
    transform: none;
    width: auto;
    gap: 20px;
  }

  .list_icon {
    display: none;
  }

  .li_links {
    margin: 0 10px;
  }
}

/* ESTILOS ADICIONALES */
nav a {
  color: white !important;
}

nav a:hover {
  color: yellow !important;
}

.contenedor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 250px;
  gap: 10px;
  max-width: 90%;
  margin: auto;
}
/* champions responsive*/
/* IMÁGENES RESPONSIVAS - REGLAS GENERALES */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* IMAGEN CHAMPIONS LEAGUE RESPONSIVA */
.Championshtml {
    margin-left: 20px;
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
}

/* RESPONSIVE BREAKPOINTS PARA IMÁGENES (750px - 425px) */
@media (max-width: 750px) and (min-width: 425px) {
    .Championshtml {
        margin-left: 15px;
        margin-right: 15px;
        max-width: 90%;
        height: auto;
    }
    
    /*.contenedor img {
        height: 220px;
        width: 100%;
        object-fit: cover;
    }*/
    
    .dentro {
        margin-left: 15px;
        margin-right: 15px;
        max-width: 90%;
    }
} 

.video-mundial {
    max-width: 1000px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-left: 50px;
    margin-top: 20px;
    margin-bottom: 0px;
    display: block;
    aspect-ratio: 16/9;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .video-mundial {
        margin-left: 15px;
        margin-right: 15px;
        max-width: 90%;
    }
}


@media (max-width: 750px) and (min-width: 425px) {}
    .video-mundial {
        margin-left: 15px;
        margin-right: 15px;
        max-width: 90%;
    }
/* Animaciones de entrada para imágenes de index*/
.contenedor div {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease-out forwards;
}

/* amnimacion */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* delay para transicion */
.contenedor div:nth-child(1) { animation-delay: 0.2s; }
.contenedor div:nth-child(2) { animation-delay: 0.4s; }
.contenedor div:nth-child(3) { animation-delay: 0.6s; }
.contenedor div:nth-child(4) { animation-delay: 0.8s; }
