@import url('https://fonts.googleapis.com/css2?family=Inclusive+Sans&display=swap');

:root {
    --malta-text: rgb(115, 115, 115);
    --malta-black: rgb(0, 0, 0); 
    --malta-blue: rgb(53, 51, 205);
    --malta-dark-blue: rgb(11, 10, 118);
    --malta-gray: rgb(82, 86, 87);
    --malta-light-blue: rgb(23, 156, 241);
    --malta-light-gray: rgb(182, 180, 180); 
    --malta-blue-gradient: linear-gradient(135deg, rgb(0, 0, 0) 0%, rgb(5, 8, 34) 0%, rgba(52,78,161,1) 100%);
    --malta-gray-gradient: linear-gradient(45deg, rgba(228,231,236,1) 0%, rgba(255,255,255,1) 100%);
    --malta-mono-gradient: linear-gradient(to bottom, rgba(40,40,40,1) 0%, rgba(40,40,40,1) 50%,  rgba(250,250,250,1) 50%, rgba(255,255,255,1) 100%);
    --malta-white: rgb(246, 239, 241);
    --malta-white-clean: rgb(255, 255, 255);

    /* ===== Transicion ===== */

    --tran-02: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.4s ease;
    --tran-05: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inclusive Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}
  
body {
    font-family: sans-serif;
    padding: 0;
    background: var(--malta-white);
    width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.navPrincipal{
    background: var(--malta-blue-gradient);
}
.main{
    background: url(../img/imgSeguridad/FONDOCOMERCIAL.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    color: var(--malta-white);
    flex-direction: column;
    justify-content: space-between; 
    
}
.textoBaner{
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
}
.textoBaner h1{
    margin-top: 200px;
    font-size: 3rem;
    font-weight: 10;
    padding-left: 40%; 
}
.linksMain{
    width: 100%;
    position: relative;
    display: flex;
    z-index: 0;
    height: 90px;
    align-items: flex-end;
    margin-bottom: 0;
    justify-content: center;
}
.ML{
    position: relative;
    width: 22%;
    height: 100%;
    list-style: none;
    margin: 0px;
}
.ML:hover{
    background: var(--malta-gray);
}
.MLa{
    position: relative;
    width: 100%;
    height: 100%;
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--blancopuro);
    border-radius: 10px;
    text-decoration: none;
    /* backdrop-filter: blur(2px); */
    transition: 0.5s;
    overflow: hidden;
}



.main2{
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;

}
.main2 h2{
    text-align: left;
    width: 70%;
    font-size: 7rem;
    color: var(--malta-black);
    font-weight: 900;
    
}



.main3{
    background: url(../img/Forma4Comercial.png); 
    display: flex;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 1000px;
    align-items: center;
    justify-content: center;
}

.infoAutomatizacionComercial{
    font-size: 3rem;
    font-weight: 900;
    text-align: right;
    width: 80%; 
    color: var(--malta-white); 
}

.videoComercial{
    
    display: flex;
    align-items: center;
    justify-content: center;
} 
.textoBanerM3{
    margin-left: 50px;
    display: flex;
    flex-direction: column;
    margin-right: 50px;
}
.textoBanerM3 h1{
    margin-top: 100px;
    font-size: 7rem;
    font-weight: 900;
    width: 100%; 
}


.tu-clase{
    width: 100%;
    text-align: center;
}





.main5{
    background: url(../img/imgSeguridad/camarasExterior.png);
    background-repeat: no-repeat;
    /* background-size: 100% 100vh; */
    background-size: contain;
    width: 90%;
    height: 350px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    color: #000;
    flex-direction: column;
    justify-content: space-around;
    margin-top: 50px;
}
.textoBanerM5{
    margin-left: 50px;
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}
.textoBanerM5 h1{
    margin-top: 100px;
    font-size: 6rem;
    font-weight: 900;
    width: 100%; 
}


footer{
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: var(--malta-blue-gradient);
    margin-top: 20px;
    font-weight: 700;
    color: var(--malta-white);
}






@media (min-width: 280px){
    .main{
        height: 150px;
        margin-top: auto;
    }
    .textoBaner{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .textoBaner h1{
        margin-top: 4%;
        font-size: 2.5rem;
        font-weight: 900;
        padding-left: 10%;
        
    }
    .main2{
        height: 40vh;
    }
    .main2 h2{
        width: 100%;
        font-size: 2rem;
        text-align: left;

    }
    .infoAutomatizacionResidencial{
        font-size: 1rem;
    }
    .main3{
        height: 200px;
    }
}
@media (min-width: 320px){
    .main {
        height: 150px;
    }
}
@media (min-width: 360px){
    .main {
        height: 170px;
    }
    .textoBaner{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .textoBaner h1{
        text-align: center;
    }
    .main3 {
        height: 250px;
    }
    .main2{
        height: 40vh;
    }
}
@media (min-width: 375px){

}
@media (min-width: 390px){
    .textoBaner h1 {
        margin-top: 90px;
    }
}
@media (min-width: 540px){
    .main{
        height: 250px;
    }
    .textoBaner{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .textoBaner h1{
        margin-top: 60px;
        font-size: 4rem;
        font-weight: 900;
        padding-left: 10%;
        
    }
    .main2{
        height: 40vh;
    }
    .main2 h2{
        font-size: 3.5rem;
        text-align: left;

    }
    .infoAutomatizacionResidencial{
        font-size: 1.5rem;
    }
    .main3{
        height: 350px;
    }
}
@media (min-width: 550px){
   
}
@media (min-width: 576px){

}
@media (min-width: 720px){
    .main{
        height: 350px;
    }

    .textoBaner{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .textoBaner h1{
        margin-top: 20%;
        font-size: 4rem;
        font-weight: 900;
        padding-left: 10%;
        
    }
    .main2{
        height: 40vh;
    }
    .main2 h2{
        font-size: 4rem;
        text-align: left;

    }
    .infoAutomatizacionResidencial{
        font-size: 1.7rem;
    }
    .main3{
        height: 450px;
    }
}
@media (min-width: 767px){

}
@media (min-width: 769px){

}
@media (min-width: 816px){
    .main {
        margin-top: 100px;
    }
    .textoBaner h1{
        margin-top: 30%;
        font-size: 3.5rem;
        font-weight: 900;
        padding-left: 10%;
        
    }
}
@media (min-width: 820px){

}
@media (min-width: 920px){
    .textoBaner h1 {
        margin-top: 14%;
        padding-left: 300px;
    }
    .main {
        height: 450px;
    }
    .main3 {
        height: 500px;
    }
}
@media (min-width: 1024px){
    .main {
        height: 450px;
    }
    .main3 {
        height: 600px;
    }
    .textoBaner h1 {
        margin-top: 20%;
    }
}
@media (min-width: 1280px){
    .main{
        height: 600px;
        margin-top: 100px;
    }
    .textoBaner h1{
        margin-top: 20%;
        font-size: 5rem;
        font-weight: 900;
        padding-left: 30%;
    }
    .main2{
        height: 80vh;
    }
    .main2 h2{
        font-size: 7rem;
        text-align: left;
        font-weight: 900;

    }
    .infoAutomatizacionResidencial{
        font-size: 1rem;
    }
    .main3{
        height: 700px;
    }
}
@media (min-width: 1366px){
    .main {
        height: 650px;
    }
    .main3 {
        height: 800px;
    }
}
@media (min-width: 1440px){
    .main {
        height: 700px;
    }
    .infoAutomatizacionResidencial{
        font-size: 2.5rem;
        margin-top: 5%;
    }
    .main3 {
        height: 850px;
    }
}
@media (min-width: 1920px){
    .main{
        height: 900px;
        margin-top: 5%;
    }
    .textoBaner{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .textoBaner h1{
       margin-left: 15%;
        font-size: 7rem;
        font-weight: 900;
        
        
    }
    .main2{
        height: 90vh;
    }
    .main2 h2{
        font-size: 10rem;
        text-align: left;

    }
    .infoAutomatizacionResidencial{
        font-size: 4rem;
    }
    .main3{
        height: 1050px;
    }
}