* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    list-style: none
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*NAVBAR*/

nav {
    background-color: black;
    padding: 20px;
    padding-left: 5px;
    display: flex;
    justify-content: space-between;
}

nav ul {
    display: flex;
}

nav ul li a {
    text-decoration: none;
    color: white;
    padding-left: 15px;
    font-weight: 100;
    font-size: 12px
}

nav ul li a:hover {
    font-weight: 800;
    color: lightpink;
}

/*MAIN*/

img {
    max-width: 100%;
}

main {
    margin: 30px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;

}

main h1 {
    font-size: 20px;
}

main h2 {
    font-size: 16px;
    font-weight: 100;
    padding-top: 5px;
    padding-bottom: 20px;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.materias {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: auto;
    margin-top: 30px;
}

.materiasap {
    min-width: 150px;
}

h3 {
    font-size: 12px;
    padding-bottom: 5px;
}

main ul li {
    font-size: 12px;
    padding-top: 5px;
}


/*FOOTER*/

footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: black;
    padding: 20px;
    color: white;
    font-size: 7px;
    text-align: left;
    line-height: 1.5em;
}

footer p {
    max-width: 80%;
    display: flex;
    font-weight: 100;
    margin: auto;
    text-align: center;
    padding-top: 10px;
}

.fotouba {
    width: 40px;
}

.fotodgpc {
    width: 55px;
    margin-left: 15px;
    margin-right: 15px;
}

.fotofadu {
    width: 60px;
}

footer ul {
    display: flex;
    align-items: center;
    margin: auto;
    flex-shrink: 0;
}

footer ul li a {
    align-items: center;
}
