:root {
    --bg-color: rgb(22, 22, 23);
    --txt-color: rgb(245, 245, 247);
    --link-color: rgb(134, 134, 139);
    --link-hover-color: rgb(210, 210, 215);
    --link-active-color: rgb(245, 245, 247);
}

@media (prefers-color-scheme: light) {
    :root {
        --bg-color: #f9f9f9;
        --txt-color: #363636;
        --link-color: #818181;
        --link-hover-color: #363636;
        --link-active-color: #191919;
    }
}

body {
    font-family: 'Source Sans Pro';
    background-color: var(--bg-color);
}

h1.title {
    color: var(--txt-color);
    text-align: center;
    font-size: 48px;
}

.links ul {
    list-style-type: none;
    text-align: center;
    margin: 0px;
    margin-top: 96px;
    padding: 0px;
}

.links li {
    display: inline;
    margin: 0px 24px;
}

@media only screen and (max-width: 768px) {
    .links ul {
        vertical-align: middle;
    }

    .links li {
        display: block;
        margin: 24px 0px;
    }
}

.links a {
    text-decoration: none;
    color: var(--link-color);
    font-size: 24px;
    transition: color 250ms;
}

.links a:hover {
    color: var(--link-hover-color);
}

.links a:active {
    color: var(--link-active-color);
}

#linkedin:before, #github:before {
    font-family: "Font Awesome 5 Brands";
    font-size: 28px;
    padding-right: 8px;
}

#email:before, #cv:before {
    font-family: "Font Awesome 5 Free";
    padding-right: 8px;
}

#linkedin:before {
    content: "\f0e1";
}

#email:before {
    content: "\f0e0";
}

#github:before {
    content: "\f09b";
}

#cv:before {
    content: "\f15b";
}
