:root {
    --fuenteHeading: 'Poppins', sans-serif;
    --fuenteParrafos: 'Poppins', sans-serif;

    --amarillo: #FFDA78;
    --azul-tarjeta: #3572EF;
    --rojo: #FF5959;
    --azul: #3ABEF9;



    --blanco: #ffffff;
    --negro: #000000;
    --naranja: #cf6d17;
    --whatsapp: #00bb2d;
    --facebook: #3b5998;
    --youtube: #c4302b;
}
html {
    box-sizing: border-box;
    font-size: 62.5%;
    /* 1 rem = 10px */
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: var(--fuenteParrafos);
    font-size: 1.6rem;
    line-height: 2;
    overflow-x: hidden;
}

/** Globales **/
.contenedor {
    width: min(90%, 120rem);
    margin: 0 auto 3rem auto;
}




iframe{
    width: 40rem;
    height: 40rem;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--fuenteHeading);
    line-height: 1.2;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 4rem;
}

h3 {
    font-size: 3.2rem;
}

h4 {
    font-size: 2.8rem;
}

img {
    max-width: 100%;
}

.header-exani{
    width: 100%;
    height: 10rem;
    display: flex;
    place-items: center;
    justify-content: center;
}

.logo-exani{
    height: 8rem;
    grid-column: 3; 
}

.columna-header {
    flex: 1; /* Cada columna toma el mismo ancho */
    margin: 0 10px; /* Espacio entre las columnas */
    background-color: lightgray;
    padding: 20px;
    text-align: center;
    align-items: center;
  }

.contenedor-amarillo{
    width: 100%;
    height: 2rem;
    background-color: var(--amarillo);
    margin-top: 1rem;
}
.info-btn{
    width: 28rem;
    height: 4rem;
    background-color: var(--rojo);
    color: var(--blanco);
    border-radius: 40px;
    border: 0;
}

.titulo-principal{
    margin: 0 0 0 1rem;
    padding: 4rem 0 0 0;
    color: var(--azul-tarjeta);
    text-align: center;

}
.no-margin{
    margin: 0;
}

.titulo-principal h1 h2{
    margin: 0 0 0 0;
}

.fila-header{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contenedor-izquierdo, .contenedor-derecho {
    height: auto; /* Ajusta la altura según tus necesidades */
    display: flex;
    justify-content: center;
    font-size: 1.8rem;
    margin: 2rem;
}
.texto-centrado{
    text-align: center;
}
.padding-derecho{
    padding: 0 10rem 0 0;
    margin: 2rem 0;
    font-weight: 700;
    font-size: 2.8rem;
}
.padding-izquierdo{
    padding: 0 0 0 10rem;
    margin: 2rem 0;
    font-weight: 700;
    font-size: 2.8rem;
}

.contenedor-izquierdo p{
    font-size: 1.6rem;
    margin: 2rem 0;
}

.contenedor-izquierdo {
    width: 60%;
}

.contenedor-derecho {
    width: 40%;
    padding: 3rem;
    text-align: justify;
    align-items: center;
}


iframe{
    width: 50rem;
    height: 36rem;
}

.fila {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}
.columna {
    display: flex;
    flex-direction: column;
}

/*Landing Bañuelos*/
.header-exani{
    width: 100%;
    height: 10rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    place-items: center;
}

.logo-exani{
    grid-column: 2; 
}

.logo-exani img{
    width: 20rem;
}


.tarjeta-datos{
    height: 36rem;
    width: 28rem;
    background-color: var(--azul-tarjeta);
    border-radius: 3rem;
    margin: 1rem;
    padding: 2rem;
    font-size: 1.8rem;
    color: var(--blanco);
    vertical-align: middle;
    display: inline;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.6);
}

.img-primer-lugar{
    width: 30rem;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  

.titulos{
    text-align: left;
    margin: 0;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Asegura la alineación a la izquierda */
    font-size: 4.8rem;
    font-weight: 700;
}

.contenedor-izquierdo .titulos h2 h1{
    text-align: left;
    align-items: center;
}

.contenedor-izquierdo p{
    text-align: justify;
    margin: 1rem 0;
}

.titulo1{
    color: var(--rojo);
    margin: 0;
    display: flex;
}
.titulo2{
    color: var(--azul);
    margin:0;
    display: flex;
}
.titulo3{
    color: var(--amarillo);
    margin: 0;
    display: flex;
}
.titulo4{
    color: var(--blanco);
    margin: 0;

}
.img-primeros-lugares{
    width: 50rem;
    margin: 3rem 0;
}
.margen-superior{
    margin-top: 3rem;
}

.margen-superior-tarjeta{
    margin-top: 4rem;
}

.margen-inferior-tarjeta{
    margin-bottom: 4rem;
}

.container {
    position: relative;
    width: 560px;
    height: 400px;
    background-color: #d3d3d3;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container iframe {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2; /* iframe en frente */
}
.shape {
    position: absolute;
    background-color: #00aaff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    z-index: 1; /* Figuras detrás del iframe */
}
.triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid #ffcc00;
    z-index: 1; /* Figuras detrás del iframe */
}
.top-left {
    top: -20px;
    left: -50px;
}
.bottom-right {
    bottom: -20px;
    right: -40px;
}
.top-right {
    top: -40px;
    right: -40px;
    transform: rotate(50deg); /* Girar 45 grados */
}
.bottom-left {
    bottom: -50px;
    left: -90px;
    transform: rotate(-135deg); /* Girar -45 grados */
}

.elemento-centrado{
    display: flex;
    width: 100%;
    justify-content: center;
}

.carousel-container {
    position: relative;
    width: 80%;
    margin: 20px auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
}

.carousel-item img {
    width: 100%;
    display: block;
}

.botonera {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}



  .fondo-azul{
    padding: 3rem 0 3rem 0;
    background-color: var(--azul);
  }
  .tarjeta-datos{
    align-content: center;
  }

  .cuadro-honor{
    display: grid;
    grid-template-columns: 60% 40%; /* Dos columnas de igual tamaño */
    grid-template-rows: auto auto; /* Dos filas automáticas */
  }

  .item {
    display: flex;
    }

    .item1 { 
        grid-row: 1 / 2; 
        width: 100%;
        margin: 2rem;
    }
    .item2 { 
        grid-row: 2 / 3; 
        width: 100%;
    }
    .item3 { 
        grid-row: 1 / 3; 
        width: 100%;
    }
        
    .contenedor-izquierdo img{
        display: flex;
        justify-content: center;
    }



  @media (max-width: 1022px) {
    .contenedor{
        flex-direction: column-reverse;
    }

    .container {
        width: 70%;
        height: 30vh;
    }
    .container iframe {
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 2; /* iframe en frente */
    }
    .contenedor-derecho{
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .titulo-principal{
        padding: 0;
        margin: 0;
    }
    .info-btn{
        margin-bottom: 3rem;
    }

    #tarjetas{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        margin:0;
        justify-items: center;
    }
    .tarjeta-datos{
        margin:2rem;
        height: 34rem;
        width: 26rem;
    }

    .contenedor-izquierdo{
        width: 100%;
        margin: 3rem;
    }
    .img-primer-lugar{
        width: 260px;
    }
    .img-primeros-lugares{
        margin-bottom: 0;
    }
    #fotos-primer-lugar{
        flex-direction: row;
    }
    .cuadro-honor{
        display: flex;
        flex-direction: column;
      }

    .cuadro-honor .item{
        margin: 0;
    }
}

@media (max-width: 766px) {
    .container {
        width: 90%;
        height: 24vh;
    }
    .padding-derecho, .padding-izquierdo{
        padding: 0;
        margin: 0;
    }
    #tarjetas{
        display: flex;
        flex-direction: column;
        margin:0;
    }
    #fotos-primer-lugar{
        flex-direction: column;
    }
}



