:root {
    --base: 40px;
}

body {
    font-size: 30px;
    font-family: "Times New Roman", serif;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.name {
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: red;
    text-decoration-thickness: 1px;
    text-underline-offset: 1px;
}

h1, h2, pre, sup, p {
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    white-space: pre-wrap;
    margin: 0;
}

a {
    text-decoration: underline;
    text-decoration-thickness: .05em;
    text-underline-offset: .1em;
    cursor: pointer;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--base);
    row-gap: calc(var(--base) * 2);
    padding: var(--base);

    @media only screen and (max-width: 900px) {
        grid-template-columns:  1fr;
        row-gap: calc(var(--base) * 1);
    }
}

.about {
    display: grid;
    grid-template-columns: subgrid;
    grid-template-columns: 1fr 1fr 1fr;

    @media only screen and (max-width: 900px) {
        grid-row: 3;
    }

    @media only screen and (max-width: 600px) {
        grid-template-columns: 1fr 1fr;
    }
}


a:hover {
    text-decoration: none !important;
}

.hieroglyph {
    font-size: 60px;
    line-height: 1;
}

.mb {
    margin-bottom: var(--base);
}

.list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    margin-top: 0px;
}

.projects {
    padding-right: 20px;
}

.projects li {
    margin-bottom: var(--base);
}

sup {
    font-size: .5em;
}


.col {
    width: 100%;
}

.sm-mono {
    font-size: 12px;
    line-height: 18px;
    font-family: monospace;
}


/*@media only screen and (max-width: 1100px) {*/
/*    .contact {*/
/*        grid-template-columns: 1fr 1fr;*/
/*    }*/
/*}*/

/*@media only screen and (max-width: 900px) {*/
/*    .top {*/
/*        margin-bottom: calc(var(--base) * 3);*/
/*        display: flex;*/
/*        flex-direction: column;*/
/*    }*/

/*    .row {*/
/*        flex-direction: column;*/
/*        gap: var(--base);*/
/*    }*/

/*    .footer {*/
/*        flex-direction: column-reverse;*/
/*        margin-top: calc(var(--base) * 2);*/
/*    }*/
/*}*/

/*@media only screen and (max-width: 600px) {*/
/*    .contact {*/
/*        display: block;*/
/*    }*/
/*}*/
