@font-face {
    font-family: iconFont;
    src: url(../fonts/fa-solid-900.ttf);
}

@font-face {
    font-family: brandFont;
    src: url(../fonts/fa-brands-400.ttf);
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    border: none;
}

html {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    color: #222222;
}

body {
    max-width: 40em;
    margin: 0 auto;
    padding: 2em;
}

header {
    padding-bottom: 1em;
}

footer {
    padding-top: 1em;
}

hr {
    height: 1px;
    background-color: #222222;
}

header>hr {
    margin-top: 0.5em;
}

footer>hr {
    margin: 0.5em 0;
}

a {
    color: #222222;
}

a:hover {
    color: #606060;
}

a:focus,
a:active {
    text-decoration: inherit !important;
    color: inherit !important;
}

h1 {
    font-size: 1.3rem;
}

h2 {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 0.8rem;
}

h3 {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 0.8rem;
}

h4 {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0.8rem;
}

img {
    display: block;
    width: 50%;
    margin: 1em 0;
}

.icon {
    font-style: normal;
    margin-right: 0.5em;
}

.icon-phone::before {
    font-family: iconFont;
    content: "\f095"
}

.icon-email::before {
    font-family: iconFont;
    content: "\f1fa";
}

.icon-linkedin::before {
    font-family: brandFont;
    content: "\f08c";
}

.icon-github::before {
    font-family: brandFont;
    content: "\f092";
}

.icon-text {
    display: flex;
    line-height: 1.8;
}

.links {
    display: flex;
    margin: 0.3em 0;
}

.icon-link {
    font-size: 1.5rem;
}

ul {
    margin: 0.5em 0;
}

li {
    list-style: inside;
}

@media screen and (max-device-width: 480px) {

    body {
        width: 100vw;
        padding: 1em;
    }

    img {
        width: 100%;
        margin: 1em 0;
    }
}