:root {
    --text:  #232122;
    --header: #232122;
    --bg:    #fefefe;
    --navbg: #fefefe;
    --footercolor: #232122;
    --footerbg: #fefefe;
    --atext: #232122;
    --ahover:#ff3000;
    --border:#717070;
    --fontheader: "IBM Plex Mono", "Consolas", monospace;
    --fonttext: "IBM Plex Mono", "Consolas", monospace;
    --fontweighthead: 700;
    --fontweight: 400;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text:  #fefefe;
        --header: #fefefe;
        --bg:    #232122;
        --navbg: #232122;
        --footercolor: #fefefe;
        --footerbg: #232122;
        --atext: #fefefe;
        --ahover:#ff3000;
        --border:#717070;
        --fontheader: "IBM Plex Mono", "Consolas", monospace;
        --fonttext: "IBM Plex Mono", "Consolas", monospace;
        --fontweighthead: 700;
        --fontweight: 400;
    }
}

body{
    color: var(--text);
    background-color: var(--bg);
    font-family: var(--fonttext);
    
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    margin: 0;
}

h1,h2,h3,h4,h5,h6{
    color: var(--header);
    font-family: var(--fontheader);
    font-size: 2em;
    font-weight: var(--fontweighthead);
}

pre {
    font-family: var(--fonttext);
    font-size: 1em;
}

p, pre{
    color: var(--text);
    font-weight: var(--fontweight);
}

.project .paragraph{
    padding-bottom: 2em;
}

.project .video-embed,
.video-embed {
    aspect-ratio: 16 / 9;
    width: 100%;
}
.project .video-wrapper:hover,
.video-wrapper:hover {
    background-color: #fefefe50;
}

.project .playbtn {
    position: absolute;
    width: 10%;
    top: 40%;
    left: 45%;
}



.project .playnote {
    position: absolute;
    text-align: center;
    font-size: 0.8em;
    width: 20%;
    top: 60%;
    left: 40%;
    text-shadow: 0px 0px 8px rgba(0,0,0,1.0);
}

nav{
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--navbg);
    padding: 1em 2em;
}

footer{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--footercolor);
    background-color: var(--footerbg);
    font-size: 0.8em;

}

.footer-links {
    display: flex;
}

.footer-icons {
    gap: 16px;
}

a {
    color: inherit;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;   
}

a:hover {
    color: var(--ahover);
}

nav a,
footer a {
    text-decoration: none;
}

.link-wrap {
    text-decoration: none;
}

.link-default {

}

.link-default:hover {
    text-decoration: none;
}

.logo{
    display: flex;
    letter-spacing: 1em;
}

.logo-highlight{
    color: var(--ahover);
    animation: fade-in 2s linear;
}

.nav-items{
    display: flex;
    gap: 2em;
}

.content {
    margin: 1em auto;
    padding: 1em 2em;
}

.project {
    display: flex;
    flex-direction: column;
    max-width: 1280px;
    margin: 1em auto;
    padding: 1em 2em;
    width: calc(100% - 4em);
    box-shadow: 0px 0px 16px rgba(0,0,0,0.6);
}

.project * {
    padding: 0;
    margin: 0;
    width: 100%;
}

.image-caption {
    font-size: 0.8em;
}

@media screen and (max-width: 768px) {
    nav{
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-items{
        width: 100%;
        justify-content: space-between;
        gap: unset;
    }

    .project {
        padding: 1em 1em;
        width: calc(100% - 2em);
    }

    footer {
        flex-direction: column;
    }
}


@keyframes fade-in {
    0% { color: var(--text) }
    100% { color: var(--ahover) }
}
