

/*Background header*/
.background_header{
    position: relative;
    top: -100px;
    background-color:#f1f4f7;
    opacity: 0.7;
    height: 100px;
}

/*list od products*/
.main_products_box{
    position: relative;
    top: -100px;
    margin: auto;
    padding: 30px;
    background-color:#f1f4f7;
    opacity: 0.7;
}

.list_of_products{
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(100px, auto));
    justify-items: center;
    margin: auto;
    padding: 30px;
    box-shadow: none;
    text-align: justify;
}

.list_of_products_img{
    margin: auto;
    padding: 30px;
}

.list_of_products_text{
    margin: auto;
    display: grid;
    gap: 1em;
    grid-template-rows: auto;
}

.list_of_products_ref{
    text-decoration: none;
    color: black;
    
}

#title_main {
    font-size: 55px;
  
}


.line_lines{
    display: block;
    width: 100%;
    height: 5px;
    content: "";
    background: #f4c012;
    margin-bottom: 5px;
}

#line_lines_2{
    background-color: black;
}

#list_1 {
  display: none;
}

#line_1{
    display: none;
}

#line_2{
    display: none;
}

#line_3{
    display: none;
}

#list_2 {
    display: none;
}

#list_3 {
    display: none;
}

.list_of_products_ref:hover #list_1{
    display:inline-block;
}

.list_of_products_ref:hover #line_1{
    display:inline-block;
}

.list_of_products_ref:hover #list_2{
    display:inline-block;
}

.list_of_products_ref:hover #line_2{
    display:inline-block;
}

.list_of_products_ref:hover #list_3{
    display:inline-block;
}

.list_of_products_ref:hover #line_3{
    display:inline-block;
}

/*list electronica y control*/

.list_information{
  position: relative;
  top: -50px;
}

.title_list {
    text-align: center;
    padding: 15px;
    padding-bottom: 30px;
    padding-top: 50px;
}

.text_list{
    padding-left:  30px;
    padding-right:  30px;
    text-align:justify;
    padding-bottom: 20px;
}

#text_list_1{
    padding-top: 30px;
    padding: 60px;
}

.box_text{
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(500px, auto));
    justify-items: center;
    margin: auto;
    padding: 30px;
    box-shadow: none;
    text-align: justify;
}

#text_list_2{
    padding-top: 70px;
}

/*Hydraulic*/
#text_list_1_hydraulic{
    text-align: center;
}

/*LMT*/
#text_list_3{
    padding-top: 100px;
    padding: 60px;

}

#text_list_4{
    display: none;

}

/*Carousel images*/
.carrusel_img{
    align-items: center;
    display: flex;
    height: 200px;
    justify-content: center;
}

#line_1_a {
    display: none;
}

#line_lines_a {
    display: none;
    background-color: black;
}

@keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-260px * 8))}
}


.carrusel_img_section{
    /*box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);*/
    height: 250px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carrusel_img_section::before, .carrusel_img_section::after {
    background: linear-gradient(to right, #f1f4f7 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 250px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.carrusel_img_section::after {
    right: 0;
    top: 0;
    -webkit-transform: rotateZ(180deg);
            transform: rotateZ(180deg);
}

.carrusel_img_section::before {
    left: 0;
    top: 0;
}

.carrusel_img_section .img_list-track{
    -webkit-animation: scroll 40s linear infinite;
            animation: scroll 40s linear infinite;
    display: flex;
    width: calc(260px * 16);
}

.carrusel_img_section .slider_img_list {
    height: 250px;
    width: 200px;
}

.img_icon_list{
    height: 200px;
    width: 200px;
}

.slider_img_list{
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 25px;
}

/*footer*/
.main_footer_box{
    position: relative;
    top: 50px;
    background-color: #f4c012;
}


/*Button*/
.button_more_info{
    text-align: center;
}

.btn_more_info{
    background: #f4c012;
    padding: 12px;
    border-style:solid;
    border-color: transparent;
    border-width: 3px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 100; 
}




@media screen and (max-width: 1000px){
    #text_list_2{
        padding-top: 50px;
    }
}

@media screen and (max-width: 850px){

    /*Background header*/
    .background_header{
        position: relative;
        top: -107px;
        background-color:#f1f4f7;
        opacity: 0.7;
        height: 100px;
    }
    /*list od products*/
    .main_products_box{
        position: relative;
        top: -107px;
        margin: auto;
        padding: 10px;
        background-color:#f1f4f7;
        opacity: 0.7;
    }

    .list_of_products{
        display: grid;
        gap: 1em;
        grid-template-columns: repeat(auto-fit, minmax(250px, auto));
        justify-items: center;
        margin: auto;
        padding: 15px;
        box-shadow: none;
        text-align: justify;
    }

    .list_information{
        position: relative;
        top: -107px;
    }

    .title_list {
        text-align: center;
        padding: 15px;
    }

    .text_list{
        padding-left:  15px;
        padding-right:  15px;
        text-align:justify;
        padding-bottom: 20px;
    }

    #text_list_1{
        padding-top: 0px;
        padding: 20px;
    }

    .box_text{
        display: none;
    }

  
    #title_main {
        font-size: 35px;
        text-align: center;
    }
    
    /*Hydraulic*/
    #list_information_2{
        top: -50px;
    }

    #text_list_1_hydraulic{
        text-align: justify;
    }

    /*LMT*/
    #list_information_3{
        top: 0px;
    }

    #text_list_4{
        display: inline-block;
        padding-top: 0px;
        padding: 20px;
     
    }

    #text_list_3{
        display: none;
    }

   
}

@media screen and (max-width: 600px){ 
    #line_1_a {
        display: inline;
    }
    
    #line_lines_a {
        display: inline;
        background-color: black;
    }

    #line_main{
        display: none;
    }

    #line_lines_2{
        display: none;
    }

    .list_of_products_ref:hover #line_1{
        display: none;
    }

    .list_of_products_ref:hover #line_2{
        display: none;
    }

    .list_of_products_ref:hover #line_3{
        display: none;
    }

}

@media screen and (max-width: 320px){

    .list_of_products_img{
        margin: auto;
        padding: 10px;
    }
}