@font-face {
    font-family: 'Lexend Zetta';
    src: url("/fonts/LexendZetta-Regular.ttf");
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url("/fonts/HelveticaLTStd-Roman.otf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url("/fonts/HelveticaLTStd-Light.otf");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url("/fonts/HelveticaLTStd-Bold.otf");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url("/fonts/HelveticaLTStd-Obl.otf");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url("/fonts/HelveticaLTStd-LightObl.otf");
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url("/fonts/HelveticaLTStd-BoldObl.otf");
    font-weight: 700;
    font-style: italic;
}

:root {
    --text-color: #dedede;
    --bg-color: #232323;
    --highlight-color: olive;
}

* {
    box-sizing: border-box;
}

html {
    font-family: 'Helvetica Neue', sans-serif;

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

body {
    padding: 10vw;

    display: grid;
    grid-template-columns: 20vw 1fr;
}

@media (max-width: 800px) {
    body {
        grid-template-columns: auto;
        grid-template-rows: auto auto;
    }

    nav {
        margin-bottom: 2rem;
    }
}

.logo {
    font-family: 'Lexend Zetta';
    font-size: 0.7em;
    font-weight: normal;

    text-transform: uppercase;
    letter-spacing: -0.15ch;
}

h1 {
    font-size: 3.5rem;
    font-weight: 200;
    margin-bottom: 1.2rem;
    line-height: 0.9em;
}

h2 {
    font-size: 2.25rem;
    font-weight: 200;
    margin-bottom: 1.2rem;
}

a {
    color: var(--highlight-color);
    text-decoration: none;
}

a:after {
    content: '';
    height: 1px;
    width: 0px;
    background: var(--text-color);

    position: absolute;
    bottom: -2px;
    left: 3px;

    transition: 0.3s ease-in-out
}

a:hover {
    color: var(--text-color);
    transition: 0.115s ease-in-out;
}

a.active {
    color: var(--text-color);
}

a.active:after {
    width: 2ch;
}

p {
    max-width: 65ch;
    line-height: 1.2em;
    margin-bottom: 1.2em;
}

nav {
    display: flex;
    flex-flow: column nowrap;
}

nav .logo {
    font-size: 1.25rem;
    margin-bottom: 0em;
}

nav .nav-links {
    display: flex;
    flex-flow: column nowrap;
    margin-top: 2rem;

    position: relative;

    padding-right: 5ch;
}

nav .nav-links a {
    font-weight: 200;
    margin-bottom: 0.5rem;

    font-size: 1.5rem;
    padding: 0.25rem;

    position: relative;
}

.card {
    border: 1px solid var(--text-color);
    padding: 1.2em;

    max-width: 70ch;
    
    margin-bottom: 1.2em;
}

@media (min-width: 800px) {
    .people-list {
        display: flex;
        flex-flow: row wrap;
    }

    .people-list .card {
        max-width: min(70ch, calc(50% - 1.2em));
        margin-right: 1.2em;
        margin-bottom: 1.2em;
    }
}

.person-img {
    margin-bottom: 0.75rem;
}

.person-name {
    margin-bottom: 0.75rem;
}

.person-location {
    margin-bottom: 0.75rem;
}

.person-location:before {
    content: 'Based in: ';
    font-weight: bold;
}

.person-text {
    margin-bottom: 0.75rem;
}

.person-contact {
    margin-bottom: 0.75rem;
}

.card-last {
    margin-bottom: 0;
}



.blog-date {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: bold;
}

.blog-img {
    margin-bottom: 0.75rem;
}

.blog-title {
    margin-bottom: 0.75rem;
}

.blog-text {
    margin-bottom: 0;
}