:root {
    --body-text-size: 1.4rem;
    --background-color: #ffffff;
    --body-color: #000000;
    --body-font: sans-serif;
    /*'Instrument Sans', sans-serif;*/
    --heading-font: sans-serif;
    /*'Instrument Sans', sans-serif;*/
    --heading-size-factor: 1.6;
    --grid-color: rgba(0, 0, 0, 0.04);
    --site-padding: clamp(3rem, 2.868vw + 2.082rem, 6rem);
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-wrap: break-word;

    line-height: 1.4;

    font-size: var(--body-text-size);
    color: var(--body-color);
    background-color: var(--background-color);

    overflow: hidden;
    font-family: var(--body-font);
    margin: 0;
    display: flex;
}

h1,
h2,
h3 {
    font-family: var(--heading-font);
    font-size: calc(var(--body-text-size)*var(--heading-size-factor));
    font-weight: 500;
}

h2 {
    margin-bottom: 0;
    font-size: calc(var(--body-text-size)*var(--heading-size-factor)*0.8);
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
    height: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

*,
:after,
:before {
    box-sizing: border-box;
    outline: none;
}

*,
:after,
:before {
    box-sizing: border-box;
    outline: none;
}

.left {
    display: flex;
    flex-direction: column;
    align-content: space-between;
    justify-content: space-between;
    padding: var(--site-padding);
    z-index: 1;
}

.top {
    display: flex;
    flex-direction: column;
    max-width: 60ch;
}

a {
    color: var(--body-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.left::before {
    /* background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 35rem, rgba(9, 11, 12, 0.9) 100rem); */
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

body {
    background-image: linear-gradient(var(--grid-color) 1px, transparent 1px), linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 90px 90px, 90px 90px, 40px 40px, 40px 40px;
    height: 100vh;
    height: 100dvh;
}

/* 
body::before {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 35rem, rgba(9, 11, 12, 1));
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

@media (max-width: 700px) {
    body::before {
        content: unset;
    }
} */

@media only screen and (max-height: 600px) {
    body {
        overflow: unset;
    }
}