/* variables de colores */
:root {
    --color1: #FFFFFF;
    --color2: rgb(255, 223, 79);
    --colordegr1: #004AAD;
    --colodegr2: #001430;
}

#landing1,
#landing2 {
    /* medidas */
    width: 100%;
    margin: 0;
    padding: 0;
    /* color  degradado izquierda a derecha */
    background: #012C56;
    background: -moz-linear-gradient(117deg, #283B54 0%, #4FB0FF 50%);
    background: -webkit-linear-gradient(117deg, #283B54 0%, #4FB0FF 50%);
    background: linear-gradient(117deg, #283B54 0%, #4FB0FF 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#283B54", endColorstr="#4FB0FF", GradientType=1);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0.75rem;
}

#landing1 {
    padding-top: 70px;
}

#landing2 {
    padding-top: 5px;
    background-image: url("img/fondo2.png");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 2rem;
}


.txtResaltado {
    color: var(--color2);
}

.lp2 {
    width: 100%;
    margin: 0;
    height: 100vh;
}

/* titulo LP1 */
.titulo h1 {
    font-size: 2rem;
    color: white;
    padding: 12px;
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

/* color texto negritas */
.blk {
    color: #FEBC06;
}

.titulo h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.textolp2 {
    color: white;
    font-size: 1.8rem;
}
/* boton LP1 */
.btnLP1 {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 2.5rem;
    padding: 0;
    width: 30rem;
    height: 3.6rem;
    margin: 3rem auto 1rem auto;
}

    .btnLP1 a {
        font-size: 1.4rem;
        padding: 0.8em 1em 1em 1em;
        color: black;
        font-weight: bold;
    }

    .btnLP1:hover {
        color: var(--hover-text);
        -webkit-transform: translate(-0.25rem, -0.25rem);
        -ms-transform: translate(-0.25rem, -0.25rem);
        transform: translate(-0.25rem, -0.25rem);
        background: rgb(255, 200, 0);
        -webkit-box-shadow: 0.25rem 0.25rem var(--bg);
        box-shadow: 0.25rem 0.25rem var(--bg);
    }

/* imagen LP1 */
.image-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgLp1 {
    border-radius: 1.5em;
    display: block;
    object-fit: contain;
}

/* form */
.form {
    display: flex;
    margin-top: 2rem;
    border-radius: 10px;
    padding: 25px;
    background-color: rgba(65, 93, 129, 0.93);
    width: 85%;
    height: 85%;
    /*box-shadow: 0 0 15px rgb(10, 15, 49);*/
    flex-direction: column;
    justify-content: space-between;
}

.botonForm {
    color: #fff;
    border: 1px solid white;
    padding: 0.8em 8em;
    background: white;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    font-size: 1.2rem;
    color: white;
    border-radius: 50px;
    padding: 0.8em 2em;
}

.form label {
    margin-bottom: 6px;
    color: #fff;
}

.slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -.5rem;
}

    .slogan h1 {
        color: white;
        font-size: 2.3rem;
    }
/* contenedor de imagen */
.imgLp2 {
    margin-top: 1rem;
    height: 100%;
    width: 100%;
}
    /* Imagen LP2 */
    .imgLp2 img {
        max-width: 100%;
        width: 100%;
        height: 78%;
        border-radius: 20px;
    }

/*.button1 {
    --bg: white;
    --hover-bg: black;
    --hover-text: #000;
    color: black;
    border: 1px solid var(--bg);
    border-radius: 4px;
    padding: 0.8em 2em;
    background: var(--bg);
    -webkit-transition: 0.2s;
    transition: 0.2s;
    border-radius: 50px;
    margin-left: 14rem;
}*/

.button2 {
    --bg: white;
    --hover-bg: #fff;
    --hover-text: #000;
    color: black;
    border: 1px solid var(--bg);
    border-radius: 4px;
    padding: 0.8em 2em;
    background: var(--bg);
    -webkit-transition: 0.2s;
    transition: 0.2s;
    border-radius: 50px;
}

.control2 h1 {
    font-size: 4rem;
    letter-spacing: 0.1rem;
}

.amarilloclaro {
    color: rgb(255, 223, 79);
}
.amarillointenso {
    color: rgb(255, 200, 0);
}
.dorado {
    color: rgb(218, 165, 32);
}

/* Media queries para el tamaño de la landing */
/* Pantallas pequeñas */
@media only screen and (max-width: 599px) {
    #landing1, #landing2 {
        width: 100%;
        height: auto;
    }
}

@media only screen and (max-width: 599px) {
    .lp1 {
        padding: 1rem;
    }
}

@media only screen and (max-width: 599px) {
    #landing2 {
        padding: 1rem;
    }
}



/* Pantallas medianas */
@media only screen and (min-width: 600px) and (max-width: 768px) {

    #landing1,
    #landing2 {
        width: 100%;
        height: auto;
    }
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
    #landing2 {
        padding: 1rem;
    }
}
/* Pantallas grandes */
@media only screen and (min-width: 1367px) and (max-width: 1920px) {

    #landing1,
    #landing2 {
        width: 100%;
        height: auto;
    }
}
/* medias pantallas pqueñas */
/* Cambiar la posicion de los items enlp1 */
@media (max-width: 600px) {
    .lp1 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .item:first-child {
        order: 1;
    }

    .item:last-child {
        order: 2;
    }
}
/* Cambiar la posicion de los items en lp2 */
@media (max-width: 600px) {
    .lp2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .item2:first-child {
        order: 1;
    }

    .item2:last-child {
        order: 2;
    }
}
/* Título LP1 */
@media (max-width: 600px) {
    .button1 {
        margin-left: 10rem;
    }
}

@media only screen and (max-width: 600px) {
    .titulo h1 {
        font-size: 1.8rem;
        margin: 0;
        margin-bottom: 1rem;
        text-align: center;
    }
}
/* Texto LP1 */
@media only screen and (max-width: 600px) {
    .titulo h3 {
        font-size: 1.4rem;
        margin: 0;
        margin-bottom: 1rem;
    }
}

/* texto 2 */
@media only screen and (max-width: 600px) {
    .textolp2 {
        color: white;
        font-size: 1.4rem;
        margin: 0;
        margin-bottom: -2rem;
    }
}

/* Botón LP1 */
@media only screen and (max-width: 600px) {
    .btnLP1 {
        margin-bottom: 3rem;
        width: 14rem;
        height: 6rem;
    }

        .btnLP1 a {
            font-size: 1.2rem;
            color: black;
            text-align: center;
            margin: 0;
        }
}
/* Imagen LP1 */
@media only screen and (max-width: 600px) {
    .imgLp1 {
        /* width: 400px;
        height: 550px; */
        width: 23rem;
        height: 27rem;
    }
}

@media only screen and (max-width: 600px) {
    .imgLp1 img {
        max-width: 100%;
        height: auto;
        display: block;
        /*margin: 0;
        padding: 0;*/
    }
}
/* Slogan LP1 */
@media only screen and (max-width: 600px) {
    .slogan {
        margin: 0;
    }
}

@media only screen and (max-width: 600px) {
    .slogan h1 {
        font-size: 2.1em;
    }
}

/* Imagen LP2 */
@media only screen and (max-width: 600px) {
    .imgLp2 {
        width: 21rem;
        height: 29rem;
        margin-bottom: -6rem;
    }
}

@media only screen and (max-width: 600px) {
    .imgLp2 img {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
}
/* Formulario */
/* @media only screen and (max-width: 600px) {
    .form {
    }
} */
@media only screen and (max-width: 600px) {
    .form form {
        margin: 0;
        margin-bottom: 1rem;
        width: 90%;
        margin-left: 1rem;
    }
}

/* Media queries para estilos en pantallas medianas */
/* Cambiar la posicion de los items enlp1 */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .lp1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    .item:first-child {
        order: 1;
    }

    .item:last-child {
        order: 2;
    }
}
/* Cambiar la posicion de los items en lp2 */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .lp2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .item2:first-child {
        order: 1;
    }

    .item2:last-child {
        order: 2;
    }
}
/* BOTON BARRA */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .button1 {
        margin-left: 27rem;
    }
}
/* Título LP1 */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .titulo h1 {
        font-size: 2.7rem;
        text-align: center;
    }
}
/* Texto LP1 */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .titulo h3 {
        font-size: 1.9rem;
        padding: 20px;
    }
}

/* Botón LP1 */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .btnLP1 {
        display: flex;
        justify-content: center;
        margin-bottom: 4rem;
        width: 32rem;
        height: 5rem;
    }
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
    .btnLP1 a {
        font-size: 1.6rem;
        color: black;
        margin: -2rem;
    }
}

/* Imagen LP1 */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .imgLp1 {
        max-width: 100%;
    }

        .imgLp1 img {
            width: 90%;
            height: auto;
            display: block;
        }
}
/* LP2 */

/* Slogan  */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .slogan {
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-size: 22rem;
    }
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
    .slogan h1 {
        font-size: 2.7rem;
    }
}
/* Imagen LP2 */

@media only screen and (min-width: 601px) and (max-width: 768px) {
    .imgLp2 {
        max-width: 100%;
    }

        .imgLp2 img {
            width: 90%;
            height: 30rem;
        }
}

/* revisar si algo sirve y luego borrar */
/* 
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .imgLp2 {
        width: 560px;
        height: 860px;
    }
}
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .imgLp2 img {
        max-width: 100%;
        width: 100%;
        max-height: 100%;
    }
} */

/* Formulario */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .form {
        display: flex;
        justify-content: center;
    }
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
    .form form {
        width: 70%;
        height: auto;
        margin-bottom: 1rem;
    }
}

/* Media queries para pantallas grandes */

/* Cambiar la posicion de los items enlp1 */
@media only screen and (min-width: 1367px) and (max-width: 1920px) {
    .lp1 {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .item:first-child {
        order: 1;
    }

    .item:last-child {
        order: 2;
    }
}
/* Cambiar la posicion de los items en lp2 */
@media only screen and (min-width: 1367px) and (max-width: 1920px) {
    .lp2 {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .item2:first-child {
        order: 1;
    }

    .item2:last-child {
        order: 2;
    }
}

/* Título LP1 */
@media only screen and (min-width: 1367px) and (max-width: 1920px) {
    .titulo h1 {
        font-size: 3.18rem;
    }
}

/* Texto LP1 */
@media only screen and (min-width: 1367px) and (max-width: 1920px) {
    .titulo h3 {
        font-size: 2rem;
    }
}
/* texto 2 */
@media only screen and (min-width: 1367px) and (max-width: 1920px) {
    .textolp2 p {
        font-size: 2.2rem;
    }
}

/* Botón LP1 */
@media only screen and (min-width: 1367px) and (max-width: 1920px) {
    .btnLP1 {
        display: flex;
        padding: 0;
        justify-content: center;
        width: 32rem;
        height: 5rem;
    }

        .btnLP1 a {
            font-size: 1.6rem;
            color: black;
        }
}
/* Imagen LP1 */
/*@media only screen and (min-width: 1367px) and (max-width: 1920px) {
    .imgLp1 {
        width: 100%;
        height: auto;
    }

        .imgLp1 img {
            max-width: 100%;
            width: 100%;
            height: auto;
        }
}*/
/* Slogan */
@media only screen and (min-width: 1367px) and (max-width: 1920px) {
    .slogan {
        margin-bottom: 1rem;
    }

        .slogan h1 {
            font-size: 2rem;
        }
}
/* Imagen LP2 */
@media only screen and (min-width: 1367px) and (max-width: 1920px) {
    .imgLp2 {
        width: 100%;
        height: 30rem;
    }

        .imgLp2 img {
            max-width: 100%;
            width: 100%;
            height: 100%;
        }
}
/* Formulario */
@media only screen and (min-width: 1367px) and (max-width: 1920px) {
    .form {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
}

@media only screen and (min-width: 1367px) and (max-width: 1920px) {
    .form form {
        display: flex;
        justify-content: center;
        width: 100%;
        height: 30rem;
        max-width: 100%;
        margin-left: -4rem;
    }
}
