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

.product{
    width: 100%;
    height: 400px;
    margin-bottom: 50px;
}

.product-data, .product-category{
    float: left;
    display: flex;
    align-items: center;
    height: 100%;
}

.product-data{
    width: 60%;
    color: white;
}

.product-data > div{
    width: 90%;
    margin: 0 auto;
}

.product-icon, .product-definition{
    float: left;
}

.product-icon{
    width: 25%;
}

.product-icon > div{
    width: 90%;
    margin: 0 auto;
}

.product-icon img{
    width: 80%;
    height: auto;
}

.product-definition{
    width: 75%;
}

.product-definition h3{
    font-size: 30px;
    font-weight: initial;
    margin-top: 0;
}

.product-definition h3 b{
    font-size: 35px;
    display: block;
    margin-top: 5px;
}

.product-definition p{
    font-size: 17px;
    width: 80%;
    line-height: 25px;
}

.product-definition button{
    background-color: transparent;
    color: white;
    text-transform: uppercase;
    font-family: 'MontserratLight';
    border: 1px solid white;
    border-radius: 5px;
    padding: 12px 50px;
    margin-right: 10px;
    transition: all .3s;
    cursor: pointer;
    margin-top: 10px;
}

.product-definition button:hover{
    background-color: #C01D1D;
    border: 1px solid #C01D1D;
}

.product-category{
    width: 40%;
}

.product-category > div{
    width: 90%;
    margin: 0 auto;
}

.product-category h4{
    text-transform: uppercase;
    font-family: 'MontserratBold';
    font-size: 18px;
    margin-top: 0;

}

.product-category ol > li{
    cursor: pointer;
}

.product-category ol > li:hover{
    color: #C01D1D;
}

#prod-industriales{
    background-image: url(../img/products/background/industriales.png);
    background-size: cover;
    background-position: center;
}

#prod-hidraulicas{
    background-image: url(../img/products/background/hidraulicas.png);
    background-size: cover;
    background-position: center;
}

#prod-neumaticas{
    background-image: url(../img/products/background/neumaticas.png);
    background-size: cover;
    background-position: center;
}

#prod-automotrices{
    background-image: url(../img/products/background/automotrices.png);
    background-size: cover;
    background-position: center;
}

#prod-bindustriales{
    background-image: url(../img/products/background/bindustriales.png);
    background-size: cover;
    background-position: center;
}

#prod-bautomotrices{
    background-image: url(../img/products/background/bautomotrices.png);
    background-size: cover;
    background-position: center;
}

#prod-transportadora{
    background-image: url(../img/products/background/transportadora.png);
    background-size: cover;
    background-position: center;
}

#prod-automatizados{
    background-image: url(../img/products/background/automatizados.png);
    background-size: cover;
    background-position: center;
}

#prod-hule{
    background-image: url(../img/products/background/hule.png);
    background-size: cover;
    background-position: center;
}

#prod-automatizados .product-icon img, #prod-hule .product-icon img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(0%) hue-rotate(186deg) brightness(103%) contrast(104%);
}



#catalog-background{
    position: fixed;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: none;
    overflow: auto;
}

#catalog-background > div:not(#close-catalog){
    width: 100%;
    height: auto;
    /*top: 5%;*/
    margin: 0 auto;
    position: relative;
}

#close-catalog{
    position: absolute;
    color: white;
    right: 50px;
    top: 50px;
    font-size: 20px;
    transform: scaleX(1.2);
    cursor: pointer;
    z-index: 1;
}

#close-catalog:hover{
    color: #C01D1D;
}

#catalog-info{
    margin-top: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#catalog-category{
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    height: 250px;
    background-size: cover;
    background-position: center;
}

#catalog-category > div{
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

#catalog-category img{
    width: 100px;
    height: auto;
    margin-right: 20px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(0%) hue-rotate(186deg) brightness(103%) contrast(104%);
}

#catalog-category h2{
    font-weight: normal;
    font-size: 25px;
    margin-block-end: 0;
}

#catalog-category h3{
    font-size: 20px;
    margin-block-start: 5px;
    transition: all .3s;
}

#catalog-menu{
    position: absolute;
    top: 0px;
    width: 90%;
    /*left: 5%;*/
    text-align: center;
    border-bottom: 0.5px solid white;
    padding: 10px 0;
}

.catalog-menu{
    text-transform: uppercase;
    padding: 3px 15px;
    display: inline-block;
    font-size: 11px;
    cursor: pointer;
}

.catalog-menu:hover{
    color: #C01D1D;
}

.catalog-menu-selected{
    transform: scale(1.05);
    font-weight: bold;
    color: #e51313;
}

#catalog-products{
    width: 100%;
    height: calc(100%);
    overflow: auto;
    background-color: #f5f5f5;
    transition: all .3s;
}

#catalog-products > div{
    width: 90%;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
}

.catalog-product{
    display: inline-block;
    border: 0.5px solid black;
    width: 270px;
    min-height: 350px;
    background-color: white;
    vertical-align: top;
    margin: 10px;
}

.catalog-product-image{
    width: 100%;
    height: 60%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.catalog-product-image > div{
    width: 100%;
    margin: 0 auto;
}

.catalog-product-image img{
    max-width: 90%;
    height: auto;
    max-height: 200px;
    overflow: hidden;
    transition: all .3s;
}

.catalog-product-data{
    text-align: left;
    padding: 20px;
    font-size: 13px;
}

.catalog-product-data p{
    margin: 0;
}

.catalog-product:hover{
    border-color: #C01D1D;
}

.catalog-product:hover .catalog-product-data > h3, .catalog-product:hover .catalog-product-data strong{
    color: #C01D1D;
}

.catalog-product:hover .catalog-product-image img{
    transform: scale(1.1);
}

.see-more{
    margin-top: 10px !important;
    color: #C01D1D;
    cursor: pointer;
}

#product-see-more{
    background: white;
    width: 50% !important;
    height: auto !important;
    max-height: 80%;
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid black;
    display: none;
    overflow-y: auto;
    padding: 20px;
    text-align: justify;
}

#product-see-more-content{
    font-size: 14px;
}

#product-see-more-content img{
    max-width: 90%;
    margin: 0 auto;
    display: block;
}

#close-see-more{
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

#close-see-more:hover{
    color: #C01D1D;
}

@media only screen and (max-width: 599px) {
    .product{
        height: auto;
    }

    .product-data, .product-category {
        float: initial;
    }

    .product-data{
        width: 100%;
        color: white;
        height: 400px;
    }

    .product-definition h3, .product-definition h3 b{
        font-size: 25px;
    }

    .product-icon img {
        width: 89%;
        height: auto;
        margin-top: 10px;
    }

    .product-definition p {
        font-size: 15px;
        width: 100%;
        line-height: 20px;
    }

    .product-category {
        width: 100%;
        padding-top: 20px;
    }

    .alpha-list{
        font-size: 15px;
    }

    #catalog-background > div:not(#close-catalog) {
        width: 100%;
        height: 100%;
    }

    #catalog-category h2{
        font-size: 18px;
    }

    #catalog-category h3{
        font-size: 16px;
    }

    #catalog-category img {
        width: 60px;
        height: auto;
        margin-right: 0px;
    }

    .catalog-menu{
        padding: 0 5px;
        font-size: 10px;
    }

    #catalog-category{
        height: 200px;
    }

    #close-catalog{
        right: 10px;
        top: 66px;
    }

    .catalog-product{
        height: auto;
        padding-bottom: 15px;
    }

    #product-see-more{
        width: 85vw !important;
        height: 100vh !important;
    }
}
