/* * {
    margin: 0;
} */

@font-face {
    font-family: 'MonospaceTypewriter';
    src: url('../fonts/MonospaceTypewriter/MonospaceTypewriter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Office Code Pro Regular';
    src: url('../fonts/office-code-pro/officecodepro-regular.otf') format('opentype');
    font-weight: normal;
    font-size: normal;
}

@font-face {
    font-family: 'FjallaOne-Regular';
    src: url('../fonts/fjalla/FjallaOne-Regular.otf') format('opentype');
    font-weight: normal;
    font-size: normal;
}

header {
    position: sticky;
    top: 0;
    overflow: hidden;
    background-color: #e9e9e9;
    display: flex;
    justify-content: center;
    padding: .5em;
}

header h1 {
    font-family: 'MonospaceTypewriter';
    font-size: larger;
    margin-right: 2em;
    text-transform: lowercase;
}

header input[type=text] {
    padding: .35em;
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    font-size: 1em;
    width: 35%;
    text-align: center;
}

header input[type=text]:focus {
    border: 1px solid #000;
    outline: none;
}

main > section {
    padding-top: 1rem;
    padding-bottom: 5rem;
}

main > section > article > h1 {
    /* column-span: all; */
    margin: 0.25em 5em;
    padding: 0;
    font-family: 'FjallaOne-Regular';
    /* color: lightblue; */
    text-align: center;
}

main > section > article > p {
    padding: 0.25em;
    font-family: 'Office Code Pro Regular';
    font-size: 0.75em;
}

.keys {
    display: inline-block;
    margin-right: 1em;
    width: 50%;
    text-align: right;
}

.keys > kbd {
    display: inline-block;
    background-color: black;
    color: white;
    border-radius: 0.35em;
    padding: 0.25em;
    align-content: center;
    margin-left: .25em;
    margin-right: .25em;
    min-width: 1.3em;
    min-height: 1.3em;
    text-align: center;
    font-family: 'MonospaceTypewriter';
    font-size: 1em;
    font-weight: lighter;
    letter-spacing: -0.1em;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #363f4a;
    color: #fff;
    text-align: center;
    padding: 1em;
    margin-top: 1em;
}