@font-face {
    font-family: Aller;
    src: url('fonts/aller-regular.ttf');
    font-style: normal;
    font-weight: 100;
}

@font-face {
    font-family: Swis721LtBT;
    src: url('fonts/Swis72.ttf');
    font-style: light;
    font-weight: 100;
}

:root{
    --green-color: #A9CD4E;
    --blue-color: #00158A;
    --white-color: #FEFFFF;
    --light-blue-color: #9AA0D2;
}

html{
    scroll-behavior: smooth;
}

*{
    margin: 0;
    font-family: Aller;
}

p{
    font-family: Swis721LtBT;
}

body{
    font-family: Aller;
}

#snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  
  .snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 1rem;
    opacity: 0.8;
    animation: fall linear infinite;
  }
  
  @keyframes fall {
    to {
      transform: translateY(100vh);
      opacity: 0;
    }
  }

strong{
    color: var(--green-color);
}

a{
    text-decoration: none;
    color: var(--white-color);
    transition: 0.5s;
}

a:hover{
    color: var(--green-color);
}

#header{
    height: auto; 
    position: fixed;
    width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    box-sizing: border-box;
    z-index: 1;
    transition: 0.4s;
}

.hero{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
}

.logoStar{
    display: flex;
    width: 100%;
    align-items: center;
}

.logoStar .logotitle{
    font-size: 20px;
    color: var(--white-color);
}

#logo{
    height: 110px;
    width: 100px;
}

.navbar{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

.itemnav{ 
    margin: 0 1rem;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: 0.5s;
    color: white;
}

nav .openMenu{
    display: none;
    font-size: 2rem;
    margin: 20px;
    cursor: pointer;
}

nav .closeMenu, i {
    font-size: 2rem;
    display: none;  
    cursor: pointer;
}


#inicio{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(Img/FondoSeccionInicio.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white-color);
    font-size: 20px;
}

/*#about{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 121vh;
    color: var(--blue-color);
    background-image: url(Img/FondoSeccionAbout.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.tituloseccion{
    height: 100px;
    font-size: 20px;
}

#about .contenido{
    width: 1080px;
    padding: 14px;
    text-align: center;
    border: solid 4px var(--light-blue-color);
    border-radius: 10px;
    background-color: var(--white-color);
}

.contenidoMisionVision{
    display: flex;
    flex-direction: row;
    margin: 25px;
}

.contenidoMisionVision .mision{
    padding: 14px;
    width: 500px;
    margin: 0 25px;
    text-align: center;
    border: solid 4px var(--light-blue-color);
    border-radius: 10px;
    background-color: var(--white-color);
}

.contenidoMisionVision .vision{
    padding: 14px;
    width: 500px;
    margin: 0 25px;
    text-align: center;
    border: solid 4px var(--light-blue-color);
    border-radius: 10px;
    background-color: var(--white-color);
}

.contenidoMisionVision .vision .listaVision{
  text-align: justify;
} */

#productos{
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-image: url(Img/FondoSeccionAbout.jpg); /*Imagen de <a href="https://www.freepik.es/foto-gratis/hombre-vista-superior-mirando-su-telefono-pantalla-vacia_10336693.htm?query=cellphone%20screen%20person#from_view=detail_alsolike">Freepik</a>*/
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white-color);
    text-align: center;
}

#productos h2{
    color: var(--green-color);
    margin-bottom: 35px;
    font-size: 35px;
}

.tipoProducto{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.tipoProducto2{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.tipoProducto .producto1{
    margin: 20px 20px;
    width: 200px;
    border: solid 2px var(--light-blue-color);
    border-radius: 5px;
    padding: 20px;
    background-color: var(--blue-color);
}

.tipoProducto .producto1:hover{
    cursor: pointer;
    background-color: var(--green-color);
    color: var(--blue-color);
    transition: 0.4s;
}

#productos .contenido .popup-image{
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.9);
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
}

#productos .contenido .popup-image span{
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 60px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
    z-index: 100;
}

#productos .contenido .popup-image img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid var(--green-color);
    border-radius: 5px;
    width: 500px;
    object-fit: cover;
}


.tipoProducto2 .producto2{
    margin: 20px 20px;
    width: 200px;
    border: solid 2px var(--light-blue-color);
    border-radius: 5px;
    padding: 20px;
    background-color: var(--blue-color);
}

.tipoProducto2 .producto2:hover{
    cursor: pointer;
    background-color: var(--green-color);
    color: var(--blue-color);
    transition: 0.4s;
}

.tipoProducto2 .producto3{
    margin: 20px 20px;
    width: 200px;
    border: solid 2px var(--light-blue-color);
    border-radius: 5px;
    padding: 20px;
    background-color: var(--blue-color);
}

.tipoProducto2 .producto3:hover{
    cursor: pointer;
    background-color: var(--green-color);
    color: var(--blue-color);
    transition: 0.4s;
}

.tipoProducto .producto4{
    margin: 20px 20px;
    width: 200px;
    border: solid 2px var(--light-blue-color);
    border-radius: 5px;
    padding: 20px;
    background-color: var(--blue-color);
}

.tipoProducto .producto4:hover{
    cursor: pointer;
    background-color: var(--green-color);
    color: var(--blue-color);
    transition: 0.4s;
}

.tipoProducto .producto5{
    margin: 20px 20px;
    width: 200px;
    border: solid 2px var(--light-blue-color);
    border-radius: 5px;
    padding: 20px;
    background-color: var(--blue-color);
}

.tipoProducto .producto5:hover{
    cursor: pointer;
    background-color: var(--green-color);
    color: var(--blue-color);
    transition: 0.4s;
}

.tipoProducto .producto6{
    margin: 20px 20px;
    width: 200px;
    border: solid 2px var(--light-blue-color);
    border-radius: 5px;
    padding: 20px;
    background-color: var(--blue-color);
}

.tipoProducto .producto6:hover{
    cursor: pointer;
    background-color: var(--green-color);
    color: var(--blue-color);
    transition: 0.4s;
}

.tipoProducto2 .producto7{
    margin: 20px 20px;
    width: 200px;
    border: solid 2px var(--light-blue-color);
    border-radius: 5px;
    padding: 20px;
    background-color: var(--blue-color);
}

.tipoProducto2 .producto7:hover{
    cursor: pointer;
    background-color: var(--green-color);
    color: var(--blue-color);
    transition: 0.4s;
}

.tipoProducto .producto8{
    margin: 20px 20px;
    width: 200px;
    border: solid 2px var(--light-blue-color);
    border-radius: 5px;
    padding: 20px;
    background-color: var(--blue-color);
}

.tipoProducto .producto8:hover{
    cursor: pointer;
    background-color: var(--green-color);
    color: var(--blue-color);
    transition: 0.4s;
}

.tipoProducto .producto9{
    margin: 20px 20px;
    width: 200px;
    border: solid 2px var(--light-blue-color);
    border-radius: 5px;
    padding: 20px;
    background-color: var(--blue-color);
}

.tipoProducto .producto9:hover{
    cursor: pointer;
    background-color: var(--green-color);
    color: var(--blue-color);
    transition: 0.4s;
}

#financiaciones{
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(Img/FondoFinanciaciones.jpg); /*Imagen de <a href="https://www.freepik.es/foto-gratis/empresarios-que-trabajan-finanzas-contabilidad-analizan-financi_16068554.htm#query=financiaciones&position=12&from_view=search&track=sph&uuid=4e8690ad-99b9-4b5c-8950-1ecf890ddfa2">Imagen de our-team</a> en Freepik*/
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white-color);
    text-align: center;
}

#financiaciones p{
    font-size: 18px;
}

#financiaciones h2{
    font-size: 35px;
}

#financiaciones .infoFinan{
    display: flex;
    flex-direction: row;
}

#financiaciones .contenido p{
    margin-bottom: 70px;
}

#financiaciones .metodosfinanciacionesCompra{
    margin: 0px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    color: var(--green-color);
    font-size: 30px;
    border-radius: 10px;
    width: 500px;
    height: 290px;
}

#financiaciones .metodosfinanciacionesPoliza{
    margin: 0px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    color: var(--green-color);
    font-size: 30px;
    border-radius: 10px;
    width: 500px;
    height: 290px;
}

#financiaciones .metodosfinanciacionesCompra .vehiculo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10px;
}

#financiaciones .metodosfinanciacionesCompra .vehiculo .vehiculoGrid{
    
    text-align: center;
}

#financiaciones .metodosfinanciacionesCompra .vehiculo .vehiculoGrid img{
    width: 150px;
    height: 150px;
}

#financiaciones .metodosfinanciacionesPoliza .poliza {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10px;
}

#financiaciones .metodosfinanciacionesPoliza .poliza .polizaGrid{
    
    text-align: center;
}

#financiaciones .metodosfinanciacionesPoliza .poliza .polizaGrid img{
    width: 150px;
    height: 150px;
}

#aliados{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: auto;
    background-image: url(Img/FondoSeccionContacto.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

#aliados h2{
    color: var(--green-color);
    font-size: 35px;
    margin-bottom: 25px;
}

#aliados h3{
    color: var(--blue-color);
    font-size: 25px;
    margin-top: 25px;
}

#aliados h3 a{
    color: var(--green-color);
    background-color: var(--blue-color);
    padding: 10px 25px;
    border-radius: 10px;
}

#aliados h3 a:hover{
    color: var(--blue-color);
    background-color: var(--green-color);
}

#aliados .contenido{
    margin: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#aliados .imgAliados {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 10px;
}

#aliados .imgAliados .AliadosGrid{
    background-color: var(--white-color);
    border: 3px solid var(--light-blue-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

#aliados .imgAliados .AliadosGrid img{
    width: 150px;
    height: 150px;
}

.principalContainer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: auto;
    border: 2px solid var(--light-blue-color);
    background: linear-gradient(to bottom right, var(--light-blue-color), #E0E3F5); /* Degradado */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3); /* Sombra */
    transition: box-shadow 0.3s ease; /* Efecto de transición */
}

.principalContainer:hover {
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.5); /* Sombra más grande al hacer hover */
}

#aliados .contenido .principalContainer h2{
    color: var(--white-color);
    font-size: 22px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3); /* Sombra */
    margin: 0px;
}

.containerAseg {
    border: 2px solid var(--light-blue-color);
    border-radius: 5px;
    margin: 10px;
    width: 300px;
    cursor: pointer;
    text-align: center;
    background-color: var(--white-color);
}

#aliados .contenido .containerAseg h3{
    margin: 10px;
    font-size: 18px;
}




.content, .subcontent {
    display: none; 
    padding-left: 10px;
}
.content div {
    margin: 5px 0;
    padding: 5px;
    background-color: #f0f0f0;
    cursor: pointer;
}
.subcontent div {
    padding-left: 10px;
    background-color: #d0e0f0;
}

#contacto{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    text-align: center;
    color: var(--blue-color);
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(Img/FondoSeccionProductos.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#contacto h2{
    margin-bottom: 35px;
    font-size: 35px;
}

#contacto .infocontacto{
    border: solid 5px var(--light-blue-color);
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 10px;
}

#contacto .infocontacto .correoycelular{
    font-size: 25px;
}

#contacto a{
    color: var(--green-color);
}

#contacto .linkCont{
    font-size: 18px;
}

.btn-wsp{
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    bottom: 30px;
    right: 30px;
    background: #0DF053;
    color: var(--white-color);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
    z-index: 1;
}

.btn-wsp:hover{
    text-decoration: none;
    color: var(--blue-color);
    background: var(--green-color);
    transition: 0.4s;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#cookie-banner p {
  margin: 0;
  flex: 1;
  text-align: center;
  margin-bottom: 10px;
}

#cookie-banner a {
  color: #ffc107;
  text-decoration: underline;
}

#cookie-banner button {
  background-color: var(--blue-color);
  border: none;
  color: var(--white-color);
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  flex-shrink: 0;
  margin: 5px;
}

#cookie-banner button:hover {
    background-color: var(--green-color);
}

#cookie-banner #reject-cookies {
  background-color: #f44336; /* Rojo */
}

#cookie-banner #reject-cookies:hover {
  background-color: #d32f2f;
}

#Certificaciones{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-image: url(Img/FondoSeccionAbout.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    text-align: center;
}

#Certificaciones h2{
    margin-bottom: 14px;
    font-size: 35px;
}

#Certificaciones p{
    text-align: center;
    width: 70%;
    margin-bottom: 35px;
    color: var(--blue-color);
}

#Certificaciones .contenido{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 90vh;
    
}

#Certificaciones .contenido .infoCertificaciones{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

#Certificaciones .contenido .infoCertificaciones .imgCertificaciones{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin-top: 40px;
    
}

#Certificaciones .contenido .infoCertificaciones .imgCertificaciones img{
    width: 200px;
    height: 200px;
}

#footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 245px;
    background-color: var(--blue-color);
    color: var(--white-color);
    text-align: center;
}

#footer .footercontent{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#footer .redessociales{
    margin: 0px 20px;
}

#footer .redessociales i{
    margin-top: 10px;
    font-size: 30px;
}

#footer img{
    width: 200px;
    height: 200px;
}

#footer .creditos{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    background-color: rgb(46, 46, 226);
}



@media (max-width: 500px){
    #header{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .logoStar{
        width: 350px;
        justify-content: center;
    }


    .navbar{
        display: none;
        height: 100vh;
        flex-direction: column;
        list-style: none;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10;
        justify-content: center;
        align-items: center;
        background: var(--blue-color);
        transition: top 1s ease;
        font-size: 20px;
    }

    nav .navbar .closeMenu{
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
    }

    nav .openMenu{
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
    }

    #inicio{
        font-size: 18px;
        height: 95vh;
    }

    .hero{
        display: none;
    }

    #financiaciones{
        height: 180vh;
    }

    #financiaciones .contenido .infoFinan{
        flex-direction: column;
        width: 350px;
    }

    #financiaciones .contenido{
        width: 550px;
    }

    #financiaciones .metodosfinanciacionesCompra{
        width: 340px;
    }

    #financiaciones .metodosfinanciacionesCompra .vehiculo .vehiculoGrid img{
        width: 100px;
        height: 100px;
    }

    #financiaciones .metodosfinanciacionesPoliza .poliza .polizaGrid img{
        width: 100px;
        height: 100px;
    }

    #financiaciones .metodosfinanciacionesCompra .metFinan img{
        width: 120px;
        height: 70px;
    }
    
    #financiaciones .metodosfinanciacionesCompra .metFinan .bancos .occi{
        width: 100px;
        height: 100px;
    }
    
    #financiaciones .metodosfinanciacionesCompra .metFinan .bancos .fina{
        width: 100px;
        height: 100px;
    }

    #financiaciones .metodosfinanciacionesPoliza{
        margin-top: 20px;
        width: 340px;
    }

    #financiaciones .metodosfinanciacionesPoliza .metFinan .contenedor{
        height: 140px;
        width: 380px;
    }
    
    #financiaciones .metodosfinanciacionesPoliza .metFinan img{
        width: 110px;
        height: 50px;
    }
    
    #financiaciones .metodosfinanciacionesPoliza .metFinan .bancos .occi{
        margin-right: 5px;
        margin-left: 5px;
        width: 100px;
        height: 40px;
    }
    
    #financiaciones .metodosfinanciacionesPoliza .metFinan .bancos .fina{
        width: 100px;
        height: 35px;
    }

    #productos{
        height: 200vh;
    }

    .tipoProducto{
        flex-direction: column;
    }

    .tipoProducto2{
        flex-direction: column;
        width: 280px;
    }

    .tipoProducto2 .producto2{
        margin: 20px 0px;
    }

    .tipoProducto2 .producto3{
        margin: 20px 0px;
    }

    .tipoProducto2 .producto7{
        margin: 20px 0px;
    }
    /*
    #aliados{
        height: 180vh;
    }

    #aliados .imgAliados img{
        display: none;
    }

    #aliados .imgAliados::after{
        content: '';
        display: block;
        width: 100%;
        height: 0;
        padding-bottom: 450%; /* Ajusta la relación de aspecto según la imagen 
        background-image: url('Img/Aliados/AliadosMobile.jpg');
        background-size: cover;
        background-position: center;

    } 

    #aliados .logosAliados{
        flex-direction: column;
    } */

    


    #aliados .imgAliados {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    #aliados .imgAliados .AliadosGrid img{
        width: 45px;
        height: 45px;
    }

    .principalContainer{
        width: 200px;
    }

    #aliados .contenido .containerAseg h3{
        font-size: 14px;
    }

    .containerAseg {
        width: 190px;
    }
   

    #contacto .infocontacto{
       width: 340px;
    }
    
    #contacto .infocontacto .correoycelular{
        font-size: 20px;
    }


    #productos .contenido .popup-image img{
        width: 95%;
    }

      #cookie-banner {
    flex-direction: column;
    padding: 10px;
  }

  #cookie-banner p {
    font-size: 12px;
  }

  #cookie-banner button {
    width: 80%;
    font-size: 13px;
    padding: 8px;
  }

  #Certificaciones p{
    width: 90%;
  }

  #Certificaciones .contenido .infoCertificaciones .imgCertificaciones img{
    width: 100px;
    height: 100px;
  }
}

