* { padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    text-decoration: none; 
    }

/* mobile */
body{
    background: #ffe6e6; 
    }

.contenedor {
    max-width: 1280px;
    margin: auto;
}

.inicio{
    background-color:#ffe6e6; 
    display: inline-block;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 2rem;
}

header{
    width: 100%;
    text-align: center;
    }

header img{
    max-height: 80px;
    margin-top: 0.7rem;
    }

nav {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    }

nav ul li{
    text-decoration: none;
    display: inline-block;  
    }

nav ul li a{
    text-decoration: none;
    padding: 0.7rem; 
    margin: 0 0 0rem 0rem;
    color: #412a5e;
    font-weight: 700;
    font-size: 0.9rem;
    }

nav ul li a:hover{
    color: #412a5e;
    font-weight: 700;
    }      

section{
    display: flex;
    flex-wrap: wrap;
}

section article{ 
    width: 100%; 
    height: 25rem; 
    text-align: center;
}

.texto1 h1{
    font-size: 2rem;
    line-height : 2rem;
    text-align: center;
    color: #412a5e; 
    margin-bottom: 0rem;
    padding: 2rem;
}
.texto1 p{
    font-size: 1rem;
    text-align: center;
    color: #412a5e; 
    margin-bottom: 0rem;
    margin-top: 0rem;
    padding: 0rem 2rem 2rem 2rem;
}

.texto1 img { 
    display: none;
    margin: auto;
    width: 100px;
    height: 33px;
}


.texto1 { 
    display:contents;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    padding-right: 0rem;
    padding: 2rem;
}

.imagenes { 
    margin-top: 1rem;
    display: none;
    flex-wrap: nowrap;
    text-align: center;
    justify-content: center;
    align-content: center;
}

.imagen1 {
    display:block;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    padding-left: 0rem;
    padding: 2rem;
    width: 100%
}

.imagen1 img {
    height: 100%
}

.texto2 h1{
    font-size: 3rem;
    line-height : 3rem;
    text-align: center;
    color: #412a5e;
    margin-bottom: 0rem;
    padding: 2rem;
} 
    
.texto2 p{
    font-size: 1rem;
    text-align: center;
    color: #412a5e;
    margin-bottom: 0rem;
    margin-top: 0rem;
    padding: 0rem 2rem 2rem 2rem;
} 

.texto2 { 
    display:block;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    padding-right: 0rem;
    padding: 2rem;
}

.imagen3 {
    background: white;
    display:block;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    padding-left: 0rem;
    padding: 2rem;
    width: 100%;
}

.imagen2 img {
    display: inline-block;
    height: 90%;
    width: auto;
    
}


.app{
	margin: auto;
	display: flex;

}

/* version escritorio */
@media screen and (min-width:768px) {
    
.inicio{
    background-color: #ffe6e6; 
    display: inline-block;
    width: 100%;
    display: flex;
    padding-left: 3rem;
    padding-right: 3rem;
    
}

header{
    width: 100%;
    display: flex;
    justify-content: center;
    }

header img{
    max-height: 80px;
    vertical-align: middle;
    margin-top: 0.7rem;
    }

nav {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    margin-top: 0.5rem;
    }
    
nav ul li{
    text-decoration: none;
    display: inline-block;  
    margin: 2rem 0 0 0;
    }

nav ul li a{
    text-decoration: none;
    padding: 0.8rem; 
    margin: 0 0 1rem 1rem;
    color: #412a5e;
    font-weight: 700;
    font-size: 1rem;
    
    }

nav ul li a:hover{
    color: #412a5e;
    font-weight: 700;
    }      
    
.texto1 { 
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: center;
    padding-right: 5rem;
    }    
    
.texto1 h1{
    font-size: 3rem;
    line-height : 3rem;
    text-align: right;
    color: #412a5e;
    margin-bottom: 1rem;
    padding: 0rem;
    } 
    
.texto1 p{
    font-size: 1rem;
    text-align: right;
    color: #412a5e;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding: 0rem;
    } 
    
.texto1 img { 
    display: block;
    width: auto;
    height: 3rem;
    margin-left: 1rem;
    }
    
.imagenes { 
    margin-top: 1rem;
    display: flex;
    flex-wrap: nowrap;
}

.imagen1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    padding: 0rem;
    padding-left: 5rem;
    width: 50%
}

.imagen1 img {
    height: 500px;
}
    
.texto2 h1{
    font-size: 3rem;
    line-height : 3rem;
    text-align: left;
    color: #412a5e;
    margin-bottom: 1rem;
    padding: 0rem;
    } 
    
.texto2 p{
    font-size: 1.2rem;
    text-align: left;
    color:#412a5e;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding: 0rem;
    } 

.texto2 { 
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    padding-left: 5rem;
    }

.imagen2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: center;
    padding-left: 5rem;
    width: 50%
}

.imagen2 img {
    height: auto;
    width: 95%;
}
    

section article {
    width: 50%; 
    height: 35rem;
    }
    .video {width: 74%; height: 32rem; margin: 0px 0 0 150px;}
    

/*FOOTER*/

footer {
  text-align: center;
  padding-bottom: 3rem;
}

footer p {
  font-size: 0.7rem;
  color: #412a5e;
  background: #ffdf47;
  text-align: center;
  border-radius: 3rem;
  max-width: 90%;
  display: inline-block;
  padding: 2rem;
}