@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap'); 

html{
  scroll-behavior:smooth;
}
body{
  margin: 0;
  padding: 0;
  width: auto;
  
}

header{
  height: 50px;
  background: #D9D9D9;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  }
  
  header img{
    width: 300px;
    padding: 5px 0px 0px 0px;
    
    
  }
  
  nav{
    width: auto;
  }
  
  nav ul{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    padding-right: 70px;
    border-bottom: solid #DE1411;
    padding-bottom: 20px;
  }
  
  nav ul li{
    margin: 0 10px;
  }
  
  nav ul li a{
    text-decoration: none;
    color: rgb(12, 7, 7);
    padding: 10px 20px;
    border-radius: 5px;
    font-family: "Fira Sans", sans-serif;
    font-style: normal;
  }
  
  nav ul li a:hover{
    background-color: #DE1411;
    color:aliceblue;
    border-radius: 50px;
    transition: 0.3s;
  }
  
  nav ul li a:active{
    opacity: 0.4;
    transition: none;
  }
  
  #mini-menu{
    display: none;
  }
  
  header label{
    display: none;
    width: 30px;
    height: 30px;
    padding: 5px;
    float: right;
  }
  
  header label:hover{
    cursor:pointer;
    background: rgba(0, 0, 0, 0.3)
  }

  #banner_image{
    width: 100%;
    height: 525px;
    background: url('./imagenes/retouch_2024061921261391.jpg') no-repeat;
    position: relative;
    background-size: cover;
}

#banner_description{
  bottom: 0;
  width: 100%;
  height: 525px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 40px;
  display: inline-block;
  justify-content:left; 
  align-items: center; 
  font-family: "Teachers", sans-serif;
}

.description{
  padding-left: 100px;
  padding-top: 120px;
  font-family: "REM", sans-serif;
  font-weight: 500;
}

.subtit{
  font-size: 30px;
  padding-left: 100px;
  font-weight: 200;
  font-family: "Teachers", sans-serif;
}

.about_us_title h1{
  padding: 0;
  margin-top: 0;
  font-size: 50px;
  color: #222121;
  background-color: rgb(124, 124, 124);
  padding-left: 60px;
  padding-top: 12px;
  margin-bottom: 0;
  font-family: "Teachers", sans-serif;
}




.container{
  position: relative;
  width: 100%;
  
  background-color: rgb(19, 18, 18);
}

.slider input{
  visibility: hidden;
  display: none;
}

.buttons{
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 50px;
  gap: 25px;
}

.buttons label{
  width: 20px;
  height: 20px;
  background-color: rgb(34, 34, 34);
  border-radius: 50px;
  opacity: 0.5;
  cursor: pointer;
  z-index: 1;
  transition: 200ms ease-in-out;
}

.buttons label:hover{
    scale: 1.2;
    opacity: 1;
}

.slider input:nth-child(1):checked ~ .buttons label:nth-child(1){
  opacity: 1;
  scroll-margin: 1.2;
  width: 40px;
  }

  .slider input:nth-child(2):checked ~ .buttons label:nth-child(2){
  opacity: 1;
  scroll-margin: 1.2;
  width: 40px;
  }

  .slider input:nth-child(3):checked ~ .buttons label:nth-child(3){
  opacity: 1;
  scroll-margin: 1.2;
  width: 40px;
  }


.content{
  position: relative;
  width: 300vw;
  display: flex;
  transition: 400ms ease-in-out;
  overflow: hidden;
}

.firstslide,.secondslide,.thirdslide,.fourthslide,.fifthslide,.sixteethslide{
  position: relative;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  background-color: #cecece;
}

.firstslide{
  margin-top: -20px;
  display: flex;
  justify-content: center;
  height: 100vh;
}

.firstslide img{
  width: 400px;
  justify-content: center;
  margin: 0;
}

.firstslide p{
  color: rgb(0, 0, 0);
  font-size: 23px;
  font-family: "Reddit Sans", sans-serif;
  font-optical-sizing: auto;;
  font-style: normal;
  text-align:center;
}

.firstslide h1{
  color: rgb(0, 0, 0);
  text-align: center;
  padding-right: 20px;
  display: inline-block;
  font-size: 30px;
  font-family: "Teachers", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.parrafo{
display: flex;
flex-direction: column;
text-align: center;
}

.secondslide{
  margin-top: -20px;
  display: flex;
  justify-content: center;
  height: 100vh;
}
.secondslide h1{
  
  color: rgb(0, 0, 0);
  text-align: center;
  padding-right: 20px;
  display: inline-block;
  font-size: 30px;
  font-family: "Teachers", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.secondslide img{
  width: 400px;
  justify-content: center;
  margin: 0;
}

.secondslide p{
  color: rgb(0, 0, 0);
  font-size: 23px;
  font-family: "Reddit Sans", sans-serif;
  font-optical-sizing: auto;;
  font-style: normal;
  text-align:center;
}

.thirdslide{
  margin-top: -20px;
  display: flex;
  justify-content: center;
  height: 100vh;
}

.thirdslide h1{
  color: rgb(0, 0, 0);
  text-align: center;
  padding-right: 20px;
  display: inline-block;
  font-size: 30px;
  font-family: "Teachers", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.thirdslide p{
  color: rgb(0, 0, 0);
  font-size: 23px;
  font-family: "Reddit Sans", sans-serif;
  font-optical-sizing: auto;;
  font-style: normal;
  text-align:center;
}

.thirdslide img{
  width: 300px;
  justify-content: center;
  margin: 0;
}

.fourthslide{
  margin-top: -20px;
  display: flex;
  justify-content: center;
  height: 100vh;
}

.fourthslide h1{
  color: rgb(0, 0, 0);
  text-align: center;
  padding-right: 20px;
  display: inline-block;
  font-size: 30px;
  font-family: "Teachers", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.fourthslide p{
  color: rgb(0, 0, 0);
  font-size: 23px;
  font-family: "Reddit Sans", sans-serif;
  font-optical-sizing: auto;;
  font-style: normal;
  text-align:center;
}

.fourthslide img{
  width: 300px;
  justify-content: center;
  margin: 0;
}

.fifthslide{
  margin-top: -20px;
  display: flex;
  justify-content: center;
  height: 100vh;
}

.fifthslide h1{
  color: rgb(0, 0, 0);
  text-align: center;
  padding-right: 20px;
  display: inline-block;
  font-size: 30px;
  font-family: "Teachers", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.fifthslide p{
  color: rgb(0, 0, 0);
  font-size: 23px;
  font-family: "Reddit Sans", sans-serif;
  font-optical-sizing: auto;;
  font-style: normal;
  text-align:center;
}

.fifthslide img{
  width: 300px;
  justify-content: center;
  margin: 0;
}

.sixteethslide{
  margin-top: -20px;
  display: flex;
  justify-content: center;
  height: 100vh;
}

.sixteethslide h1{
  color: rgb(0, 0, 0);
  text-align: center;
  padding-right: 20px;
  display: inline-block;
  font-size: 30px;
  font-family: "Teachers", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.sixteethslide p{
  color: rgb(0, 0, 0);
  font-size: 23px;
  font-family: "Reddit Sans", sans-serif;
  font-optical-sizing: auto;;
  font-style: normal;
  text-align:center;
}

.sixteethslide img{
  width: 300px;
  justify-content: center;
  margin: 0;
}

.slider input:nth-child(1):checked ~ .content{
  left: 0;
}

.slider input:nth-child(2):checked ~ .content{
  left: -100vw;
}

.slider input:nth-child(3):checked ~ .content{
  left: -200vw;
}

.slider{
  overflow: hidden;
}

.slider2 input{
  visibility: hidden;
  display: none;
}

.slider2 input:nth-child(1):checked ~ .buttons label:nth-child(1){
  opacity: 1;
  scroll-margin: 1.2;
  width: 40px;
  }

  .slider2 input:nth-child(2):checked ~ .buttons label:nth-child(2){
  opacity: 1;
  scroll-margin: 1.2;
  width: 40px;
  }

  .slider2 input:nth-child(3):checked ~ .buttons label:nth-child(3){
  opacity: 1;
  scroll-margin: 1.2;
  width: 40px;
  }


    .slider2{
      overflow: hidden;
    }

    .content2{
      position: relative;
      width: 300vw;
      display: flex;
      transition: 400ms ease-in-out;
      overflow: hidden;
    }

    .slider2 input:nth-child(1):checked ~ .content2{
      left: 0;
    }
    
    .slider2 input:nth-child(2):checked ~ .content2{
      left: -100vw;
    }
    
    .slider2 input:nth-child(3):checked ~ .content2{
      left: -200vw;
    }

    .industria-minera h1{
      padding: 0;
      margin-top: 0;
      font-size: 50px;
      color: #222121;
      background-color: rgb(124, 124, 124);
      padding-left: 60px;
      padding-top: 12px;
      margin-bottom: 0;
      font-family: "Teachers", sans-serif;
    }

    .slider3 input:nth-child(1):checked ~ .buttons label:nth-child(1){
      opacity: 1;
      scroll-margin: 1.2;
      width: 40px;
      }
    
      .slider3 input:nth-child(2):checked ~ .buttons label:nth-child(2){
      opacity: 1;
      scroll-margin: 1.2;
      width: 40px;
      }
    
      .slider3 input:nth-child(3):checked ~ .buttons label:nth-child(3){
      opacity: 1;
      scroll-margin: 1.2;
      width: 40px;
      }
    
    
        .slider3{
          overflow: hidden;
        }

        .slider3 input{
          visibility: hidden;
          display: none;
        }
        .content3{
          position: relative;
          width: 300vw;
          display: flex;
          transition: 400ms ease-in-out;
          overflow: hidden;
        }
    
        .slider3 input:nth-child(1):checked ~ .content3{
          left: 0;
        }
        
        .slider3 input:nth-child(2):checked ~ .content3{
          left: -100vw;
        }
        
        .slider3 input:nth-child(3):checked ~ .content3{
          left: -200vw;
        }

    .industria-siderurgica h1{
      padding: 0;
      margin: 0;
      font-size: 50px;
      color: #222121;
      background-color: rgb(124, 124, 124);
      padding-left: 60px;
      font-family: "Teachers", sans-serif;
    }

    .slider4 input{
      visibility: hidden;
      display: none;
    }
    
    .slider4 input:nth-child(1):checked ~ .buttons label:nth-child(1){
      opacity: 1;
      scroll-margin: 1.2;
      width: 40px;
      }
    
      .slider4 input:nth-child(2):checked ~ .buttons label:nth-child(2){
      opacity: 1;
      scroll-margin: 1.2;
      width: 40px;
      }
    
      .slider4 input:nth-child(3):checked ~ .buttons label:nth-child(3){
      opacity: 1;
      scroll-margin: 1.2;
      width: 40px;
      }
    
    
        .slider4{
          overflow: hidden;
        }
    
        .content4{
          position: relative;
          width: 300vw;
          display: flex;
          transition: 400ms ease-in-out;
          overflow: hidden;
        }
    
        .slider4 input:nth-child(1):checked ~ .content4{
          left: 0;
        }
        
        .slider4 input:nth-child(2):checked ~ .content4{
          left: -100vw;
        }
        
        .slider4 input:nth-child(3):checked ~ .content4{
          left: -200vw;
        }
  
        .slider5 input{
          visibility: hidden;
          display: none;
        }
        
        .slider5 input:nth-child(1):checked ~ .buttons label:nth-child(1){
          opacity: 1;
          scroll-margin: 1.2;
          width: 40px;
          }
        
          .slider5 input:nth-child(2):checked ~ .buttons label:nth-child(2){
          opacity: 1;
          scroll-margin: 1.2;
          width: 40px;
          }
        
          .slider5 input:nth-child(3):checked ~ .buttons label:nth-child(3){
          opacity: 1;
          scroll-margin: 1.2;
          width: 40px;
          }
        
        
            .slider5{
              overflow: hidden;
            }
        
            .content5{
              position: relative;
              width: 300vw;
              display: flex;
              transition: 400ms ease-in-out;
              overflow: hidden;
            }
        
            .slider5 input:nth-child(1):checked ~ .content5{
              left: 0;
            }
            
            .slider5 input:nth-child(2):checked ~ .content5{
              left: -100vw;
            }
            
            .slider5 input:nth-child(3):checked ~ .content5{
              left: -200vw;
            }

/* Footer */

.contenedor2{
  display: flex;
  background-color: black;
  padding-top: 20px;
  
}

footer{
  background-color:#D9D9D9;
}

.footer{
  display: flex;
  background-color:#D9D9D9;
}

.footer img{
height: 113px;
margin-top: 100px;
margin-left: 80px;

}
.enlaces ul{
 display: flex;
 flex-direction: column;
 gap: 40px;
 list-style: none;
 margin: 50px;
 margin-left: 200px;
}

.enlaces ul li a{
  text-decoration: none;
  font-size: 20px;
  font-family: "Poetsen One", sans-serif;
  color: #3f3e3e;
}

.enlaces ul li a:hover{
  color: #696364;
  padding-left: 10px;
  transition: 0.3s;
  
}

footer p{
  color: #afabab;
  padding-left: 900px ;
  margin: 0;
  font-size: 20px;
  background-color: #D9D9D9;
}

@media screen and (max-width: 650px) {
  
  header label{
    display: block;
    padding-right: 20px;
    padding-bottom: 50px;    
  }

  header label img{
    width: 50px;
  }


  .nav{
    position: absolute;
    background:#971412;
    width: 60%;
    margin-left: -100%;
    transition: all 0.5s;
    
}

 
  .nav-list{
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
    align-items: start;
    padding-top: 20px;
   
      
  }

  .nav-list a{
    color: white;
  }

  .nav ul li a:hover{
    transition: none;
    border-bottom: solid white;
    border: 0;
    border-radius: 0;
    background-color: #971412;
    color: rgb(255, 255, 255);
  }

  header img{
    width: 175px;
    display: flex;
    display: inline-block;
    
  }

  #mini-menu:checked ~ .nav{
    margin: -40px;
}

#banner_description{
  padding: 0;
  margin: 0;
  padding-top: 90px;
}

.description{
  font-size: 30px;
  padding: 0;
  margin: 0;
  padding-top:80px;
  text-align: center;
}

.subtit{
  padding: 0;
  margin: 0;
  padding-top: 50px;
  font-size: 20px;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  text-align: justify;
}

.about_us_title h1{
  font-size: 25px;
}



.firstslide img, .secondslide img, .thirdslide img, .fourthslide img, .fifthslide img, .sixteethslide img{
  width: 160px;
}

.content4 .firstslide{
  width:370px;

}

.content5 .fifthslide{
  width: 370px;
}

.parrafo h1{
  font-size: 20px ;
}

.parrafo p{
  font-size: 15px;

}

.industria-minera h1{
  font-size: 25px;
  
}

.industria-siderurgica h1{
  font-size: 25px;
  
}

.slider2 img{
  width: 150px;
}

.slider3 img{
  width: 150px;
}

.slider3 .sixteethslide img, .fifthslide img{
  width: 150px;
 
}

.buttons label{
  
  width: 10px;
  height: 10px;
}

.slider input:nth-child(1):checked ~ .buttons label:nth-child(1){
  width: 20px;
  }

  .slider input:nth-child(2):checked ~ .buttons label:nth-child(2){
  width: 20px;
  }

  .slider input:nth-child(3):checked ~ .buttons label:nth-child(3){
  width: 20px;
  }

  .slider2 input:nth-child(1):checked ~ .buttons label:nth-child(1){
    width: 20px;
    }
  
    .slider2 input:nth-child(2):checked ~ .buttons label:nth-child(2){
    width: 20px;
    }
  
    .slider2 input:nth-child(3):checked ~ .buttons label:nth-child(3){
    width: 20px;
    }

    .slider3 input:nth-child(1):checked ~ .buttons label:nth-child(1){
      width: 20px;
      }
    
      .slider3 input:nth-child(2):checked ~ .buttons label:nth-child(2){
      width: 20px;
      }
    
      .slider3 input:nth-child(3):checked ~ .buttons label:nth-child(3){
      width: 20px;
      }

      .slider4 input:nth-child(1):checked ~ .buttons label:nth-child(1){
        width: 20px;
        }
      
        .slider4 input:nth-child(2):checked ~ .buttons label:nth-child(2){
        width: 20px;
        }
      
        .slider4 input:nth-child(3):checked ~ .buttons label:nth-child(3){
        width: 20px;
        }

        .slider5 input:nth-child(1):checked ~ .buttons label:nth-child(1){
          width: 20px;
          }
        
          .slider5 input:nth-child(2):checked ~ .buttons label:nth-child(2){
          width: 20px;
          }
        
          .slider5 input:nth-child(3):checked ~ .buttons label:nth-child(3){
          width: 20px;
          }

  .footer img{
    width: 140px;
    height: 75px;
    margin: 0;
    padding: 0;
    padding-left: 50px;
    padding-top: 65px;
    }

  .footer ul{
    padding: 0;
    padding-left: 80px;
    margin: 0;
    gap: 2px;
    padding-top: 65px;
  }

  .footer ul li a{
    font-size: 10px;
    padding-right: 0;
    
  }

  footer p{
    font-size: 10px;
    padding-left: 80px;
    margin: 0;
    margin-top: 40px;
    padding-right: 0px;
  }


}