:root {
    --bg-color-dark: black;
    --text-color-dark: #72ff72;

    --text-color-light: black;
    --bg-color-light: white;

    --bg-color: var(--bg-color-dark);
    --text-color: var(--text-color-dark);
}

@media screen and (prefers-color-scheme: light) {
    :root {
        --bg-color: var(--bg-color-light);
        --text-color: var(--text-color-light);
    }
}



html,
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: monospace;

    width: 100vw;
    height: 100vh;
    margin: 0;
}

* {
    box-sizing: border-box;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

a:hover {
    cursor: pointer;
    color: var(--text-color);
    text-decoration: underline;
}

pre {
    user-select: none;
}

dialog {
    color: var(--text-color);
    background-color: var(--bg-color);
    border: 2px solid var(--text-color);
}

.center {
    display: flex;
    justify-content: center;
    align-items: flex-start ;
    text-align: center;

    width: 100vw;
    height: 100vh;
}

.flex-col {
    text-align: center;
    gap: 8px;
}

.navbar {
    text-align: center;
    gap: 12px;

    border-top: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    padding: 8px;

    display: flex;
    justify-content: space-evenly;
    max-width: max-content;
    margin: 0 auto;
}


.hidden {
    display: none;
}

.double-row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.text-color {
    color: var(--text-color);
}

.project {
    padding: 10px;
    border: 2px solid var(--text-color);
    width: 25em;
}

.projects {
    display: flex;
    gap: 14px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    max-width: 50%;
    margin: 0 auto;
}

.about {
    max-width: 30%;
    text-align: left;

    margin: 0 auto;
}

@media only screen and (max-width: 900px) {
    .about {
        max-width: 50%;
        text-align: left;
    
        margin: 0 auto;
    }

    .projects {
        display: flex;
        gap: 14px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;

        max-width: 80%;
        margin: 0 auto;
    }
}

