*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    scroll-snap-type: mandatory;
    scroll-snap-align: center;
}

h1{
    font-size: 2vw;
}

h2{
    font-size: 1vw;
}

body {background-color: rgb(34, 34, 34);
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
}

.container{
    max-width: 1400px;
    margin: auto;
    padding: 5px 20px;
}

header{
    background-color: black;
    position: fixed;
    width: 100%;
}
 
header .logo{
    margin: 0;
    padding: 5px 20px;
    
}

.logo img{
    height: 65px;
    width: 100%;
    
}

header .container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

header a{
    color: white;
    text-decoration: none;
    padding: 30px 20px;
    font-weight: bold;
    font-size: small;
}

nav a:hover{
    color: yellow;
}

header nav{
    display: flex;
    flex-direction: row;
    text-align: center;
    padding-top: 0px;
}

section{
    
    scroll-margin-top: 100px;      
}

.cenefa{
    width: 100%;
    height: 300px;
    background-color:aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding: 30px 
}

.cenefa img{
    width: 1212px;
    margin: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

#hero{
    padding: 160px 300px 450px 300px;
    height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    
    background-image: linear-gradient(
        0deg, 
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0)
    )
    ,url("imagenes/00.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.instalación{
    padding: 0px 0px 0px 0px;
    width: 100%;  
        
}

#info{
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    margin-top: 10px;
}

#info img{
    width: 100%;
    display: inline-block;
}

.alinear{
    width: 380px;
    height: 380px;
    margin: 0 5px;
}

.contenedor1{
    display: flex;
    justify-content: center;
    width: 100% 100%;
}

.mision{
    width: 50%;
    font-size: 1.2em;
    font-style:italic;
    padding-top: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#electros{
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    margin-top: 10px;
}

#electros img{
    width: 100%;
    display: inline-block;
}

.alinear2{
    width: 380px;
    height: 380px;
    margin: 0 5px;
}    
.contenedor2{
    display: flex;
    justify-content: center;
    width: 100% 100%;
}

#envío{
    padding: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}
#envío h2{
    font-size: 1.5em;
    color: yellow;
}

#envío img{
    width: 70px;
    margin-top: 16px;
}

button{
    margin-top: 20px;
    font-size: 1em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid white;
    box-shadow: 2px 2px 10px black;
    color: white;
    background-color: rgb(34, 34, 34);
}

button:hover{
    background-color: rgb(25, 25, 25);
}

#contacto{
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px;
    
} 

#contacto a{
    text-decoration: none;
    color: white;
}

#contacto a:hover{
    color: yellow;
}

.redes{
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.redes ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.redes ul li{
    display: inline-block;
    margin: 0 5px;
    text-align: center;
}

.redes ul li img{
    width: 50px;
    height: 50px;
}

.whatsapp{
    position: fixed;
    right: 30px;
    bottom: 20px;
    z-index: 1;
}

.whatsapp img{
    width: 50px;
    height: 50px;
}

.img.fluid{
    width: 200;
    height: 10;
}

footer{
    text-align: center;
    font-size: 0.7em;
    padding-bottom: 20px;
}

@media (max-width: 700px) {
    .contenedor1{
        flex-direction: column;
        align-items: center;
    }
    .alinear{
        margin-bottom: 10px;
        width: 100%;
        height: 100%;
        margin: 0 5px;
        padding: 5px;
    }
    .contenedor2{
        flex-direction: column;
        align-items: center;
    }
    .alinear2{
        margin-bottom: 10px;
        width: 100%;
        height: 100%;
        margin: 0 5px;
        padding: 5px;
    }
    h1{
        font-size: 3.8vw;  
        margin: 0;  
    }
    h2{
        font-size: 3vw;
        margin: 0;
        padding-top: 5px;
    }
    header nav{
        display: flex;
        flex-direction: column;
        text-align: center; 
                     
    }
    header a{
        padding: 3px;
    }
    header{
        flex-direction: column;
        padding: 3px 3px 0px 3px;
    }
    header .logo{
        padding:13px 3px 0px 3px
    }
    header .container{
        flex-direction: column;
        align-items: center;
    }
    #hero{
        height: 95vh;
        padding: 200px 20px 360px 20px;
    }
    .instalación{
        padding: 0px 0px 0px 0px;
    }
    .mision{
        width: 70%;
        font-size: 1em;
    }
    .cenefa{
        width: 100%;
        height: 100px;
    }
    .cenefa img{
        width: 90%;
    }    
    section{
        padding: 100px;
        scroll-margin-top: 200px;      
    }
    #envío{
        padding: 120px 20px 20px 20px;
    }
    #contacto{
        padding: 100px 20px 100px 20px;
    }
    .redes ul li img{
        width: 30px;
        height: 30px;        
    }
    .redes ul li{
        display: inline-block;
        margin: 0 1px;
        text-align: center;
    }
    button{
        font-size: 0.8em;
    }