@font-face {
    font-family: 'Iowan Old Style BT';
    src: local('Iowan Old Style BT'),
         url('fonts/bitstream-iowan-old-style-bt-586c36a8d7712.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Iowan Old Style BT';
    src: local('Iowan Old Style BT Italic'),
         url('fonts/bitstream-iowan-old-style-italic-bt-586c3740dc396.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Iowan Old Style BT';
    src: local('Iowan Old Style BT Bold'),
         url('fonts/bitstream-iowan-old-style-bold-bt-586c371d8d669.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Iowan Old Style BT';
    src: local('Iowan Old Style BT Bold Italic'),
         url('fonts/bitstream-iowan-old-style-bold-italic-bt-586c37701cb62.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Iowan Old Style BT';
    src: local('Iowan Old Style BT Black'),
         url('fonts/bitstream-iowan-old-style-black-bt-586c36e930225.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Iowan Old Style BT';
    src: local('Iowan Old Style BT Black Italic'),
         url('fonts/bitstream-iowan-old-style-black-italic-bt-586c378f12ca1.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

:root {
    /* --font: "Cormorant Garamond", serif; */
    --font: 'Iowan Old Style BT', Georgia, serif;
    --bg: #fff;
    --text: #000;
    --link: #444;
}

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

body {
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
    font-size: 17px;
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

p {
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

a {
    color: var(--link);
    text-decoration: underline;
}

.name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    
    a {
        color: inherit;
        text-decoration: none;
    }
}

.container {
    display: grid;
    gap: 2.5rem;
    margin: 4rem auto;
    padding: 0 2rem;
    width: min(700px, 100%);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header h3 {
    margin: 0;
    white-space: nowrap;
}

.header nav {
    flex-shrink: 0;
}

.header-links {
    font-family: -apple-system, SF Pro Display, SF Pro, system-ui, sans-serif;
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.header-links li {
    white-space: nowrap;
}

@media (max-width: 600px) {
    body {
        padding: 2rem;
    }

    .container {
        margin: 0;
        padding: 0;
        gap: 1.5rem;
        justify-items: center;
        text-align: left;
    }

    .header {
        justify-content: flex-start;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: left;
    }

    .header-links {
        justify-content: center;
        padding: 0;
    }
    
    .content {
        margin: 0;
        max-width: 100%;
        text-align: left;
    }
}
