/* 
 ######     ###    ######## ########  ######    #######  ########  ####    ###     ######  
##    ##   ## ##      ##    ##       ##    ##  ##     ## ##     ##  ##    ## ##   ##    ## 
##        ##   ##     ##    ##       ##        ##     ## ##     ##  ##   ##   ##  ##       
##       ##     ##    ##    ######   ##   #### ##     ## ########   ##  ##     ##  ######  
##       #########    ##    ##       ##    ##  ##     ## ##   ##    ##  #########       ## 
##    ## ##     ##    ##    ##       ##    ##  ##     ## ##    ##   ##  ##     ## ##    ## 
 ######  ##     ##    ##    ########  ######    #######  ##     ## #### ##     ##  ######  */
.exploracategorias {
    font-size: 1.7em;
    color: #001489;
    padding: .5em;
    font-weight: bold;
    text-align: center;
    margin-top: 1em;
}

.categorias-slider {
    position: relative;
    width: 98%;
    border-radius: .5em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    z-index: 2;
}

.categorias-container {
    overflow: hidden;
    width: 95%;
    max-width: 1250px;
    padding: 10px 0;
}

.categorias {
    display: flex;
    transition: transform 0.4s ease;
}

.categoria {
    margin: 20px 12px;
    position: relative;
    flex: 0 0 calc(100% / 5);
    display: block;
    text-align: center;
    margin: 0;
    height: 250px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.categoria:hover {
    transform: scale(1.05);
    z-index: 2;
}

.categorias a {
    width: auto;
    max-width: 95%;
    height: auto;
}

.categoria img {
    width: auto;
    max-width: 85%;
    height: auto;
}

.categoria span {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
}

.btn-left,
.btn-right {
    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 {
    left: 15px;
}

.btn-right {
    right: 15px;
}

.indicadorescat {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 5;
    padding: 5px;
}

.puntoc {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: gray;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.685);
}

.puntoc.active {
    background-color: white;
}

/*
########  ########  ######  ########   #######  ##    ##  ######  #### ##     ##  #######  
##     ## ##       ##    ## ##     ## ##     ## ###   ## ##    ##  ##  ##     ## ##     ## 
##     ## ##       ##       ##     ## ##     ## ####  ## ##        ##  ##     ## ##     ## 
########  ######    ######  ########  ##     ## ## ## ##  ######   ##  ##     ## ##     ## 
##   ##   ##             ## ##        ##     ## ##  ####       ##  ##   ##   ##  ##     ## 
##    ##  ##       ##    ## ##        ##     ## ##   ### ##    ##  ##    ## ##   ##     ## 
##     ## ########  ######  ##         #######  ##    ##  ######  ####    ###     #######  */
@media (max-width: 768px) {
    .exploracategorias {
        font-size: 1.2em;
    }

    .categorias-slider {
        margin-top: 1em;
    }

    .categoria {
        flex: 0 0 calc(100% / 3);
        & span {
            font-size: .8em;
        }
    }

    .btn-left {
        left: 5px;
        font-size: .5em;
        width: 30px;
        height: 30px;
    }

    .btn-right {
        right: 5px;
        font-size: .5em;
        width: 30px;
        height: 30px;
    }

    .categoria img {
        width: auto;
        max-width: 90%;
        height: auto;
    }

    .categorias a {
        width: auto;
        max-width: 95%;
        height: auto;
    }
}
