@import url('https://fonts.googleapis.com/css?family=Montserrat:200,400,700,900');
@import url('https://fonts.googleapis.com/css?family=Arima+Madurai');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    max-width: 100%;
    margin: auto;
}

header {
    background-size: 100%;
    background-image:url(Img/FondoIlustracion-01.jpg);
    background-position: center;
    z-index: -10;
    position: relative;
    max-width: 100%;
}

.datos h1 {
    color: #FFF;
    text-align: center;              
    margin: 0;
    font-family: 'Arima Madurai', cursive;
    padding: 0.2rem;
}

h1 {
    background-color: #63717E;
    z-index: 1;
}

.datos h2 {
    color: #F7B9B2;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 400;
}

.fotoyo {
    display: flex;
    margin: auto;
    border-color: #F7B9B2;
    border-radius: 50%;
    padding: 0.3rem;
}

nav ul li {
    list-style-type: none;
    display: flex;  
    background-color: #ccc;
    border-radius: 5rem;
    margin: 0.4rem;
}

nav ul li a {
    text-decoration: none;
    padding: 1rem;
    font-weight: 400;
    color: #FFF;
            text-align: center;
}

nav ul li:hover {
    background-color: #63717E;
}

.botonpropuesta{
    background-color: #F7B9B2;
}

h4{
    color:  #63717E;
    font-weight: 700;
    font-size: 1.5em;
    text-align: center;
}

.materias { 
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 0rem 2.1rem;
    color: #63717E;
    font-size: 1rem;
}

strong {
    font-weight: 400;
}

span{
    color:#F7B9B2;
    font-weight: 400;
}

h3 {
    font-size: 1,4em;
    font-weight: 700;
}

.subir {
    display: flex;
    margin: auto;
    padding: 5% 50%; 
}

footer {
    text-align: center;
    color: #2c3456;
    margin: 1% 3%;
    background-color:rgb(232, 232, 232);
    margin: auto;
    padding: 0.2rem;
}

footer h2 {
    font-weight: 700;
    font-size: 0.9rem;
}

footer p {
    font-weight: 400;
    font-size: 0.8rem;
}

.menu {
    display: none;
}


/* Para tablet */

@media screen and (max-width: 768px) {

    h4 {
        margin: 0.7rem;
        font-weight: 400;
    }

    nav ul {
        margin:0.4rem auto 0;
    }
    
nav ul li {
    list-style-type: none; 
    background-color: #ccc;
    border-radius: 5rem;
    display: inline-flex;
    padding: 0rem;
    font-size: 1rem;
}

nav ul li a {
    text-decoration: none;
    padding: 1rem;
    font-weight: 400;
    color: #FFF;
    text-align: center;
}

nav ul li:hover {
    background-color: #63717E;
}

.botonpropuesta{
    background-color: #F7B9B2;
}


.materias { 
	display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 0rem 2.1rem;
    color: #63717E;
    font-size: 1rem;
}

    .datos h1{font-size: 2.1rem}
    .datos h2 {font-size: 1.7rem;
    padding: 0;
    margin:0.8rem auto 2rem;}

    .columna1{
        text-align: center;
        font-size: 1.3rem;
    }
    
    .columna2{
        text-align: center;
        font-size: 1.3rem;
    }
    
    
/* Para celular */

    @media (max-width: 320px){
        header img {
            width: 45%;
            height: 45%;
        }
        
    .datos h1{font-size: 1.5rem}
    .datos h2 {font-size: 1rem;
    padding: 0;
    margin:0.8rem auto 1rem;}

          h4 {
              font-size: 0.9rem;
        margin: 0.2rem;
        font-weight: 400;
    }  
    .columna1{
        text-align: center;
        font-size: 0.8rem;
    }
    
    .columna2{
        text-align: center;
        font-size: 0.8rem;
    }
        
        
    nav ul li {
    list-style-type: none; 
    background-color: #ccc;
    border-radius: 5rem;
    display: flex;
    padding: 0rem;
    font-size: 0.8rem;

}
        
            nav ul {
        margin:0.4rem auto 0;
                padding: 0;
    }
        
        
        
    }