html {
    font-family: 'Victor Mono', monospace;
}

body {
    margin: 1.5rem;
}

p {
    line-height: 1.6;
}

br {
    margin-bottom: 0.25rem;
}

a {
    color: black;
    font-weight: bold;
}

a:hover {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

section {
    display: flex;
    margin: 0 auto 3rem auto;
    max-width: 60rem;
}

section > header {
    flex: 1 0 14rem;
}

section > div {
    flex: 0 1 35rem;
    border-left: 2px solid black;
    padding-left: 1rem;
}

section > div > div {
    margin-bottom: 2rem;
}

ul {
    column-count: 3;
    margin-top: 0.4em;
}

header h1,
header h2 {
    font-size: 2em;
    border-bottom: 2px solid black;
}

header h3 {
    font-style: italic;
}

.testimonial {
    position: relative;

    margin-left: auto;
    margin-right: auto;
    max-width: 28rem;
}

.quote {
    margin-left: 1.2rem;
    margin-right: 0.25rem;

    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 8px 8px rgba(255, 255, 255, 0.5);
}

.quote::before {
    content: '“';
    position: absolute;
    top: -1.7rem;
    transform: translateX(-70%);

    font-size: 6rem;
    font-weight: bold;
    color: #e0e0e0;

    z-index: -1;
}

.attribution {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;

    margin-top: 0.6rem;
}

.attribution .name {
    font-size: 1.15em;
    font-style: italic;
}

.headshot {
    width: 48px;
    height: 48px;
    border-radius: 100%;
    border: 2px solid black;
    padding: 2px;
    margin: -2px;
    margin-left: 0.6rem;
}

.project-title {
    display: inline-flex;
}

.project-title img {
    margin-right: 1em;
}

a.project-title {
    text-decoration: none;
}

a.project-title:hover h3 {
    text-decoration: underline;
}

@media (max-width: 760px) {
    body {
        min-width: unset;
        padding: 1rem;
    }

    section {
        flex-direction: column;
        align-items: center;
    }

    section > header {
        text-align: center;
        margin-bottom: 2rem;
        flex: unset;
    }

    section > div {
        flex: unset;
        max-width: 30rem;
        width: 100%;
    }
}

@media (max-width: 460px) {
    html {
        font-size: 0.8rem;
    }

    body {
        padding: 0.5rem;
    }

    section {
        margin-bottom: 1rem;
    }

    section > div {
        border-left: unset;
        padding-left: unset;
    }

    ul {
        column-count: 1;
    }
}
