@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible&display=swap');

* {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.nav li {
    display: inline;
    padding: 0 2%;
}

h1 {
    border-bottom: 1px solid #000000;
    font-size: 6em;
    background-color: rgba(0,0,0,50%);
}

body {
    background-color: #202124;
}

.content {
    background-image: url('img/header.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 0.2em;
    color: white;
}

header {
    text-align: center;
}

.nav {
    padding: 1em;
    background-color: rgba(0,0,0,40%);
}

.nav a {
    display: inline-block;
    padding: .5em;
    font-size: 2.5em;
    color: rgb(230,230,230);
    text-decoration: none;
}

.nav a:hover {
    background-color: rgba(50,50,50,50%);
    border-radius: 10px;
}

.intro {
    font-size: 1.5em;
    background-color: rgba(0,0,0,50%);
    padding: 1em;
    width: 80%;
    margin: 1em auto;
    border-radius: 10px;
}

.intro ul {
    list-style-position: inside;
    text-indent: -20px;
    margin-left: 20px;
}

.intro li {
    font-weight: normal;
    margin-bottom: 10px;
}

.intro p, .blog p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.intro a {
    font-weight: bold;
    color: rgb(230,230,230);
}

.intro a:hover {
    color: rgba(175,175,175);
    text-decoration: none;
}

.blog {
    padding: 1em;
    margin: 1em auto;
    color: white;
    font-size: 1.5em;
    width: 80%;
}

.blog img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

footer {
    padding: 1em;
    font-size: 1.5em;
    color: white;
    float: right;
}

footer a, .blog a {
    font-weight: bold;
    color: #876C3A;
}

footer a:hover, .blog a:hover {
    text-decoration: none;
}

/* Based on: https://stackoverflow.com/a/48694906 */
pre {
    background: #303134;
    border-left: 3px solid #ffffff;
    color: #ffffff;
    page-break-inside: avoid;
    font-family: monospace;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1em 1.5em;
    display: block;
    word-wrap: break-word;
}
