.bannerprincipal {
    display: flex;
    flex-direction: column;
    margin: -20px auto auto;
    overflow: hidden;

    & .arriba {
        width: 100%;
        margin: auto;
        display: flex;
        position: relative;
    }

    & .slides {
        display: flex;
        transition: transform 0.5s ease-in-out;
        width: 100%;
    }

    & .slides img {
        width: 100%;
    }

    & .slides a {
        flex: 0 0 100%;
    }

    & .abajo {
        width: 80%;
        margin: 0 auto;
        margin-top: -130px;

        & .categorias-container {
            width: 90%;
        }
    }
}

.btn-left-banner,
.btn-right-banner {
    background-color: #001489;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-left-banner {
    left: 15px;
}

.btn-right-banner {
    right: 15px;
}

.imagen-movil {
    display: none; 
}

.imagen-pc {
    display: block; 
}

/*
########  ########  ######  ########   #######  ##    ##  ######  #### ##     ##  #######  
##     ## ##       ##    ## ##     ## ##     ## ###   ## ##    ##  ##  ##     ## ##     ## 
##     ## ##       ##       ##     ## ##     ## ####  ## ##        ##  ##     ## ##     ## 
########  ######    ######  ########  ##     ## ## ## ##  ######   ##  ##     ## ##     ## 
##   ##   ##             ## ##        ##     ## ##  ####       ##  ##   ##   ##  ##     ## 
##    ##  ##       ##    ## ##        ##     ## ##   ### ##    ##  ##    ## ##   ##     ## 
##     ## ########  ######  ##         #######  ##    ##  ######  ####    ###     #######  */
@media (max-width: 768px) {
    .bannerprincipal {
        & .imagen-movil {
            display: block; 
        }
        & .imagen-pc {
            display: none; 
        }

        & .arriba {
            width: 100%;
            margin: auto;
        }

        & .arriba img {
            width: 100%;
        }

        & .abajo {
            width: 90%;
            margin: 0 auto;
            margin-top: -100px;

            & a {
                width: auto;
                max-width: 90%;
                height: auto;
            }

            & .categorias-container {
                width: 90%;
            }

            & img {
                width: auto;
                max-width: 90%;
                height: auto;
            }
        }

    }
}