*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Roboto', sans-serif;
}
#tablaAceros{
    text-align: center;
    margin-left: 10%;

}
#tituloAceros{
    margin-left: 10%;
    text-align: center;
    border-radius: 10px;
    
}
#product table{
    width: 100%;
}
#product td{
    padding: 1%;
}
#product img{
    padding: 5px;
    max-width: 100%;
    border-radius: 10px;
}

table {
    width: 90%;
  } 

  td {
    text-align: center;

  }
  
  td img {
    text-align: center;
    max-width: 200px;
    max-height: 200px;
    border-radius: 5px;
  }

#covintec{
    text-align: center;
    width: 200px;
    height: 100px; 
    border-radius: 5px;
}
#crest{
    text-align: center;
    max-width: 200px;
    max-height: 200px;
    border-radius: 5px;
}
#cruzazul{
    text-align: center;
    max-width: 200px;
    max-height: 200px;
}
#rotoplast{
    text-align: center;
    max-width: 30%;
    height: 30%;
    border-radius: 5px;
}
#niasa{
    text-align: center;
    max-width: 30%;
    height: 30%;
    border-radius: 5px;
}

#icono{
    margin-left: 1%;
    margin-top: 1%;
    position:fixed;
    width: 10%;
    height: 20%;
    border-radius: 10px;
}

section p{
    font-weight: 300;
    margin-bottom: 15px;
    margin-right: 10%;
    margin-left: 5%;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 1.3vw;
}

#sec3 h1{
    text-align: center;
    margin-bottom: 3%;
}

#sec4 h1{
    text-align: center;
    margin-bottom: 3%;
}

nav.navbar{
    position: fixed;
    font-size: 1.5vw ;
    background-color: #00B0F0;
}

#galeri{
    display: flex;
    position: relative;
}
#galeria img{
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
}
#galeria .col-lg-4{
    padding: 3%
}
#galeria img:hover{
    opacity: 0.5;
}

.image-container {
    width: 100%;
    height: 400px;
    position: relative;
  }
  
#rotating-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #00B0F0;
    text-align: center;
}

footer p{
    margin: 0;
    padding: 10px;
    width: 100%;
    height: 100%;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 1.5vw;

}

.slider_img{
    opacity: 1;
    transition: 1s;
    position: absolute;
}

form {
    margin-top: 5%;
    max-width: 50%;
    margin-left: 25%;
    font-family: Arial, sans-serif;
    font-size: 1vw;
    margin-right: 5%;
    /*border: dotted  #727272 ;*/
    border-radius: 5px;
}

label {
    margin: 0px 5px;
    font-weight: bold;
  }
  

button[type="submit"] {
    background-color: #42c247;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
}
  
button[type="submit"]:hover {
    background-color: #37be3b;
}
  
input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

#miPopUp {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    width: 400px;
    height: 300px;
    padding: 20px;
    border: 1px solid black;
}

@media screen and (max-width:1950px) {
    #tituloCC{
        width: 60%;
    }
    #tituloCM{
        width: 70%;
    }
    #iCem1{
        width: auto;
    }
    #iCem2{
        width: auto;
    }
    #iCem3{
        width: auto;
    }
    #sec7 div.contenedor-texto{
        margin-top: 5%;
        height: 800px;
    }
    #sec7 h1{
        margin-bottom: 9%;
    }
    #sec7 td{
        margin-bottom: 4%;
        padding: 0%;
        font-size: 55px;
    }
    #sec7 table{
        width: 100%;
    }
    #sec7 img{
        padding: 5px;
        border-radius: 10px;
    }
    #Tin1{
        width: 100%;
    }
    #Tin2 img{
        height: 300px;
    }


    #sec6 h1{
        margin-bottom: 5%;
    }
    #sec6 td{
        font-size: 30px;
        justify-content: center;
    }

    #tituloAceros{
        font-size: 70px;
    }
    div.contenedor-texto{
        width: 100%;
    }
    section{
        height: 970px;
        display: flex;
        justify-content: space-evenly;
        padding: 0 40px;
        align-items: center;
        font-size: 1.5vw;
    }
    section > img{
        height: 60%;
    }
    #icono{
        margin-left: 0%;
        margin-top: 1%;
        position:fixed;
        width: 10%;
        height: 20%;
        border-radius: 10px;
    }
    #elm1{
        font-family: 'Trebuchet MS', sans-serif;
        max-width: 100%;
        margin-right: 1%;
        margin-left: 9%;
        transition: opacity 0.3s ease-in-out;      
    }
    #elm1:hover{
        background-color: #029ad1;
        border-radius: 10px;
    }
    iframe{
         width: 70%;
         height: 450px;
         border:1px solid;
         text-align: center;
         margin-top:3%
    }

}

@media screen and (max-width:1550px){
    #tituloAceros{
        font-size: 50px;
    }
    div.contenedor-texto{
        width: 80%;
    }
    #sec7 div.contenedor-texto{
        margin-top: 20%
    }
    #sec7 h1{
        margin-bottom: 5%;
    }
    #sec7 td{
        margin-bottom: 4%;
        padding: 0%;
        font-size: 45px;
    }
    #sec8 h1{
        margin-top: 5%;
        margin-bottom: 0%;
        font-size: 40px;
    }
    #sec8 td{
        padding: 0%;
    }
    section{
        height: 750px;
        display: flex;
        justify-content: space-evenly;
        padding: 0 40px;
        align-items: center;
    }
    section > img{
        height: 60%;
    }
    .contenedor-texto{
        width: 80%;
        text-align: left;
        padding: 3px;
    }
    iframe{
        width: 90%;
        height: 350px;
        border:1px solid;
        text-align: center;
        margin-top:3%
   }
} 

@media screen and (max-width:1000px){
    section{
        flex-direction: column;
       
    }    
    section > img{
        height: 40%;
    }
    .contenedor-texto{
        text-align: center;
    }
    #elm1{
        font-family: 'Trebuchet MS', sans-serif;
        max-width: 100%;
        margin-right: 1%;
        margin-left: 3%;
        transition: opacity 0.3s ease-in-out;      
    }
    #elm1:hover{
        background-color: #029ad1;
        border-radius: 10px;
    }
  } 

@media screen and (max-width:600px) {
    table img{
        display: flex;
        flex-direction: column;
    }
    section > img{
        height: 20%;
    }
  }

  