@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro: 200,300,400,600,700,800');


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Source Sans Pro', sans-serif;

}
/*BODY*/

body {
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/*NAVBAR*/

nav {
    background-color: black;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-around;
}

nav ul {
    display: flex;
    flex-direction: row;

}

nav ul li {
    display: flex;
    flex-direction: row;
}

nav ul li a {
    text-decoration: none;
    color: #3f3f3f;
    font-size: 12px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 600;
    background-color:white
}

header nav ul li a:hover {
    color: #f1f1f1;
    font-weight: 800;

}

/*MAIN*/

main {
    background-color: w;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    padding-bottom: 30px;
}

.materias {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    padding-bottom: 20px;
    font-size: 14px;
    color: #1f1f1f;
}


h1 {
    font-size: 20px;
    padding-top: 20px;
    padding-bottom: 15px;
    color: #1f1f1f;

}

img {
    width: 300px;
    margin: auto;
}

.presentacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px;
}

p.diseño {
    margin-bottom: 30px;
    color: #1f1f1f;
}


h2 {
    font-size: 25px;
    padding-bottom: 10px;
    padding-top: 10px;
    
}
    
    

 h3 {
    font-size: 15px;
    padding-bottom: 0px;
    padding-top: 10px;
}

article h4 {
    font-size: 20px;
    padding-bottom: 10px;
    margin-top: 20px;
    background-color: whitesmoke
}

.segundo {
    padding-top: 15px;
}

article p {
    font-size: 14px;
    padding-top: 10px;
}

/*FOOTER*/

footer {
    background-color: #1f1f1f;
    padding: 15px;
    padding-bottom: 20px;
    padding-top: 15px;
    color: white;
    font-size: 9.5px;
    text-align: left;
    line-height: 1.5em;
}
