@font-face {
    font-family: "JetBrains Mono Regular";
    src: url("fonts/woff2/JetBrainsMono-Regular.woff2") format("woff2"),
         url("fonts/woff/JetBrainsMono-Regular.woff") format("woff");
}

body {
    background: #151515;
    color: #e6e6e6;
    font-size: 1rem;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    line-height: 1.5;
    margin: 0.5rem;
    padding: 0;
}

h1, h2, h3 {
    font-family: "JetBrains Mono Regular", Consolas, "Lucida Console", "Courier New", monospace;
    color: #aceca1;
    margin: 0;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1rem;
}

h3 {
    margin: 2em 0 0.5em 0;
    font-size: 1.0rem;
}

h3.about-me {
    margin-bottom: -0.5rem;
}

a {
    color: #0c7b93;
    text-decoration: none;
}

a:visited {
    color: #0c7b93;
}

a:hover {
    color: #00a8cc;
    text-decoration: underline;
}

svg {
    fill: currentColor;
    width: 1.6rem;
    height: 1.6rem;
}

ul.social {
    margin: 1.4rem 0;
    padding: 0;
}

ul.social > li {
    display: inline-block;
    margin-right: 1.0rem;
}

.profile-image {
    width: 3rem;
    vertical-align: middle;
    border-radius: 50%;
    border: 2px solid #aceca1;
}

@media (min-width: 640px) {
    body {
        margin: 1rem 22%;
    }

    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h3.about-me {
        margin-bottom: 0.5em;
    }
        
    svg {
        width: 2rem;
        height: 2rem;
    }

    .profile-image {
        width: 9rem;
        float: right;
    }    
}
