*{margin: 0; padding: 0; box-sizing: border-box;}

body{
    width: 100%;
    max-width: 1700px;
    height: auto;
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
    margin: auto;
}

/*Botón WhatsApp*/
#ws{
    width: 70px;
    height: 70px;
   /* background-color: blue;*/
    right: 4px;
    bottom: 16px;
    z-index: 100;
    position: fixed;
    cursor: pointer;
}

#ws img{
    width: 55px;
    height: auto;
}

/*NAVBAR*/
.navbar-brand{
    color: #fff !important;
    margin-left: 0;
    font-size: 1.2rem;    
}

.navbar {
    background-color: #2c6133 !important;
    width: 100%;
    position: fixed;
    box-shadow: 0px 1px 7px #3a3a3a;
}

.navbar img{
    display: none;
}

#TextoLogo{
    width: auto;
    height: auto;
    display: none;
}

.nav-link{
    width: 100%;
    color: #fff !important;
    font-weight: 500;
    margin-bottom:0.6rem;
    text-align: left !important;
    letter-spacing: 0.03rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding-bottom: 1rem !important;
    font-size: 1.1rem;
}

.nav-item{
    height: 55px;
    line-height: 25px;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: #eee;
  border: 2px solid transparent;
  border-radius: 0.25rem;
}

.navbar-toggler:hover, .navbar-toggler:focus {
  text-decoration: none;
  outline: none;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
}
/*FIN NAVBAR*/

#relleno{
    width: 100%;
    height: 58px;
    background-color: transparent;
}

/*BANNER PRINCIPAL*/
header{
    width: 100%;
    height: 23.13rem;
    background-image: url(../imagenes/banner_movil.jpg);
    background-position: center center;
    background-size: cover;
    position: relative;
}


#placa{
    width: 100%;
    height: 5.9rem;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 15%;
}


#placa h1{
    color: #fff;
    text-align: center;
    margin-top: 1rem;
    font-size: 33px;
    text-shadow: 1px 1px 5px #000;
}

#placa h2{
    color: #fff;
    text-align: center;
    margin-top: 1.3rem;
    text-shadow: 1px 1px 5px #000;
}

#placa p{
    color: #fff;
    text-align: center;
    margin-top: -0.5rem;
    font-size: 1.3rem;
    text-shadow: 1px 1px 5px #000;
}


/*PRINCIPAL*/

main{
    width: 100%;
    height: auto;
}

main h2{
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

#maquinarias{
    width: 100%;
    height: auto;
    padding: 10px;
}

.placa{
    width: 100%;
    height: auto;
    background-color: #dfdfdf;
    margin-bottom: 20px;
    border-radius:15px;
    padding: 5px;
}

.placa h2{
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 5px;
}

.placa p{
    width:90%;
    margin: auto;
    text-align: center;
    margin-bottom: 10px;
    color: rgba(0,0,0,0.7);
    font-size: 18px;
}

.placa img{
    width: 90%;
    display: block;
    margin: auto;
    margin-bottom: 15px;
}

.btn{
    width: 90%;
    height: 50px;
    background-color: #04B486;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    display: block;
    border: none;
    outline: none;
    font-weight: bold;
    color: #fff;
}

.btn:hover{background-color: #088A68; color: white;}


/*FOOTER*/

footer{
    width: 100%;
    height: 20rem;
    background-color: #000;
    margin-top: 2rem;
    position: relative;
}


#logo{
    width: 100%;
    height: auto;
    display: flex;
    justify-content:center;
    /*background-color: cadetblue;*/
    position: absolute;
    top:0.8rem;
}

#logo img{
    width: 3.125rem;
    height: auto; 
}

footer #marca{
    width: 100%;
    height: 20px;
    text-align: center;
    color: #fff;
    line-height: 10rem;
}

#redes{
    width: 100%;
    height: auto;
    display: flex;
    justify-content:center;
    align-content: space-evenly;
    /*background-color: cadetblue;*/
    position: absolute;
    top:7rem;
}

#redes img{
    width: 3.125rem;
    height: 3.125rem;
    margin: 1rem;
    cursor: pointer;
}

footer hr{
    width: 93%;
    height: 1px;
    border: 0;
    margin: auto;
    background-color: white;
}

#autor{
    width: 100%;
    height: 1.875rem;
    position: absolute;
    bottom: 0.2rem;
}


#autor .ad{
    text-align: center;
    line-height: 0.5rem;
    font-size: 0.9rem;
    color: #fff;
}

#autor a:link, a:visited, a:active{
    color: #fff;  
    text-decoration: none;
}

#autor a:hover{
    color: #04b061;    
}


/*MEDIA QUERIES*/

@media screen and (min-width:500px){
/*BANNER PRINCIPAL    
#placa h2{margin-top: 0.8rem;}     
*/
}



@media screen and (min-width:768px){    
    header{
    width: 100%;
    height: 30rem;
    background-image: url(../imagenes/banner_movil.jpg);
    background-position: top 60% center;
    background-size: cover;
    position: relative;
    }
    
    .nav-link{font-size: 1.1rem;} 
    
    #maquinarias{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    }
    
    .placa{width: 48%;}
    
} 
    
@media screen and (min-width:900px){
    /*NAVBAR*/
    .navbar {
    width: 100%;
    position: fixed;
    box-shadow: 0px 1px 7px #3a3a3a;
    }

    .nav-link{
    width: 100%;
    color: #fff !important;
    font-weight: 500;
    margin-bottom:0.6rem;
    font-size: 1rem; 
    text-align: left !important;
    letter-spacing: 0.03rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding-bottom: 1rem !important;
    }

    .navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: #eee;
    border: 2px solid transparent;
    border-radius: 0.25rem;
    }

    .navbar-toggler:hover, .navbar-toggler:focus {
    text-decoration: none;
    outline: none;
    }

    .navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
    }
    /*FIN NAVBAR*/    
        
    #placa{
    width: 100%;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 20%;
    }

}
    
@media screen and (min-width:1024px){
    header{
    width: 100%;
    height: 28.13rem;    
    }  
    
    #placa h2{
    margin-top: 0.3rem;
    font-size: 2.5rem;
    }

    #placa p{
    margin-top: -0.5rem;
    font-size: 1.4rem;
    }
    
    .placa{width: 31%;}
    
}

@media screen and (min-width:1200px){
    .navbar img{
    display: block;
    width: 50px;
    height: auto;
    margin-left: 22px;
    margin-right: 10px;
    }
    
    .navbar-brand{
    display: none;
    }

    #TextoLogo{
    display: block;
    margin-left: 5px;
    margin-top: 4px;
    color: #fff !important;
    text-shadow: 0 1px 5px #313131 !important;
    letter-spacing: 0.1px;
    font-size: 1.2rem;
    } 
    
    .navbar{
    width: 100% !important;
    max-width: 1700px !important;
    background-color: #2c6133 !important;
    }
    
    .navbar a{text-decoration: none;}
    
    .navbar-nav {
    width: auto;
    height: 100% !important;
    position: absolute !important;
    right: 30px;
    border-bottom: none;
    }
    
    .nav-link{
    width: auto;
    height: 71px !important;
    border-bottom: none !important;
    padding-bottom: 0rem !important;
    margin:0 8px;
    padding-top: 26px;
    text-align: center !important;
    }
      
    .nav-link:hover{
    background-color: #214f27; 
    text-shadow: 1px 1px 5px black;
    }

    .navbar-nav .nav-link{
    padding-right: 0;
    padding-left: 0;
    }
   
}    
    

@media screen and (min-width:1280px){
    header{
    width: 100%;
    height: 37rem;    
    }
    
    #placa{height: 10rem;} 
    
    #placa h2{
    margin-top: 1.6rem;
    font-size: 3rem;
    }

    #placa p{
    margin-top: -0.3rem;
    font-size: 1.4rem;
    }

    /* PRINCIPAL */   
    
    .placa{
    width: 23.5%;
    transition: 0.5s;
    cursor: pointer;
    }
    
    .placa:hover{
    transform: scale(1.02);
    box-shadow: 1px 5px 12px rgba(0,0,0, 0.5);
    background-color: #eee;
    }
    
    
    
    #autor a:hover{color: #04b061;}    
    
}