@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

*{
    box-sizing: border-box;
}

body{
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

/*---------------Estilos Base------------------*/

img{
    display: block;
    width: 100%;
    max-width: 100%;
}
h1, h2, h3, h4, h5, h6{
    margin: 0;
}
.container{
    width: 100%;
    margin: auto;
}
.container--flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.column{
    width: 100%;
}

/*---------------Estilos Header------------------*/

.main-header{
    width: 100%;
}
.logo{
    font-size: 1.5em;
    color: red;
    padding: 10px;
    font-weight: 1100;
}

/*---------------Estilos Menu------------------*/

.main-nav{
    width: 100%;
    position: relative;
    z-index: 2000;
    padding: 10px;
    
}
.icon-menu{
    display: block;
    color: white;
    border: 1px solid white;
    border-radius: 3px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    font-size: 1.7em
}
.social-icon{
    display: flex;
    justify-content: space-between;
}
.social-icon [class*="icon-"]{
    color: black;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%; 
}
.social-icon__link{
    text-decoration: none;
}
.menu{
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
    height: 0;
    overflow: hidden;
    transition: height .3s linear;
}
.menu__link{
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
}
.menu__link:hover{
    background: red;
}
.menu__link--select{
    background: red;
}
.mostrar{
    height: 210px;
}
/*---------------Estilos Banner------------------*/

.banner{
    margin-top: -55px;
    position: relative;
}
.banner:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    top: 0;  
}
.banner__img{
    width: 100%;
    height: 300px;
    object-fit: cover;   
}
.banner__content{
    width: 90%;
    color: white;
    text-align: center;
    position: absolute;
    z-index: 1500;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 1.5em;
    font-weight: bold;
}
/*---------------Estilos Principales------------------*/
.group--color .container{
    background: red;
    color: white;
    padding: 10px;
    text-align: center;
}
.main__title{
    margin: 15px 0;
    font-size: 1.5em;
    font-weight: 100;
}
.main__txt{
    padding: 10px;
}
.column__title{
    font-size: 1.3em
}
.column__txt{
    font-size: 1em;
    text-align: justify;
}

.main__about__description .column:nth-child(2){
    padding: 10px;
}
.btn{
    display: block;
    text-align: center;
    text-decoration: none;
    width: 120px;
    background: red;
    color: white;
    padding: 10px;
    margin: 10px auto;
}
.group__title{
    text-align: center;
    font-weight: bold;
    font-size: 1.8em;
    color: red;
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;

}
.funcions .column{
    margin-bottom: 30px;
    text-align: center;
}
.funcions__img{
    margin:auto;
    max-width: 350px;
    cursor: pointer;
    transition: all 0.5s;
    padding: 5px;
    border-radius: 15px;
    height: 300px;
    object-fit: cover;
}
.funcions__img:hover{
    transform: scale(1.02);
}
.funcions__title{
    font-size: 1.3em;
    padding-top: 10px;
    padding-bottom: 20px;
}


/*---------------Estilos Footer------------------*/
.main-footer{
    background: #222;
    color: white;
    padding: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: .8em;
}
.copy{
    text-align: center;
    margin: auto;
    margin-top: 15px;
}
.main-footer [class*="icon-"]{
    color: white;
    text-decoration: none;
}
.main-footer [class*="icon-"]:before{
    position: relative;
    right: 5px;
}
/*---------------Estilos Ventana Modal Inicio------------------*/
.modal{
    width: 100%;
    min-height: 100vh;
    background: rgba(0,0,0,0.9);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000000;
    display: none;
}
.modal__content{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.modal__img{
    width: 30%;
}
.modal__txt{
    width: 60%;
    padding: 30px;
    background: white;
    border-radius: 10px;
}
.modal__boton{
    position: absolute;
    top:10px;
    right: 10px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: red;
    font-size: 2em;
    text-align: center;
    border-radius: 50%;
}
.modal--open{
    display: block;

}
/*---------------Estilos Responsive------------------*/
@media screen and (min-width:520px){
    .logo{
        color: white;
    }
    .banner{
        margin-top: -112px;
        z-index: -1000;
    }
    .banner__img{
        height: 500px;
    }
    .main-nav{
        background: rgba(0,0,0,.85);
    }
    .main{
        padding-bottom: 15px;
    }
    .banner__content{
        font-size: 2em;
        margin-top: 30px;
    }
    .main__about__description .column:nth-child(2){
    padding-left: 20px;
    font-size: 0.9em;
    }
    .main__about__description .btn{
        margin: 0;
    }
    .main-footer .container--flex{
        align-items: flex-start;
    }
    .funcions .column{
        border: 5px solid #ddd;
        padding: 5px;
    } 
    .column--50{
        width: 49%;
    }
    .column--50--25{
        width: 49%;
    }
    .column--33{
        width: 32%;
    }

    .funcions__img{
        height: 200px;
        object-fit: cover;
        border-radius: 0px;
    }
}
@media screen and (min-width:768px){
    .main__title{
        font-size: 2.2em;
    }
    .main__about__description{
        margin-top: 30px;
    }
    .main__about__description .column:nth-child(2){
    font-size: 1em;
    }
    .main__about__description .column:nth-child(2) .column__txt{
    line-height: 30px;
    }
    .column--50--25{
        width: 24.5%;
    }
    .column__title{
        font-size: 1.4em;
    }
    .group__title{
        font-size: 2.2em;
    }
    .funcions__img{
        height: 200px;
        object-fit: cover;
 }
@media screen and (min-width:1024px){
    .container{
        width: 1000px;
    }
    .logo{
        font-size: 2em;
        padding: 0;
    }
    .main-nav{
        padding: 0;
    }
    .banner__content{
        font-size: 2.5em;
    }
    .icon-menu{
        display: none;
    }
    .menu{
        position: static;
        display: flex;
        height: auto;
        width: auto;
    }
    .menu__link{
        padding: 11px;
    }
    .group--color .container{
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 20px;
    }
    .main__title{
        font-size: 2.3em;
    }
    .main-footer{
        padding-top: 30px;
        padding-bottom: 30px;
    }
}
@media screen and (min-width:1600px){
    .container{
        width: 1400px;
    }
    .main__about__description .column:nth-child(1) img{
        width: 100%;
        height: 350px;
        object-fit: cover;
    }
    .funcions__img{
        height: 300px;
    }
    
}