@font-face {
    font-family: 'Russo One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(./RussoOne-Regular.ttf);
}

* {
    box-sizing: border-box
}

body {
    font-size: 1.4em;
    font-family: -apple-system, 'avenir next', avenir, roboto, noto, 'helvetica neue', helvetica, ubuntu, 'franklin gothic medium', 'century gothic', sans-serif;
    line-height: 1.7em;
    padding: 0;
    margin: 0;
    display: block;
    background: radial-gradient(rgba(0, 0, 0, 0.5), black) fixed, url(./bg.png) fixed;
    background-size: cover;
    background-position: center;
    color: white;
}

nav {
    padding: 1em;
    max-width: 42em;
    margin-left: auto;
    margin-right: auto;

    display: flex;
    align-items: center;
    gap: 10px;
}

nav a {
    color: white;
    border-radius: 5px;

    display: inline-block;
    padding: 0 10px;
    opacity: 0.9;
}

nav a:hover {
    opacity: 1;
}


a {
    color: #cafcfa;
}

h1, h2, h3 {
    text-align: center;
    font-family: 'Russo One', sans-serif;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

section {
    padding: 0 2em;
    max-width: 46em;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(5px);
}

img, canvas, iframe, video, svg, select, textarea {
    max-width: 100%;
    height: auto;
}

pre > code {
    background: #333;
    color: white;
    display: block;
    line-height: 1;
    padding: 10px;
    border-radius: 4px;
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2);
    overflow: auto;
}

footer {
    text-align: center;
    padding: 1em;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
}
