@font-face {
  font-family: jetbrains-mono; /* set name */
  src: url(../fonts/JetBrainsMono-Regular.ttf); /* url of the font */
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: jetbrains-mono; /* set name */
  src: url(../fonts/JetBrainsMono-Thin.ttf); /* url of the font */
  font-weight: normal;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: jetbrains-mono, monospace;
}

:root {
    --dark-brown: #795136;
    --beige: #d6c9b1;
}

.root {
    width: 100%;
    min-height: 100vh;
    color: white;
    display: flex;
    image-rendering: auto;
}

.bg {
    background-image: url(/img/woodcottage.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    image-rendering: pixelated;
    height: 100vh;
    width: 100%;
}

.inner-bg {
    background-image: url(/img/rain.gif);
    image-rendering: pixelated;
    background-color: #0000005d;
}

.main {
    overflow-y: auto;
    height: 100vh;
    width: 100%;
}

.inner {
    width: 920px;
    margin: 0 auto;
    height: fit-content;
    background-color: #0000009c;
    border: 5px solid var(--dark-brown);
    padding: 40px;
}

a {
    color: white;
}

a:hover {
    transition: 0.2s;
    color: var(--beige);
}

.content > p, .content > .paragraph {
    margin: 20px 0;
}

.display-none {
    display: none;
}

code {
    display: block;
    width: 100%;
    padding: 20px;
    background-color: #2c2c2cc5;
    overflow-x: auto;
}

.inline-code {
    background-color: #2c2c2cc5;
    font-size: 14px;
    padding: 3px;
}

code > pre {
    width: fit-content;
    font-size: 14px;
}