@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../recursos/Montserrat-Regular.ttf') format('opentype');
}

@font-face {
    font-family: 'Montserrat-Medium';
    src: url('../recursos/Montserrat-Medium.ttf') format('opentype');
}

body {
    font-size: 16px;
}

#banner3 {
    width: 100%;
    height: 100vh;
    flex-direction: row;
    background-image: url('../recursos/banner3Fondo.png');
    background-size: cover;
}

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

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

.banner3Elemento {
    position: absolute;
    bottom: 0;
    left: -200px;
    /* Posición inicial, fuera del área visible */
    width: 200px;
    height: 200px;
    transition: left 2s ease;
    animation: deslizar1 2s ease forwards;
}

.banner3Elemento.mostrar {
    left: calc(90% - 200px);
}

@keyframes deslizar1 {
    0% {
        left: -200px;
    }

    100% {
        left: 100px;
    }
}

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

.banner3Elemento2 {
    position: absolute;
    bottom: 100px;
    right: -200px;
    /* Posición inicial, fuera del área visible */
    width: 200px;
    height: 200px;
    transition: right 2s ease;
    animation: deslizar2 2s ease forwards;

}

.banner3Elemento2 {
    height: 60%;
    width: auto;
}

.banner3Elemento2.mostrar {
    right: calc(90% - 400px);
    /* Posición final, a 200px de la derecha del banner3Contenedor */
}

@keyframes deslizar2 {
    0% {
        right: -200px;
    }

    100% {
        right: 100px;
    }
}

.banner3Elemento3 {
    position: absolute;
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: deslizar3 2s ease forwards;
}


@keyframes deslizar3 {
    0% {
        top: -400px;
    }

    100% {
        top: 0;
    }
}


.banner3Elemento4 {
    position: absolute;
    width: 60%;
    height: 100%;
    top: 0;
    /* Se posicionará desde la parte superior del contenedor padre */
    left: 50%;
    /* Se posicionará desde el centro del contenedor padre */
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
}

#RCB3 {
    color: white;
    font-weight: 400;
    font-size: 30px;
    text-align: center;
    margin-top: 30px;
    line-height: 30px;
}

.Img_Org {
    width: 15%;
    height: auto;
    margin-top: 32px;
}

#VM_B1 {
    box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
    border-radius: 50px;
    background-color: #0595DE;
    color: white;
    margin-top: 10px;
    font-family: 'Montserrat-Medium';
}

#VM_B2 {
    box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
    border-radius: 50px;
    background-color: #0595DE;
    color: white;
    margin-top: 10px;
    font-family: 'Montserrat-Medium';
}

/* Teléfonos móviles pequeños */
@media (max-width: 320px) {

    body {
        font-size: 12px;
    }

    #banner3MiElemento {
        height: 22%;
        width: auto;
        margin-left: -22%;
    }

    .banner3Elemento2 {
        margin-right: -43%;
        height: 25%;
        width: auto;
        top: 66%;
    }

    .banner3Elemento3 {
        max-width: 90%;
        /* ocupa solo el 90% del ancho disponible */
        height: auto;
        /* mantiene proporción */
        margin: 0 auto;
        /* centra horizontalmente */
        display: block;
    }

    .banner3Elemento4 {
        position: absolute;
        width: 45%;
        height: 78%;
        top: 6%;
        transform: translateX(-50%);
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 4%;
    }

    #RCB3 {
        margin-top: 45%;
        text-align: center;
        font-size: 22px;

    }

    #VM_B1 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        font-family: 'Montserrat-Medium';
        font-size: 14px;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    #VM_B2 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        margin-top: 10px;
        font-family: 'Montserrat-Medium';
        font-size: 14px;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .Img_Org {
        width: 35%;
        max-width: 120px;
        height: auto;
        margin-top: 8px;
    }

}

/*Teléfonos móviles medianos*/
@media (min-width: 321px) and (max-width: 375px) {

    body {
        font-size: 14px;
    }

    #banner3MiElemento {
        height: 20%;
        width: auto;
        margin-left: -56%;
    }

    .banner3Elemento2 {
        margin-right: -56%;
        height: 20%;
        width: auto;
        top: 79%;
    }

    .banner3Elemento3 {
        max-width: 90%;
        /* ocupa solo el 90% del ancho disponible */
        height: auto;
        /* mantiene proporción */
        margin: 0 auto;
        /* centra horizontalmente */
        display: block;
    }

    .banner3Elemento4 {
        position: absolute;
        width: 54%;
        height: 78%;
        top: 6%;
        transform: translateX(-50%);
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 4%;
    }

    #RCB3 {
        margin-top: 40%;
        text-align: center;
        font-size: 22px;
    }

    #VM_B1 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        font-family: 'Montserrat-Medium';
        font-size: 14px;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-top: 80px;
    }

    #VM_B2 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        margin-top: -10px;
        font-family: 'Montserrat-Medium';
        font-size: 14px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .Img_Org {
        width: 35%;
        max-width: 120px;
        height: auto;
        margin-top: 8px;
    }

}

/*Teléfonos móviles grnandes*/
@media (min-width: 376px) and (max-width: 425px) {

    body {
        font-size: 16px;
    }

    #banner3MiElemento {
        height: 20%;
        width: auto;
        margin-left: -42%;
    }

    .banner3Elemento2 {
        margin-right: -44%;
        height: 22%;
        width: auto;
        top: 77%;
    }

    .banner3Elemento3 {
        max-width: 90%;
        /* ocupa solo el 90% del ancho disponible */
        height: auto;
        /* mantiene proporción */
        margin: 0 auto;
        /* centra horizontalmente */
        display: block;
    }

    .banner3Elemento4 {
        position: absolute;
        width: 68%;
        height: 78%;
        top: 6%;
        transform: translateX(-50%);
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 4%;
    }

    #RCB3 {
        margin-top: 20%;
        text-align: center;
        font-size: 32px;
    }

    #VM_B1 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        font-family: 'Montserrat-Medium';
        font-size: 14px;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-top: 86px;
    }

    #VM_B2 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        margin-top: -15px;
        font-family: 'Montserrat-Medium';
        font-size: 14px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .Img_Org {
        width: 30%;
        max-width: 100px;
        height: auto;
        margin-top: 8px;
    }

}

/* Tabletas en modo retrato */
@media (min-width: 426px) and (max-width: 768px) {

    body {
        font-size: 18px;
    }

    #banner3MiElemento {
        height: 22%;
        width: auto;
        margin-left: -42%;
    }

    .banner3Elemento2 {
        margin-right: -38%;
        height: 22%;
        width: auto;
        top: 78%;
    }

    .banner3Elemento3 {
        max-width: 90%;     /* ocupa solo el 90% del ancho disponible */
    height: auto;       /* mantiene proporción */
    margin: 0 auto;     /* centra horizontalmente */
    display: block;
    }

    .banner3Elemento4 {
        position: absolute;
        width: 45%;
        height: 78%;
        top: 6%;
        transform: translateX(-50%);
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 4%;
    }

    #RCB3 {
        margin-top: 20%;
        text-align: center;
        font-size: 22px;
    }

    #VM_B1 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        font-family: 'Montserrat-Medium';
        font-size: 14px;
        padding-left: 2rem;
        padding-right: 2rem;
        margin-top: 168px;
    }

    #VM_B2 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        font-family: 'Montserrat-Medium';
        font-size: 14px;
        padding-left: 3rem;
        padding-right: 3rem;
        margin-top: -18px;
    }

    .Img_Org {
        width: 25%;
        height: auto;
        margin-top: -8px;
    }

}

/* Tabletas en modo paisaje */
@media (min-width: 769px) and (max-width: 1024px) {

    body {
        font-size: 16px;
    }

    #banner3MiElemento {
        height: 30%;
        width: auto;
        margin-left: -18%;
    }

    .banner3Elemento2 {
        height: 32%;
        width: auto;
        top: 66%;
        margin-right: -26%;
    }

    .banner3Elemento3 {
        max-width: 90%;     /* ocupa solo el 90% del ancho disponible */
    height: auto;       /* mantiene proporción */
    margin: 0 auto;     /* centra horizontalmente */
    display: block;
    }

    .banner3Elemento4 {
        position: absolute;
        width: 45%;
        height: 78%;
        top: 6%;
        transform: translateX(-50%);
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 0%;
    }

    #RCB3 {
        margin-top: 30%;
        text-align: center;
        font-size: 34px;
        line-height: 35px;
    }

    #VM_B1 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        font-family: 'Montserrat-Medium';
        font-size: 22px;
        padding-left: 2rem;
        padding-right: 2rem;
        margin-top: 6%;
    }

    #VM_B2 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        margin-top: 10px;
        font-family: 'Montserrat-Medium';
        font-size: 22px;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .Img_Org {
        width: 30%;
        max-width: 100px;
        height: auto;
        margin-top: 8px;
    }

}

/* Ordenadores portátiles pequeños */
@media (min-width: 1025px) and (max-width: 1280px) {

    body {
        font-size: 16px;
    }

    #banner3MiElemento {
        height: 30%;
        width: auto;
        margin-left: -18%;
    }

    .banner3Elemento2 {
        height: 32%;
        width: auto;
        top: 66%;
        margin-right: -26%;
    }

    .banner3Elemento3 {
        max-width: 90%;     /* ocupa solo el 90% del ancho disponible */
    height: auto;       /* mantiene proporción */
    margin: 0 auto;     /* centra horizontalmente */
    display: block;
    }

    .banner3Elemento4 {
        position: absolute;
        width: 45%;
        height: 78%;
        top: 6%;
        transform: translateX(-50%);
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 0%;
    }

    #RCB3 {
        margin-top: 30%;
        text-align: center;
        font-size: 34px;
        line-height: 35px;
    }

    #VM_B1 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        font-family: 'Montserrat-Medium';
        font-size: 22px;
        padding-left: 2rem;
        padding-right: 2rem;
        margin-top: 6%;
    }

    #VM_B2 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        margin-top: 10px;
        font-family: 'Montserrat-Medium';
        font-size: 22px;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .Img_Org {
        width: 50%;
        height: auto;
        margin-top: 32px;
    }

}

/* Monitores de PC de escritorio */
@media (min-width: 1281px) and (max-width: 1600px) {

    body {
        font-size: 16px;
    }

    #bannerHome3 {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: row;
        background-image: url('../recursos/banner3Fondo.png');
        background-size: cover;
    }

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

    #banner3MiElemento {
        height: 48%;
        width: auto;
    }

    .banner3Elemento {
        position: absolute;
        bottom: 0;
        left: -200px;
        /* Posición inicial, fuera del área visible */
        width: 200px;
        height: 200px;
        transition: left 2s ease;
        animation: deslizar1 2s ease forwards;
    }

    .banner3Elemento.mostrar {
        left: calc(90% - 200px);
    }

    @keyframes deslizar1 {
        0% {
            left: -200px;
        }

        100% {
            left: 100px;
        }
    }

    .banner3Contenedor2 {
        position: relative;
        width: 50%;
        height: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        margin-top: 5%;
    }

    .banner3Elemento2 {
        position: absolute;
        bottom: 100px;
        right: -200px;
        /* Posición inicial, fuera del área visible */
        width: 200px;
        height: 200px;
        transition: right 2s ease;
        animation: deslizar2 2s ease forwards;

    }

    .banner3Elemento2 {
        height: 50%;
        width: auto;
    }

    .banner3Elemento2.mostrar {
        right: calc(90% - 400px);
        /* Posición final, a 200px de la derecha del banner3Contenedor */
    }

    @keyframes deslizar2 {
        0% {
            right: -200px;
        }

        100% {
            right: 100px;
        }
    }


    .banner3Elemento3 {
        position: absolute;
        width: auto;
        height: 100%;
        top: 0;
        /* Se posicionará desde la parte superior del contenedor padre */
        left: 50%;
        /* Se posicionará desde el centro del contenedor padre */
        transform: translateX(-50%);
        animation: deslizar3 2s ease forwards;
    }


    @keyframes deslizar3 {
        0% {
            top: -400px;
        }

        100% {
            top: 0;
        }
    }


    .banner3Elemento4 {
        position: absolute;
        width: 30%;
        height: 100%;
        top: 0;
        /* Se posicionará desde la parte superior del contenedor padre */
        left: 50%;
        /* Se posicionará desde el centro del contenedor padre */
        transform: translateX(-50%);

        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;

    }

    #RCB3 {
        margin-top: 20%;
        color: white;
        font-weight: 400;
        font-size: 30px;
        text-align: center;
        margin-top: 30px;
        line-height: 30px;
    }

    .Img_Org {
        width: 35%;
        max-width: 300px;
        height: auto;
        margin-top: 32px;
    }

    #VM_B1 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        margin-top: 10px;
        font-family: 'Montserrat-Medium';
    }

    #VM_B2 {
        box-shadow: rgba(0, 0, 0, 0.25) 1.95px 2.95px 2.6px;
        border-radius: 50px;
        background-color: #0595DE;
        color: white;
        margin-top: 10px;
        font-family: 'Montserrat-Medium';
    }

}

/* Monitores de PC de escritorio grandes */
@media (min-width: 1601px) and (max-width: 1920px) {

    body {
        font-size: 16px;
    }
}

/* Televisores y proyectores HD */
@media (min-width: 1921px) and (max-width: 2560px) {

    body {
        font-size: 16px;
    }
}

/* Televisores y proyectores 4K */
@media (min-width: 2561px) {

    body {
        font-size: 16px;
    }
}