* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', arial, helvetica, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #282828;

}

img {
    max-width: 100%;
    height: auto;
}

h2 {
    font-size: 32px;
    font-weight: 100;
    margin-bottom: .2em;
}

h3 {
    font-size: 30px;
    font-weight: 500;
    color: #910000;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
   
}

h4 {
    font-size: 14px;
    text-transform: uppercase;
    color: white;
    letter-spacing: .2em;
}

h5 {
font-size: 30px;
    font-weight: 500;
    color: #ffffff;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
  
}

h6 {
font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    margin-top: 1.5em;
    margin-bottom: 1.5em;
  
}

/* header y nav */


main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* perfil */
.perfil {
    background-image: url(../img/lucas_artesi.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 54vh;
    padding: 6%;
}

.perfil p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    flex-grow: 1;
    font-weight: 900;
}

.perfil h2 {
    color: white;
    font-weight: 500;
}

.perfil h4 {
    color: white;
    margin-bottom: 1em;
    font-weight: 500;
    letter-spacing: 1px;

}


/* bloque con materias */
.materias {
    background-color: white;
    border-radius: .3em;
    padding: 20px;
    box-shadow: 0 .3em 1em rgba(0,0,0,.2);
    text-align: left;
}


.materias ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    padding: 6% 8%;
}

.materias ul li {
    flex-grow: 1;
    text-align: left;
}

.materias ul li h2 {
    color: #9890e3;
    text-align: left;
}

.materias ul li {
    color: #910000;
    font-size: 12px;
    text-align: left;
    font-weight: 900;
}

/* contenido */
.contenido {
    padding: 2% 6% 8% 6%;
    text-align: left;
}


.contenido p {
    font-size: 14px;
    font-weight: 500;
    color: rgb(4, 3, 45);
    margin-bottom: 1em;
    line-height: 1.4em;
}

.contenido a {
    text-decoration: none;
    color: #FF9800;
    font-size: 12px;
}

/* materias 2 */
.materias {
    margin-top: 2em;
}

.materias ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    margin-top: .8em;
}

.materias ul li {
    flex-basis: 48%;
    padding: .6em 0;
    background-color: white;
    width: 10hv;
    text-align: left;
}

.materias ul li a {
    font-size: 12px;
    font-weight: 500;
    color: rgb(255, 152, 1);
    text-align: left;
}


/* footer */
footer {
    padding: 6%;
    background-color: #282828;
}

footer p {
    color: white;
    font-size: 10px;
    line-height: 1.5em;
}