.block-categorias {
    display: inline-block;
    margin-top: 10px;
}

.block-categorias section {
    display: initial;
}

.bl-cat img {
    width: 100%
}

.bl-cat {
    float: left;
    padding: 2px;
    position: relative;
    max-width: 100%;
}

.t-cat {
    position: absolute;
    padding: 8px 8px;
    width: 40%;
}

.t-cat.prin h2 {
    font-size: 56px;
    font-weight: 900;
    line-height: 54px;
}

.t-cat.prin p {
    color: #fff;
    margin-top: 19px;
    font-size: 20px;
    line-height: 24px;
}

.t-cat.prin {
    color: #ffffff;
    left: 10px;
    top: 10px;
    text-shadow: 2px 2px 1px #5f5f5f;
}

.t-cat.sec h2 {
    font-size: 20px;
    font-weight: 900;
    line-height: 20px;
}

.t-cat.sec p {
    color: #fff;
    margin-top: 10px;
    font-size: 14px;
    line-height: 18px;
}

.t-cat.sec {
    color: #ffffff;
    top: 7px;
    left: 5px;
}

@media(max-width:410px) {
    body {
        min-width:320px;
    }
    .bl-cat {
        width: 100%;
        min-width: 305px;
        padding-left: 0;
    }

    .bl-cat img {
        width: 100%;
        height: 135px;
    }

    .t-cat.prin h2 {
        font-size: 17px;
        font-weight: 700;
        line-height: 20px;
        
    }

    .t-cat.prin p {
        margin-top: -5px;
        font-size: 12px;
        line-height: 14px;
    }

    .t-cat.prin {
        text-shadow: none;
        top: 2px;
        left: 0px;
    }

    .t-cat.sec h2 {
        font-size: 14px;
        font-weight: 700;
        line-height: 16px;
    }

    .t-cat.sec p {
        margin-top: 8px;
        font-size: 10px;
        line-height: 14px;
    }

    .t-cat.sec {
        top: 2px;
        left: 0px;
    }
    .sptop {
        margin-top: 20px;
    }
 }

@media (min-width: 411px) and (max-width:480px) {
    .bl-cat {
        width: 100%;
        min-width: 368px;
    }

    .t-cat.prin h2 {
        font-size: 17px;
        font-weight: 700;
        line-height: 20px;
        
    }

    .t-cat.prin p {
        margin-top: 10px;
        font-size: 13px;
        line-height: 22px;
    }

    .t-cat.prin {
        text-shadow: none;
        top: 2px;
        left: 2px;
    }

    .t-cat.sec h2 {
        font-size: 17px;
        font-weight: 700;
        line-height: 20px;
    }

    .t-cat.sec p {
        margin-top: 10px;
        font-size: 13px;
        line-height: 25px;
    }

    .t-cat.sec {
        top: 2px;
        left: 2px;
    }
}

@media (min-width: 480px) and (max-width: 575px) {
    .bl-cat {
        width: 100%;     
    }

    .t-cat.prin h2 {
        font-size: 19px;
        font-weight: 800;
        line-height: 23px;
        width:96%;
    }
    
    .t-cat.prin p {
        color: #fff;
        font-size: 12px;
        line-height: 29px;
        margin: 0 auto;
        padding-right: 11px;
    }
    
    .t-cat.prin {
        color: #ffffff;
        left: 10px;
        top: 10px;
        text-shadow: 2px 2px 1px #5f5f5f;
    }
    .t-cat.sec h2 {
        font-size: 19px;
        font-weight: 800;
        line-height: 30px;
    }

    .t-cat.sec p {
        margin-top: 0;
        font-size: 14px;
        line-height: 24px;
    }

    .t-cat.sec {
        top: 2px;
        left: 2px;
    }

    .t-cat.sec {
        text-shadow: 2px 2px 1px #5f5f5f;
    }

}

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

    .bl-cat.prin {
        width: 100%;
    }
    .bl-cat{
        width:50%;
    }
    .bl-cat.sec{
        width:50%;
    }

    .t-cat.prin h2 {
        font-size: 40px;
        font-weight: 800;
        line-height: 40px;
        
    }
    
    .t-cat.prin p {
        color: #fff;
        margin-top: 19px;
        font-size: 17px;
        line-height: 29px;
    }
    
    .t-cat.prin {
        color: #ffffff;
        left: 10px;
        top: 10px;
        text-shadow: 2px 2px 1px #5f5f5f;
    }

    .t-cat.sec h2 {
        font-size: 16px;
        padding: 0 ;
    }

    .t-cat.sec p {
        font-size: 12px;
        color:#fff;
        margin-top: 0px;
        line-height: 17px;
    }

    .t-cat.sec {
        color: #ffffff;
        left: 10px;
        top: 10px;
        text-shadow: 2px 2px 1px #5f5f5f;
    }
}

    @media (min-width: 992px) and (max-width: 1199px) {
        .bl-cat.prin {
            width: 100%;
            height: 260px;
        }
 
        .t-cat.prin h2 {
            font-size: 40px;
            font-weight: 800;
            line-height: 40px;
            
        }
        
        .t-cat.prin p {
            color: #fff;
            font-size: 17px;
            line-height: 29px;
        }
        
        .t-cat.prin {
            color: #ffffff;
            left: 10px;
            top: 10px;
            text-shadow: 2px 2px 1px #5f5f5f;
        }
    
        .t-cat.sec h2 {
            font-size: 21px;
            line-height: 24px;
        }
    
        .t-cat.sec p {
            color: #fff;
            font-size: 15px;
            line-height: 23px;
        }
    
        .t-cat.sec {
            color: #ffffff;
            left: 10px;
            top: 10px;
            text-shadow: 2px 2px 1px #5f5f5f;
        }

        .block-categorias section {
            display: initial;
            width:50%;
        }

        #header .material-icons {

            font-size: 24px;
        
        }
    }
        

    @media (min-width: 576px) and (max-width: 767px) {

        .container{
            width:100% !important;
        }
        .bl-cat.prin {
            width: 400px;
            height: auto;
        }

        section.bl-cat.sec{
            width:400px;
            height:auto;
        }
    
        .t-cat.prin h2 {
            font-size: 17px;
            font-weight: 800;
            line-height: 22px;
            width: 94%;
        }
        
        .t-cat.prin p {
            color: #fff;
            font-size: 14px;
            line-height: 19px;
            margin-top: 0px;
        }
        
        .t-cat.prin {
            color: #ffffff;
            left: 2px;
            top: 10px;
            text-shadow: 2px 2px 1px #5f5f5f;
        }
    
        .t-cat.sec h2 {
            font-size: 18px;
            padding: 0;
            line-height: 22px;
        }
    
        .t-cat.sec p {
            font-size: 13px;
            line-height: 21px;
            margin-top: 0px;
        }
    
        .t-cat.sec {
            color: #ffffff;
            left: 2px;
            top: 10px;
            text-shadow: 2px 2px 1px #5f5f5f; 
        }

        .block-categorias {

            display: flex;
            margin-top: 10px;
            flex-direction: column;
            justify-content: center;
            align-content: center;
            align-items: center;
        
        }

        
    }
