* {
    margin: 0;
    padding: 0;
}

html {
    scrollbar-width: thin;
    tab-size: 4;
    line-height: 1.5;
}

html,
body {
    height: 100%;
    background: oklch(20% .04 256);
    color: oklch(97% .005 240);;
    font-size: 1rem;
    font-family: "Inter", system-ui, sans-serif;
    text-align: center;
}

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    display: block;
    background: url('aurora.png') no-repeat 50% 0;
    background-size: 100% auto;
}

#layout {
    text-align: left;
    margin: 0 auto;
}

header {
    position: sticky;
    left: 0;
    top: 0;
    width: 100%;
    align-items: center;
    transition-duration: 0.3s;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(1rem);
    background-color: color-mix(in oklab, oklch(20% .04 256) 80%, transparent);
    border-bottom: 1px solid oklch(32% .03 256 / .6);
}

header .content {
    padding: 1rem;
    position: relative;
}

header h1 {
    font: 1.65rem sans;
    padding: 0.2rem 0 0 0;
    float: left;
}

header nav {
    text-align: center;
}

header nav a {
    padding: 0.5rem 1rem;
}

header p {
    position: absolute;
    right: 1.5rem;
    top: 1.8rem;
    display: inline-block;
    text-transform: uppercase;
    color: oklch(74% .015 250);
    letter-spacing: 0.2em;
    font-size: x-small;
}

aside,
main {
    border-bottom: 1px solid oklch(32% .03 256 / .6);
    padding: 6rem 1.5rem;
}

aside article {
    margin: 0;
    color: color-mix(in oklab, oklch(97% .005 240) 80%, transparent);
    padding-top: 6rem;
    padding-bottom: 6rem;
}

aside h3 {
    font-size: 4.5rem;
    line-height: 1;
}

aside h3 span {
    font-style: oblique;
}

aside h3 + p {
    font-size: 1.25rem;
}

main {
    min-height: 100vh;
}

footer {
    padding: 6rem 1.5rem;
    background: color-mix(in oklab, oklch(16% .035 258) 40%, transparent);
    color: oklch(74% .015 250);
}

aside article,
footer div.content {
    max-width: 720px;
}

footer h5 + p {
    border-bottom: 1px solid oklch(32% .03 256 / .6);
    margin-bottom: 1.5rem;
}

footer p:last-of-type {
    float: right;
}

footer a {
    color: oklch(74% .015 250);
    text-underline-offset: 4px;
}

footer a:hover,
footer a:focus,
footer a:active {
    color: oklch(78% .1 82);
    text-decoration: underline;
}

footer h4,
footer h5,
footer h6 {
    font-size: 1.25rem;
}

aside,
div.content,
article {
    max-width: calc(1500px - 3rem);
    padding: inherit 1rem;
    margin: 0 auto;
    overflow: hidden;
}

main article {
    padding-top: 6rem;
    padding-bottom: 4.5rem;
    max-width: 720px;
}

nav ul,
form ul {
    list-style: none;
    padding: 0;
}

nav li,
nav a {
    display: inline-block;
}

nav a {
    color: oklch(74% .015 250);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding-bottom: 1.5rem;
    font: 3rem Fraunces, Georgia, serif;
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
    color: #0000;
    background-image: linear-gradient(135deg, #f0d592, #d7b16a, #ad7b3d);
    -webkit-background-clip: text;
    background-clip: text;
}

a {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .3s;
    color: #fff;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: oklch(97% .005 240);
    text-decoration: none;
}

abbr {
    text-decoration: none;
    border: 0;
    cursor: inherit;
}

details {
    border-bottom: 1px solid oklch(32% .03 256 / .6);
    padding: 1rem 0;
}

summary {
    display: block;
    cursor: pointer;
    font: 1.25rem Fraunces, Georgia, serif;
    padding: 1rem 0;
    background: url('arrow-down.svg') no-repeat calc(100% - 1rem) 1.25rem;
    background-size: 15px 15px;
}

details[open] summary {
    background-image: url('arrow-up.svg');
}

details p {
    color: oklch(74% .015 250);
}

.goldline {
    text-transform: uppercase;
    color: color-mix(in oklab, oklch(78% .1 82) 90%, transparent);
    letter-spacing: 0.28em;
    font-size: 0.7rem;
    font-weight: normal;
    padding-bottom: 0.5rem;
}

.goldline:before {
    content: ' ';
    display: inline-block;
    line-height: 1;
    overflow: hidden;
    height: 1px;
    width: 5%;
    background: color-mix(in oklab, oklch(78% .1 82) 90%, transparent);
    vertical-align: middle;
    margin-top: -1px;
    margin-right: 1rem;
    cursor: default;
    user-select: none;
}

p,
ul,
ol,
dl,
table {
    padding-bottom: 1.5rem;
}

#resurssit ul {
    list-style: none;
}

#resurssit li,
#resurssit a {
    display: block;
}

#resurssit a {
    padding: 1rem 0;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: oklch(74% .015 250);
    letter-spacing: 0.15rem;
    border-bottom: 1px solid oklch(32% .03 256 / .6);
    background: url('arrow-corner.svg') no-repeat calc(100% - 1rem) 1.75rem;
}

#resurssit strong {
    font: 1.25rem Fraunces, Georgia, serif;
    text-transform: none;
    color: oklch(97% .005 240);
    letter-spacing: normal;
    display: inline-block;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#resurssit a:hover strong,
#resurssit a:focus strong,
#resurssit a:active strong {
    color: oklch(78% .1 82);
}

@media (max-width: 980px) {
    header p {
        display: none;
    }
}

@media (max-width: 580px) {
    header nav a {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    footer p:last-of-type {
        float: none;
    }
}

@media (max-width: 550px) {
    header nav {
        display: none;
    }
    aside h3 {
        font-size: 3rem;
    }
}