body {
    color: white;
    background-color: #343434;
    font-family: Roboto, sans-serif;
    text-align: center;
}
img {
    border-radius: 50%;
    display: block;
    margin: 2rem auto;
}
h1 {
    font-family: Pacifico, cursive;
    font-size: 3rem;
    line-height: 1;
}
em {
    background-color: darkmagenta;
    padding: 0.5rem;
    font-family: monospace;
    font-style: normal;
}
main h2 {
    font-size: 1.5rem;
    margin-top: 0;
    line-height: 1.5;
}
.exercise {
    background-color: black;
    font-family: monospace;
    font-size: 1.35rem;
    text-align: initial;
    position: relative;
}
.exercise > p {
    padding: 0.5rem 1.25em;
    margin-bottom: 0;
}
.exercise > p:last-of-type {
    background-color: white;
    color: black;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
}
.exercise > p {
    background-color: darkmagenta;
}
.exercise:last-of-type > * {
    background-color: seagreen;
}
pre {
    margin-top: 0;
}
code {
    display: block;
    line-height: 1.5;
}
.solved {
    color: #343434;
    background-color: aquamarine;
}
.incorrect {
    background-color: firebrick;
}
ul {
    list-style-type: none;
    padding: 0;
}
li {
    line-height: 2;
}
dl {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-gap: 0.5rem;
}
dl > div {
    padding: 1rem 0;
    background-color: #121212;
}
dt {
    font-family: Pacifico, cursive;
}
dd {
    margin: 0;
    font-size: 1.5rem;
}
a {
    color: white;
    text-decoration: none;
}
.fa-twitter {
    color: #1da1f2;
}
.fa-heart {
    color: red;
}
button, input[type="submit"] {
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1rem;
    background: none;
    font-size: 1rem;
    font-family: Roboto, sans-serif;
    cursor: pointer;
}
button.primary {
    font-size: 2rem;
    background-color: white;
    color: #343434;
}
button:disabled {
    font-style: italic;
    border-color: #454545;
    color: #999;
    cursor: initial;
}
form {
    max-width: 420px;
    margin: 1rem auto;
}
fieldset {
    background-color: #121212;
    border: none;
    text-align: left;
    margin: 1rem 0;
}
input[type="email"],
input[type="submit"] {
    box-sizing: border-box;
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
}
input + label {
    margin-right: 0.5rem;
}
.fa-star {
    color: yellow;
}
@media only screen and (min-width: 1228px) {
    main {
        display: grid;
        grid-gap: 1rem;
        grid-template-columns: 1fr 3fr 1fr;
    }
    .exercise {
        margin: auto;
        margin-bottom: 1rem;
    }
    .exercise > * {
        margin: 0;
        line-height: 1.5;
        font-size: 1.25rem;
    }
    .exercise pre {
        line-height: 1;
    }
    dd {
        font-size: 3rem;
    }
    button {
        margin: 0;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }
}