:root {
    --background-color: #03120E;
    --primary-color: #26413C;
    --secondary-color: #1A1D1A;
    --tertiary-color: #8AB0AB;
    --text-color: #F1F1F1;
    --background-emphasis-color: #000;
    --border-color: #1A1D1A50;
}

@media (prefers-color-scheme: light) {
    :root {
        --background-color: #F1F1F1;
        --primary-color: #8AB0AB;
        --secondary-color: #1A1D1A;
        --tertiary-color: #26413C;
        --text-color: #03120E;
        --background-emphasis-color: #FFF;
        --border-color: #1A1D1A50;
    }
}

body {
    margin: 0;

    background-color: var(--background-color);
    color: var(--text-color);
}

header {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
}

a {
    text-decoration: none;
    color: #2596BE;
}

#hero {
    height: 100dvh;
    display: flex;
    align-items: center;

    font-size: 4rem;
    padding-left: 0.5rem;
}

.project-item {
    min-height: 50dvh;
    display: flex;
    flex-direction: column;
}

.work-item {
    min-height: 40dvh;
    display: flex;
    flex-direction: column;
}

main {
    padding: 0.25rem;
}

h1 {
    font-weight: normal;

    font-size: 2rem;
}

h2 {
    font-weight: normal;
    margin-block-start: 0.2rem;
    margin-block-end: 0.2rem;

    font-size: 1.25rem;
}

h3 {
    font-weight: normal;
    margin-block-start: 0rem;
    margin-block-end: 0rem;

    font-size: 1.1rem;
}

p {
    line-height: 1.5rem;
}

p code {
    background-color: var(--background-emphasis-color);
    border: var(--border-color) solid;
    padding: 0.2rem;
    font-size: 0.75rem;
}

@media screen and (min-width: 960px) {
    #hero {
        font-size: 8rem;
        padding-left: 2rem;
    }

    main {
        padding: 1.5rem;

        font-size: 1.25rem;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p code {
        font-size: 0.95rem;
    }
}
