*{
    text-decoration:none; list-style:none; margin:0px; padding:0px; outline:none;
}
body{
    /* margin:0px; padding:0px; font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; */
    margin:0px; padding:0px; font-family: Calibri, 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
}

section{
    width:100%;
    max-width:1200px; 
    margin:0px auto; 
    display:table; 
    position:relative;
}
html {
    scroll-behavior: smooth;
}
h1{
    margin:0px auto; 
    display:table; 
    font-size:1.3em; 
    padding:20px 0px; 
    color:#000000; 
    text-align:center;
}
span{
    font-weight:500;
}

header{
    width:100%;
    display:table; 
    box-shadow: 0px 5px 5px rgb(31, 31, 31);
    background-color:#fffffa;
    margin-bottom:0px;
    position: sticky;
    top: 0;
    z-index: 100;
}
#logo{
    float:left;
    font-size:1.7em; 
    text-transform:uppercase; 
    color:#bb0202;
    font-weight:600;
    padding:17px 10px;
    letter-spacing: 5px;
}
#logoimg{
    float: left;
    width: 63px;
    border-radius: 20px;
}
nav{
    width:auto; 
    float:right;
}
nav ul{
    display:table;
    float:right;
}
nav ul li{
    float:left;
}
nav ul li:last-child{
    padding-right:0px;
}
nav ul li a{
    color:#bb0202;
    letter-spacing: 2px;
    font-size:0.9em;
    font-weight: bold;
    text-transform:uppercase; 
    padding: 25px 20px;
    display:inline-block;
    transition: all 0.5s ease 0s;
}
nav ul li a:hover{
    background-color:#777985;
    color:#ffffff;
    transition: all 0.5s ease 0s;
}
nav ul li a:hover i{
    color:#fde428; 
    transition: all 0.5s ease 0s;
}
nav ul li a i{
    padding-right:10px; 
    color:#002e5b; 
    transition: all 0.5s ease 0s;
}

.toggle-menu ul{
    display:table; 
    width:25px;
}
.toggle-menu ul li{
    width:100%; 
    height:4px; 
    background-color:#bb0202; 
    margin-top: 6px;
    margin-bottom:0px;
}
.toggle-menu ul li:last-child{
    margin-bottom:0px;
}

#imgfondo{
    background-image: url(../images/ferreteriab.jpg);
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    height: 450px;
    background-color: #7c7c7c;
}
#imgfondo h2{
    padding-top: 4%;
    padding-left: 10%;
    padding-right: 40%;
    color: #ffffff;
    font-size: 2.6em;
    text-shadow: 2px 2px 8px #000000;
}
#imgfondo p{
    padding-top: 2%;
    padding-left: 10%;
    padding-right: 40%;
    color: #ffffff;
    font-size: 1.7em;
    text-shadow: 2px 2px 8px #000000;
}

.clearfix {
    height: 60px;
}

input[type=checkbox], label{
    display:none;
}

.img{
    width: auto;
    height: 150px;
    float: left;
    margin-right: 30px;
    margin-top: 10px; 
}
.imgb{
    width: auto;
    height: 150px;
    float: right;
    margin-left: 30px;
    margin-top: 10px;
}

.content{
    display:table; 
    margin-bottom:60px; 
    width:900px;
}

.content h2{
    font-size:2em; 
    /* font-weight:500;  */
    color:#000000; 
    /* border-bottom:1px solid #fde428;  */
    display:table; 
    padding-bottom:10px; 
    margin-bottom:10px;
}
.content p{
    font-size:1.4em; 
    line-height:22px; 
    color:#494949; 
    text-align:justify;
}

#nosotros{
    height: 380px;
    padding-top: 2%;
    padding-bottom: 2%;
    padding-left: 35%;
    padding-right: 16%;
    background-color: rgb(202, 240, 255);
    background-image: url(../images/valparaiso.webp);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}
#nosotros h2{
    font-size:2em;
    padding-bottom:10px; 
    margin-bottom:10px;
    text-shadow: 2px 2px 8px #ffffff;
}
#nosotros p{
    font-size:1.4em; 
    line-height:22px; 
    color:#000000; 
    text-align:justify;
    text-shadow: 2px 2px 8px #ffffff;
}
#map{
    width: 50%;
    height: 370px;
    float: left;
    margin-right: 30px;
}
#email{
    width: auto;
    height: auto;
}
#facebook{
    width: 26px;
}


.footer{
    height: 80px;
    padding-top: 2%;
    padding-bottom: 2%;
    padding-left: 22%;
    padding-right: 22%;
    background-color: rgb(61, 61, 61);
    font-size:0.9em; 
    line-height:22px; 
    color:#ffffff; 
    text-align:center;
    text-shadow: 2px 2px 8px #000000;
}
.footer img{
    width: 100px;
}

@media only screen and (
    max-width: 1440px) {
    section{max-width:95%;}
}

@media only screen and (max-width: 980px) {
    input[type=checkbox] {
        position: absolute; 
        top: -9999px; 
        left: -9999px; 
        background:none;
    }
    input[type=checkbox]:fous{
        background:none;
    }
    label {
        float:right; 
        padding:8px 0px; 
        display:inline-block; 
        cursor:pointer; 
    }
    input[type=checkbox]:checked ~ nav {
        display:block;
    }
    nav{
        display:none; 
        position:absolute; 
        right:0px; 
        top:53px; 
        background-color:#bb0202;
        padding:0px; 
        z-index:99;
    }
    nav ul{
        width:auto;
    }
    nav ul li{
        float:none; 
        padding:0px; 
        width:100%; 
        display:table;
    }
    nav ul li a{
        color:rgb(255, 255, 255); 
        font-size:15px; 
        padding:10px 20px; 
        display:block; 
        border-bottom: 1px solid rgba(225,225,225,0.1);
        font-size: 1.3em;
    }
    nav ul li a i{
        color:#fde428;
        padding-right:13px;
    }
}

@media only screen and (max-width: 980px) {
    .content{
        width:90%;
    }
}

@media only screen and (max-width: 720px) {
    #imgfondo{
        height: 500px;
    }
    #imgfondo h2{
        padding-top: 4%;
        padding-left: 10%;
        padding-right: 10%;
        font-size: 2.6em;
    }
    #imgfondo p{
        padding-top: 2%;
        padding-left: 10%;
        padding-right: 10%;
        font-size: 1.7em;
    }
    #nosotros{
        height: 380px;
        padding-top: 2%;
        padding-bottom: 2%;
        padding-left: 8%;
        padding-right: 8%;
        background-image: url(../images/valparaiso.webp);
        background-position: center center;
        background-size: cover;
        background-attachment: fixed;
    }
    #map{
        width: 100%;
        height: 300px;
        float: none;
        margin: 0%;
    }
    #email{
        width: auto;
        height: auto;
    }
}

@media only screen and (max-width: 568px) {
    h1{
        font-size:1.1em; 
    }
    h1 span{
        display:block;
    }

    .img{
        width: 70%;
        height: auto;
        float: none;
        margin-right: 15%;
        margin-left: 15%;
        margin-top: 5px;
    }
    .imgb{
        width: 70%;
        height: auto;
        float: none;
        margin-right: 15%;
        margin-left: 15%;
        margin-top: 5px;
    }
}

@media only screen and (max-width: 480px) {
    section {
        max-width: 90%;
    }
    h1{
        font-size:1em; 
    }
}