html {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: larger;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: #1565c0;
}

a:hover {
    color: #217ee7;
}

/* Original (did not work well when the div was larger than the window)
#content {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%) ;
    text-align: center;
    max-width: 520px;
    padding: 32px;
    line-height: 1.6em;
} */

/* fix (see https://stackoverflow.com/a/14816807 )*/
#content {
    /* width: 420px; */
    height: 600px;
    /* background-color: blue; */
    position: absolute; /*Can also be `fixed`*/
    left: 0;
    right: 0;
    top: 32px;
    bottom: 0;
    margin: auto;
    /*Solves a problem in which the content is being cut when the div is smaller than its' wrapper:*/
    max-width: 520px;
    max-height: 100%;
    /* overflow: auto; */
    text-align: center;
    line-height: 1.6em;
    padding: 32px;
}

.avatar {
    border-radius: 50%;
    width: 150px;
}

.icons {
    list-style-type: none;
    font-size: xx-large;
    padding: 0;
    display: flex;
    justify-content: space-between;
    width: 30%;
    max-width: 320px;
    margin: 1em auto;
}

@media screen and (max-width: 450px)  {
    .icons {
        width: 40%;
    }
}

.icons li {
    display: inline;
    width: 42px;
}

.icons a {
    color: black;
}

.icons a:hover {
    color: #1565c0;
}
