header {
    z-index: 100;
    position: fixed;
    background-color: white;
    top: 0;
    right: 0;
    left: 0;
    transition: background-color 0.5s ease;
    -webkit-transition: background-color 0.5s ease;
    -moz-transition: background-color 0.5s ease;
    -ms-transition: background-color 0.5s ease;
    -o-transition: background-color 0.5s ease;
    height: 100px;
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

header nav {
    width: 90%;
    margin: 0 auto;
    justify-content: space-between;
    height: 100%;
}

header nav .right-section, header nav {
    display: flex;
    align-items: center;
}

nav .left-section img {
    height: 70px;
}

.header-boton {
    position: relative;
    display: block;
    text-transform: uppercase;
    padding: 10px 20px;
    text-decoration: none;
    color: black; 
    font-size: 16px;
    font-weight: 600;
    transition: all .5s;
    z-index: 1;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    height: 100%;
    transition: all 0.5s ease-in-out;
}

header nav .right-section a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top: 2px solid #262626;
    border-bottom: 2px solid #262626;
    transform: scaleY(2);
    opacity: 0;
    transition: .3s;
    }
header nav .right-section a:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: hsl(0, 0%, 15%);
    transform: scale(0);
    opacity: 0;
    transition: .3s;
    z-index: -1;
}
header nav  .right-section a:hover {
    color: var(--color-primario);
}
header nav .right-section a:hover:before {
    transform: scaleY(1);
    opacity: 0.7;
}
header nav .right-section a:hover:after {
    transform: scaleY(1);
    opacity: 1;
}

#phone-size {
    display: none !important;
}

#container-1 {
    height: 900px;
    background: var(--color-secundario);
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(217, 89%, 61%, 0.664), hsla(222, 11%, 24%, 0.651)), url(../img/img4.jpg);  
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(217, 89%, 61%, 0.664), hsla(222, 11%, 24%, 0.651)), url(../img/img4.jpg); 
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-attachment:fixed;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
}

#container-2 {
    padding-bottom: 150px;
    background: var(--color-secundario);
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(217, 89%, 61%, 0.664), hsla(222, 11%, 24%, 0.651)), url(../img/abstracto-3.jpg);  
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(217, 89%, 61%, 0.664), hsla(222, 11%, 24%, 0.651)), url(../img/abstracto-3.jpg); 
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-attachment:fixed;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.texto-principal {
    height: 50%;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--font-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#texto-principal1 {
    top: 30%;
    position: absolute;
}

.texto-principal h1 {
    font-size: 100px;
}

#texto-principal1 p {
    font-size: 30px;
}

#texto-principal1 h1, #texto-principal1 p {
    animation: floatUp 1.1 ease-in-out, floatDown 1.9s ease-in-out; /* Ejecuta ambas animaciones */
    animation-iteration-count: infinite; /* Repite la animación infinitamente */
    animation-direction: alternate; /* Alterna entre las dos animaciones */
}

.parrafo-principal {
    width: 60%;
    margin: 0 auto;
}

.parrafo-nosotros {
    text-align: justify;
    font-size: 19px !important;
    margin-bottom: 15px;
}

@keyframes floatUp {
    from {
        transform: translateY(0); /* Inicia en la posición original */
    }
    to {
        transform: translateY(-20px); /* Termina 20px arriba de la posición original */
    }
}

@keyframes floatDown {
    from {
        transform: translateY(-20px); /* Inicia 20px arriba de la posición original */
    }
    to {
        transform: translateY(0); /* Termina en la posición original */
    }
}

.argumentos {
    display: flex;
    width: 80%;
    margin: 0 auto;
    justify-content: space-between;
    margin: 20px auto 100px auto;
}

.argumentos .caja-argumentos {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.circulo {
    width: 70px;
    height: 70px;
    background-color: var(--font-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circulo span {
    color: var(--color-secundario);
    font-size: 28px;
    font-weight: bold;
}

.caja-argumentos h3 {
    font-size: 30px;
}

/*Media query de 1570px*/

@media  (max-width:1570px) {
    #container-1 {
        height: 850px;
    }

    header nav .right-section a {
        font-size: 15px;
    }

    .caja-argumentos h3 {
        font-size: 26px;
    }

    .parrafo-nosotros {
        font-size: 18px !important;
    }
}

/*Media query de 1370px*/

@media  (max-width:1370px) {
    .caja-argumentos h3 {
        font-size: 24px;
    }

    header nav .right-section a {
        font-size: 14px;
    }

    .texto-principal h1 {
        font-size: 90px;
    }
    
}

/*Media query de 1070px*/

@media  (max-width:1070px) {
    .caja-argumentos h3 {
        font-size: 22px;
    }

    .texto-principal h1 {
        font-size: 85px;
    }

    header nav .right-section a {
        display: none;
    }

    #phone-size {
        display: block !important;
        background-color: var(--color-primario);
    }

    .parrafo-nosotros {
        font-size: 17px !important;
    }
}

/*Media query de 862px*/

@media  (max-width:862px) {
    #container-1 {
        height: 800px;
        background: -webkit-linear-gradient(to right, hsla(217, 89%, 61%, 0.664), hsla(222, 11%, 24%, 0.651)), url(../img/abstracto-1.png) !important;  
        /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, hsla(217, 89%, 61%, 0.664), hsla(222, 11%, 24%, 0.651)), url(../img/abstracto-1.png) !important; 
        /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    }

    .argumentos {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin: 20px auto 60px auto;
    }

    .argumentos .caja-argumentos {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    
    .circulo span {
        font-size: 24px;
    }

    .caja-argumentos h3 {
        font-size: 24px;
    }
    
    .texto-principal h1 {
        font-size: 80px;
    }
}

/*Media query de 761px*/

@media  (max-width:761px) {
    #container-1 {
        height: 700px;
    }

    .parrafo-principal {
        width: 80%;
    }
    
    .texto-principal h1 {
        font-size: 65px;
    }
    
    #texto-principal1 p {
        font-size: 24px;
    }
}


/*Media query de 600px*/

@media  (max-width:600px) {
    
    .texto-principal h1 {
        font-size: 50px;
    }

    .parrafo-nosotros {
        font-size: 16px !important;
    }

}

/*Media query de 500px*/

@media  (max-width:500px) {
    .texto-principal h1 {
        font-size: 45px;
    }

    #texto-principal1 p {
        font-size: 21px;
    }

    .parrafo-nosotros {
        font-size: 15px !important;
    }

}




