html {
    scroll-behavior: smooth;
}

:root {
    --page-color: lch(12.74% 0 296.81);
    --text-color: #ffffff;

    --border-radius: 20px;
    --border-appearance: 2px solid #ffffff89;
    --border-appearance-hovered: 2px solid #ffffff;

    --button-text-color: oklch(24.776% 0.00003 271.152);
    --button-background-color: oklch(100% 0.00011 271.152);
    --button-border-radius: 30px;

    --link-text-color: oklch(64.582% 0.18987 251.9);
    --link-hover-color: oklch(64.582% 0.18987 251.9);
    --link-pressed-color: oklch(45.805% 0.14685 263.822);

    --link-decoration-style: none;
    --link-hovered-decoration-style: solid underline 0.2em;

    --minor-transition-properties: all ease-in-out 0.05s;
    --medium-transition-properties: all ease-in-out 0.15s;

    --item-background-color: oklch(0% 0 0);
    --item-border-radius: 25px;
    --item-border-width: 0.125em;

    --line-color: oklch(100% 0.00011 271.152);
}

@font-face {
    font-family: "NaturalMono";
    src: url("NaturalMono-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Roboto-Regular";
    src: url("Roboto-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    margin-top: 2em;
    
    background-color: var(--page-color);
    
    font-family: "Roboto-Regular";
    color: var(--text-color);
    
    display: grid;
    grid-gap: 10px;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr 3fr 1fr;
    grid-template-areas:
    ". main .";
    
    max-width: 1400px;
    justify-self: center;

    @media screen and (width <=800px) {
        grid-template-rows: auto;
        grid-template-columns: auto;

        margin-left: 4%;
        margin-right: 4%;

        grid-template-areas:
            "nav"
            "main";
    }
}


nav {
    position: sticky;
    align-self: start;

    top: 15%;
    padding: 0 2em;

    /* max-width: 500px; */
    /* justify-self: right; */

    @media screen and (width <=800px) {
        grid-area: nav;

        position: initial;
        align-self: initial;

        top: initial;

        padding: 0;
    }
}

main {
    justify-self: center;
    grid-area: main;

    section {
        >h2 {
            text-align: center;
        }
    }
}

img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

button {
    cursor: pointer;
    transform-origin: center;

    color: var(--button-text-color);
    background-color: var(--button-background-color);
    /* font-size: 1.2em; */

    /* margin: 4px; */
    border-radius: var(--button-border-radius);
    /* border: var(--button-border-appearance); */
    /* padding: 0.4em 1em; */

    /* backdrop-filter: blur(3px) brightness(90%); */
}

a {
    text-decoration: var(--link-decoration-style);
    color: var(--link-text-color);

    &.horizontal-button {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0.2em 1em;

        background-color: var(--button-background-color);
        color: var(--button-text-color);

        border-radius: var(--button-border-radius);

        >* {
            margin: 0em 0.2em;
        }

        >img {
            width: 2em;
            height: 2em;
            border-radius: 0;
        }

    }

    &:hover {
        color: var(--link-hover-color);
        text-decoration: var(--link-hovered-decoration-style);
    }

    &:active {
        color: var(--link-pressed-color);
    }
}

hr {
    height: 1px;
    background-color: var(--line-color);
}

iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

figcaption {
    font-style: italic;
}

/*
button:hover {
    border: var(--border-appearance-hovered);
}
*/




/* section {
    margin: 2em 0em 0em 0em;    
} */



/*

h1 {
    font-family: "NaturalMono";
    margin: 0.5em;
}

h2 {
    font-family: "NaturalMono";

    text-align: center;
    
    margin: 0.25 lem 10%;
    border-radius: var(--border-radius);
    border-bottom: var(--border-appearance);
    padding: 0.5em;
}

h3 {
    font-family: "NaturalMono";
    color: #d3d3d3;
    font-weight: bolder;
    margin: 0.5em 0em;    
}

p {
    
    max-width: 50em;
    line-height: 24px;
}

li {
    line-height: 24px;
}

code {
    font-family: "NaturalMono";

    background-color: #000000;

    margin: 1em;
    border-radius: var(--border-radius);
    border-left: var(--border-appearance);
    padding: 0.75em;
}

div.container {
    display: grid;
    grid-gap: 10px;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr 5fr 1fr;
    grid-template-areas:
        "header header header"
        ". main ."
        "footer footer footer";
}

div.description {
    background-color: var(--box-background-color);
    
    padding: .75em 2em;
    border-bottom: var(--border-appearance);
    border-left: var(--border-appearance);
    border-right: var(--border-appearance);
    border-radius: var(--border-radius);

    box-shadow: 0px 0px 10px lch(100% 0.01 296.81 / 0.165) inset;

    >ul {
        list-style-type: circle;
    }
}

div.section-content {
}



 */