/**/
.banner1Contenedor {
    position: relative;
    width: 50%;
    height: 100%;
    /* Altura de ejemplo */
    overflow: hidden;
    /* Evita que el contenido desborde el banner1Contenedor */
    display: flex;
    align-items: center;
}

#Lg_Bn1 {
    width: 15%;
    height: auto;
    position: absolute;
    top: 3%;
    left: 2%;
    display: none;
}

.banner1Elemento {
    position: absolute;
    /* Posición inicial, fuera del área visible */
    width: 200px;
    height: 200px;
    animation: desplazarDiagonal 3s ease forwards;
    bottom: 0;
    left: 0;
}

.banner1Elemento.mostrar1 {
    left: calc(90% - 200px);

}

#VM_B1 {
    margin-top: 10px;
}

@keyframes desplazarDiagonal {
    0% {
        bottom: -300px;
        left: -300px;
    }

    100% {
        bottom: 0;
        left: 0;
    }
}



@keyframes fadeUpIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    50% {
        opacity: 1;
        transform: translateY(0);
    }
}



@-moz-keyframes fadeUpIn {
    0% {
        opacity: 0;
        -moz-transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@-o-keyframes fadeUpIn {
    0% {
        opacity: 0;
        -o-transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -o-transform: translateY(0);
    }
}

.fade-up-in {
    animation: fadeUpIn 1s ease-out;
}

.fade-up-in2 {
    animation: fadeUpIn 2s ease-out;
}

.fade-up-in3 {
    animation: fadeUpIn 3s ease-out;
}

#banner1 {

    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#banner1Seccion2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-lines: 15px;
    ;
}

#banner1MiElemento {
    height: 75%;
    width: auto;
}

#RPB1 {
    max-width: 60%;
}




@media screen and (max-width: 768px) {

    #banner1 {
        flex-direction: row;
    }

    #banner1Seccion2 {
        align-items: center;
        padding: 10px;
        margin-top: 26%;
    }

    #banner1Seccion1,
    #banner1Seccion2 {
        width: 100%;
        margin-top: 0px;
    }

    #banner1MiElemento {
        height: 70%;
        width: auto;
    }

    #VM_B1 {
        margin-top: 10px;
    }

}


@media screen and (max-width: 900px) {
    #banner1 {
        flex-direction: row;

    }

    #banner1Seccion2 {
        align-items: center;
        padding: 10px;
        margin-top: 26%;
    }

    #banner1Seccion1,
    #banner1Seccion2 {
        width: 100%;
        margin-top: 4px;
    }

    #banner1MiElemento {
        height: 70%;
        width: auto;
    }

    #VM_B1 {
        margin-top: 10px;
    }


}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
    #banner1 {
        flex-direction: column-reverse;
    }

    #banner1Seccion2 {
        align-items: center;
        padding: 10px;
        margin-top: 26%;
    }

    #banner1Seccion2 {
        width: 100%;
        margin-top: 120px;
    }

    #banner1MiElemento {
        height: 90%;
        width: auto;
    }

    #VM_B1 {
        margin-top: 10px;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    #Lg_Bn1 {
        width: 30%;
        top: 10%;
    }

    #Bn_M1 {
        margin-top: 8px;
    }

    #RPB1 {
        max-width: 60%;
        text-align: center;
    }
}

/* Orientación vertical para tabletas */
@media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
    #Lg_Bn1 {
        width: 15%;
        height: auto;
        position: absolute;
        top: 3%;
        left: 2%;
        display: none;
    }

    .banner1Contenedor {
        position: relative;
        width: 100%;
        height: 46%;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    #banner1MiElemento {
        height: 100%;
        width: auto;
    }

    #banner1Seccion2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        align-self: center;
        text-align: center;
    }

    #RPB1 {
        color: white;
        font-size: 48px;
        font-weight: 900;
        line-height: 45px;
        padding-bottom: 15px;
    }

    #banner1 {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column-reverse;
        background-image: url(../recursos/banner1Fondo.png);
        background-size: cover;
    }

    #banner1Seccion2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        align-self: center;
        text-align: center;
        margin: 10%;
    }
}