:root {
    --black: #27374D;
    --dark: #526D82;
    --light: #9DB2BF;
    --white: #DDE6ED;
    --funky: #9299b2;
}

/* -------RESETS------- */
html {
    overflow-x: hidden;
    background: #F6FBFD;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-size: 20px;
    font-family: Roboto, sans-serif;
}

body {
    margin: 0;
    overflow: hidden;
    min-height: 100vh;
    padding-bottom: 200px;
    background: var(--funky);
}

*, *::after, *::before {
    color: inherit;
    box-sizing: inherit;
    font-family: inherit;
}

a, a:visited {
    cursor: pointer;
    text-decoration: none;
}

fieldset {
    min-width: 0;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
}

img {
    max-width: 100%;
    max-height: 100%;
}
/* -------RESETS END------- */

header {
    width: 100%;
    padding: 40px;
    background: var(--black);
}

header nav {
    display: flex;
    column-gap: 40px;
    justify-content: center;
}

header nav a {
    position: relative;
    font-size: 1rem;
    color: var(--white);
    filter: drop-shadow(0 0 0 transparent);
    transition: 0.3s filter;
}

header nav a:hover {
    filter: drop-shadow(0 0 2px var(--white));
}

article {
    width: 1500px;
    max-width: 100%;
    margin: 60px auto 0;
    padding-inline: 40px;
}

article h1 {
    color: var(--black);
    font-size: 2rem;
    line-height: 1.6;
}

article h2 {
    color: var(--black);
    font-size: 1.2rem;
    line-height: 1.6;
}

article h3 {
    color: var(--black);
    font-size: 1rem;
    line-height: 1.4;
}

table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    border: 1px solid var(--black);
}

table thead {
    background: var(--light);
    border: 2px solid var(--black);
}

table th {
    color: var(--black);
    padding: 10px;
    text-align: start;
}

table tbody {
    border: 2px solid var(--black);
}

table td {
    color: var(--black);
    padding: 10px;
    border: 2px solid var(--black);
}

table td:nth-child(1),
table td:nth-child(2),
table td:nth-child(3) {
    white-space: nowrap;
}

table td::selection {
    color: var(--white);
    background: var(--black);
}

table td a:hover {
    text-decoration: underline;
}

code {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.8;
    padding: 3px 8px;
    white-space: nowrap;
    background: var(--black);
    font-family: monospace, sans-serif;
}

code.red {
    color: #d10606;
    background: #fffafac9;
}

code::selection {
    color: var(--black);
    background: var(--white);
}

code.red::selection {
    color: #ffffffcc;
    background: #a10303;
}

code.result {
    font-style: italic;
}

code.red.result {
    background: var(--white);
}

div.select3 {
    width: fit-content;
    max-width: 500px;
}

div.select3 .inner span,
div.select3 span.selected-top {
    font-size: 0.8rem;
}

button,
.button {
    height: 50px;
    line-height: 50px;
    margin: 30px 0;
    padding: 0 20px;
    font-size: 20px;
    color: var(--white);
    background: var(--dark);
    font-family: monospace, sans-serif;
    box-shadow: inset 0 0 3px 3px var(--black);
}

button:active {
    transform: translateY(3px);
}