@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.banner{
    width: 100%;
    min-height: 100vh;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    position: relative;
   
}


header{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 21px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1)
}


header .logo{
    text-decoration: none;
    font-size: 2em;
    color: #111;
    font-weight: 700;
    position: relative;
    max-width: 130px;
}

header .logo span{
    color: #02A5E2;
}

.banner.active .logo{
    transform: scale(0);
    transform-origin:right ;
}
header .navegador{
    display: flex;
    position: relative;
}

header .navegador li{
    list-style: none;
}

header .navegador li a{
    margin-left: 40px;
    display: inline-block;
    color: #111;
    text-decoration: none;
    font-weight: 400;
    font-weight: 500;
}

header .navegador li .subnav{
    display: none
}

header .navegador.active{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #161616;
    
}

.funcionNav{
    position: relative;
    width: 40px;
    height: 40px;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 60%;
    cursor: pointer;
    
}

.funcionNav.active{
    /* background: url(img/close.png); */
    background-size: 25px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 10;
    
}

.contenedor{
    width: 100%;
    display: flex;
    position: static;
    justify-content: space-between;
    align-items: center;
    /* z-index: 2; */
    transition: 0.5s;
    transform-origin: right;
}

.banner.active .contenedor{
    transform: scale(0);
    transform-origin: right;
}



.contenedor .textBx{
    max-width: 600px;
}

.contenedor .textBx h2{
    font-size: 3em;
    color: #111;
    line-height: 1.4em;
    font-weight: 700;
}

.contenedor .textBx p{
    margin: 20px 0;
    color: #111;
    font-size: 1em;
}

.contenedor .textBx a{
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #111;
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
}

.contenedor .textBx a:hover{
    letter-spacing: 5px;
    background: #fff;
    color: #111;
}

.contenedor .imgBx img{
    max-width: 100%;
    min-width: 400px;
    height: 500px;
}
.redes{
    position: absolute;
    bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: 0.5s;
    transform-origin: right;
}

.redes li{
    list-style: none;
    
}

.redes li a{
    display: inline-block;
    margin-left: 15px;
    background: #333333;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.2s ease-in-out;
}

.redes li a:hover{
    transform: translateY(-10px);
    background: #02A5E2;
    
}

.redes li a img{
    filter: invert(1);
    transform: scale(0.6);
}

.redes li a:hover img{
    filter: invert(1);
}


.banner.active .redes{
    transform: scale(0);
    transform-origin: right;
}


.navegador{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transition: 0.5s;
    transition-delay: 0s;

}


.banner.active .navegador{
    visibility: visible;
    opacity: 1;
    transition-delay: 0.40s;
}
.navegador li{
    list-style: none;
}

.navegador li a{
   display: inline-block;
    margin-left:40px;
    text-decoration: none;
    color: #111;
    font-weight: 500;
}

.navegador li a:hover{
color: #02A5E2;
}



footer{
    background: #151415;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer .derechos{
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer .derechos p{
    color: #111;

}

footer .derechos span{
    color: #aeff0f;
}


@media(max-width:991px){
    header{
        padding: 20px 40px;
    }

    .banner{
        padding: 40px;
        overflow: hidden;
        
    }

    .banner:before{

        top: 100px;
        left: 0;
        height: 310px;
        width: 170px;
    }

    .banner:after{
        bottom: 0;
        right: 0;
        width: 80px;
        height: 60px;

    }

    .contenedor{
        
        margin: 50px 0;
        flex-direction: column-reverse;

    }

    .contenedor .imgBx{
    width: 520px;
      display: flex;
      justify-content: flex-end;
    }

    .contenedor .imgBx img{
        max-width: 100%;
        min-width: 300px;
    }


    .contenedor .textBx{
        margin: 40px 0;
        justify-content: center;
        text-align: center;
    }

    .contenedor .textBx h2{
        font-size: 2.5em;
    }
}

.form-group-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-inicio {
    padding: 10px 30px;
    background-color: #02A5E2;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(2, 165, 226, 0.3);
}

.button-inicio:hover {
    background-color: #007bbd;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 189, 0.4);
}

.button-inicio:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 123, 189, 0.3);
}
