:root {
    height: 100%;

    --bg: #0a0a0a;
    --bg-alt: #111;

    --fg: #fff;

    --link: #0de;
    --semilink: #aaa;
    --link-alt: #fb4;

    --bg-lines-a: #000;
    --bg-lines-b: #023;
    --bg-lines-c: #07a;

/*
    --bg: #0a0a0a;
    --bg-alt: #111;

    --fg: #fff;

    --link: #0de;
    --link-alt: #fb4;

    --bg-lines-a: #000;
    --bg-lines-b: #023;
    --bg-lines-c: #07a;
*/
}

body {
    height: 100%;
    margin: 0;

    font-size: 1.2em;
    line-height: 1.62;
    font-family: 'Courier New', monospace;

    background-color: var(--bg);
    color: var(--fg);

    text-align: justify;
}

a {
    color: var(--link);
    text-decoration: none;
}

a.gray {
    color: var(--semilink);
}

a:hover {
    text-decoration: underline;
    color: var(--link-alt);
}


/* index */
.index-display {
    height: 100%;
    align-content: center;
}

#title {
    text-align: center;
    font-style: italic;
    margin: 0.2em;
}

#about, #projects {
    min-height: 100%;
    margin: 0 auto;
    align-content: center;
}

#about nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#about nav h4 {
    margin: 0;
    margin-bottom: 1em;
}

#projects {
    background-color: var(--bg-alt);
    direction: rtl;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.projects .project {
    width: 17em;
    border: 2px solid #666;
    padding: 1em;
    text-align: end;
    margin-bottom: 1em;
}

.projects .project span {
    font-size: 1em;
}

.projects .project h4 {
    margin: 0.4em 0;

}

svg.icon {
    fill: var(--fg);
}

.icon {
    width: 3em;
}

.index-display#main nav {
    display: flex;
    justify-content: center;
    gap: 2em;

    background-color: #000b;
}

.index-display#main .bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -3;
}

.index-display#main:before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient( to bottom, rgba(16, 16, 18, 0) 50%, rgba(0, 0, 0, 0.25) 50% );
    background-size: auto;
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1;

    /*
    animation-name: main;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    */
}

@keyframes main {
    0%   {top: 0px;}
    100% {top: 4px;}
}

.index-art {
    position: absolute;
    top: 0;
    bottom: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
    z-index: -2;
}
.index-art svg {
    position: relative;

    width: 50em;
    height: 50em;

    top: calc(50% - 25em);
    left: calc(50% - 25em);

    stroke-width: 2px;
    stroke: blue;
    z-index: -2;
}



.section {
    padding: 1em 2em;
    width: 40em;
    max-width: calc(90% - 2em);
    margin: 0 auto;

/*
    background-color: #120d0a;
    border: 2px var(--link-alt) solid;

    -webkit-box-shadow:0px 0px 40px 0px #fb47;
    -moz-box-shadow: 0px 0px 40px 0px #fb47;
    box-shadow: 0px 0px 40px 0px #fb47;
*/
}


h2, h3 {
    font-weight: normal;
}
