:root {
    font-size: 16px;

    --header-height: 64px;
}
/* general */
* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    max-height: fit-content;
}

h1.cover {
    color: #404040;
    font-size: 2.5rem;
    letter-spacing: 1px;

    padding: 0 0 2rem;
}
h1.cover strong {
    color: #000;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-weight: 500;
    font-size: 1.5rem;
}

h5 {
    font-weight: 500;
    font-size: 1.25rem;
}

h6 {
    font-weight: 500;
    font-size: 1rem;
}

p {
    font-size: 1.25rem;
}

ul {
    font-size: 1.5rem;

    margin-left: 2rem;
}

table {
    width: fit-content;
    border-collapse: collapse;
}

table th, table td {
    padding: .5rem 1rem;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
}

code {
    font-size: 1rem;
    font-family: 'Roboto Mono', 'Courier New', Courier, monospace;

    display: inline-flex;
    max-width: 100%;
    padding: .5rem .75rem;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;

    overflow-x: scroll;
}

/* header */
header {
    display: flex;
    flex-direction: row;
    height: var(--header-height);
    padding: 1rem;
    box-shadow: 0 0 1rem #80808080;
}

header nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header a {
    font-size: 1.5rem;
    color: #404040;
    text-decoration: none;
}

input[name="menu"], #menu-btn {
    display: none;
}

header nav>a {
    font-weight: 600;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

header nav li>a:hover {
    text-decoration: underline solid 2px #606060;
}

header nav li>a {
    font-weight: 500;
    color: #606060;

    display: flex;
    flex-direction: row;
    gap: .5rem;
}

header nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 1rem;
}

/* main */
main {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 1440px;
    padding: 2rem 3rem;
    margin: 0 auto;
    gap: 1rem;
}

main>section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

main a {
    font-size: 1.5rem;
    color: #4060e0;
}

/* footer */
footer {
    padding: 2rem 0;
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
}

footer section {
    max-width: 1440px;
    padding: 0 3rem;
    margin: 0 auto;
}

footer small {
    font-size: 1rem;
}