:root
{
    --border-radius: 10px;
    --border-appearance: 2px solid #ffffff89;
    --border-appearance-hovered: 2px solid #ffffff;
    --text-color: #ffffff;
    --box-background-color: #0000002c;

    --minor-transition-properties: all ease-in-out 0.05s;
    --medium-transition-properties: all ease-in-out 0.15s;

    --link-hover-color: #b6dfff;
    --link-active-color: #474fb0;

    box-sizing: border-box;
    scroll-behavior: smooth;
}

@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: 0px;
    background-color: lch(12.74% 0 296.81);
    color: var(--text-color);

    font-family: "Roboto-Regular";
}

figure {
    margin: 5px;
}

img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

button {
    background-color: transparent;
    
    color: var(--text-color);
    font-size: 1.2em;
    
    transform-origin: center;
    margin: 4px;
    border-style: none;
    border-radius: 25px;
    border: var(--border-appearance);
    padding: 0.4em 1em;

    backdrop-filter: blur(3px) brightness(90%);

    cursor: pointer;
}

button:hover {
    border: var(--border-appearance-hovered);
}

header
{ 
    grid-area: header;
    
    display: flex;
    align-items: center;
    
    justify-content: space-between;

    /* margin: 10px; */
    padding: 0 9vw;

    background-color: #2d2727;

    border-bottom: var(--border-appearance);
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

main {
    grid-area: main;
}

section {
    margin: 2em 0em 0em 0em;    
}


nav {
    /* grid-area: sidebar; */
    position: sticky;
    align-self: start;

    /* left: 30px; */
    top: 25%;
    margin: 10em 0em;
    padding-left: 2em;

    width: 175px;

    > ol {
        list-style: none;
        padding: 0px;

        > li {
            margin-left: 0em;
            margin-bottom: 0.5em;
            
            > ol {
                list-style: "->  ";
                padding: 0.6em 0em;

                > li {
                    margin-left: 2em;
                    margin-bottom: 0.25em;
                }
            }
        }
    }

    a {
        font-family: "NaturalMono";

        &:link, &:visited {
            color: #ffffff;
            text-decoration: none;
        }

        &:hover {
            color: var(--link-hover-color);
        }

        &:active {
            color: var(--link-active-color);
        }
    }
}

footer
{
    grid-area: footer;
}

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;
}

a {
    &:link, &:visited {
        color: #4388ff
    }

    &:hover {
        color: var(--link-hover-color);
    }

    &:active {
        color: var(--link-active-color);
    }
}

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 {
    /* set base grid options*/
    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 {
}




