@import url('https://fonts.googleapis.com/css?family=Raleway'); 
* {
    margin: 0rem;
    padding: 0rem;
    box-sizing: border-box;
    
}

body{
    background-color:#eaefe2;
    flex-direction: column;
    justify-content: space-between;
    font-family: raleway, sans-serif;
}

.centered{
    margin: 0 auto;   
}

.flex{
    display: flex;    
}

header{
    width: 100%;
}

nav{
    justify-content: space-between;
    background-color: #375f9b; 
    align-items: center;
    padding: 4%;
}

#guarda{
    height: 30px;
    background-image: url(img/guarda.svg);
    background-repeat: repeat-x;
}

nav, footer{
    height: 60px;
}

.contenedor{
    padding: 5% 10%;
    flex-direction: column;
}

#logo{
    height: 150px;
}

main div div img{
    height: 15px;
    padding-right: 5px;
}
main{
    border-radius: 1rem;
    justify-content: space-between;
    margin: 2%;
    padding: 3%;
}

main div div{
    padding: 0 2%;
}

main div{
    align-items: center
}

section{
    border-radius: 3%;
    justify-content: space-between;
    margin: 2%
}

article{
    width: 30%;
    background-color: #1ae2bc;
    padding: 18px;
    border-radius: 1rem;
}

.oculto {
    display: none;
}

.pink{
    background-color: #fc6880;
}

.blue{
    background-color: #375f9b;
}

.text-blue{
    color: #375f9b;
}

main p{
    color: #eaefe2;
    font-size: 16px;
    margin-left:20px;
}

.texto p{
    margin-bottom: 4%
}

iframe{
    width: 100%;
    height: 150%;
    border-radius: 1rem;
    
}
.video{
    width: 65%;
    height: 150%;
    border-radius: 1rem;
    padding: 18px;
}

h1, h2, h3{
    text-align: center;
    padding: 0 0 8px 0;
}

h1 {
    font-size: 50px;
    font-weight: 800;
    color: #fc6880;
    padding-top: 1rem;
}

h2{
    color: #eaefe2;
    font-size: 30px;
}

h3{
    font-size: 15px;
    color: #fc6880;
}

h5{
    font-size: 18px;
    margin: 5% 0 1% 0;
    color: #375f9b;
}


article p{
    text-align: center;
    color: #375f9b;
    font-size: 15px;
}

.flex-centered{
    justify-content: center;   
}

.celular{
    height: 350px;
}

.descarga{
    height: 40px;
}

footer p{
    font-size: 13px;
    color: white;
    text-align-last: center;
    margin: 1% 5%;
}

@media(max-width: 800px){
    #logo{
        height: 100px;
    }
    
    h1{
        font-size:35px
    }
    
    body{
        height: auto;
    }
    h2{
        width: 70%;
    }
    section{
        flex-wrap:wrap;
    }
    article, .video{
        width: 48%;
    }
    .nosotros{
        width: 100%;
        margin-bottom: 4%;
    }
    footer p{
        font-size: 11px;
        margin: 2%
    }
    
    main{
        border-radius: 1rem;
    }
    
    .video{
        width: 100%;
        margin-bottom: 4%;
    }
    
    .ultimo{
        width: 100%;
        margin-bottom: 4%;
    }
    
    .oculto {
        display: block;
        padding: 2%;
    }
    
    .visible{
        display: none;
    }
}

@media(max-width: 650px){
    #logo{
        height: 80px;
    }

    .celular{
        height: 300px;
    }

    body{
        height: auto;
    }
    
    main div{
        flex-direction: column;
    }
    
    h2{
        font-size: 1rem;
        padding: 0.5rem 0;
    }
    
    footer{
        height: 95px;
    }
    
    section{
        flex-direction: column;
    }
    article, .video{
        width: 100%;
    }
    
    section article, .video {
        width: 100%;
        margin-bottom: 4%;
        border-radius: 1rem;
    }
    
    ul {
        flex-wrap: wrap;
       justify-content: center;
        
    }
    
    ul li {
        margin: 0 0.3rem;
    }
    
    h1 {
        font-size: 2rem;
        padding: 1rem 0;
    }
}
