html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    font-size: calc(1em * .625);
}

body {
    margin: 0;
    padding: 0;
    font-family: Lato, sans-serif;
    font-size: 1.6rem;
}

.wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 90rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    width: 100%;
    height: 6rem;
}

footer {
    width: 100%;
    height: 2rem;
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    text-align: right;
}

main {
    margin: 1.6rem auto 3.2rem auto;
    padding: 0 2rem;
    flex: 1;
    display: flex;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about {
    text-align: center;
}

.avatar img {
    width: 20rem;
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    border-style: none;
}

h1 {
    margin: 2rem 0 0.5rem 0;
    font-size: 3.2rem;
    font-weight: 700;
    color: #212121;
    line-height: 3.6rem;
}

h2 {
    margin: 1rem 0 0.5rem 0;
    font-size: 2.4rem;
    font-weight: 700;
    color: #212121;
    line-height: 3.2rem;
}

ul {
    margin: 3rem 0 1rem 0;
    padding: 0;
    list-style: none;
}

li {
    margin: 0 1rem;
    display: inline-block;
}

.icon {
    width: 3.2rem;
    height: 3.2rem;
    display: block;
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: #212121;
}

.icon:hover {
    background-color: #1565c0;
}

.icon-linkedin {
    -webkit-mask-image: url('../img/linkedin.svg');
    mask-image: url('../img/linkedin.svg');
}

.icon-twitter {
    -webkit-mask-image: url("../img/twitter.svg");
    mask-image: url("../img/twitter.svg");
}

.icon-github {
    -webkit-mask-image: url('../img/github.svg');
    mask-image: url('../img/github.svg');
}

.icon-medium {
    -webkit-mask-image: url('../img/medium.svg');
    mask-image: url('../img/medium.svg');
}