* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Crimson Text', 'serif';
    font-weight: 300;
    line-height: normal;
    font-size: 24px;
    background: #fff;
    color: #000;
    padding: 5% 10%;
}

.container {
    max-width: 90%;
    margin: auto;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 5%;
}

@media(max-width: 800px) {
    header {
        justify-content: flex-start;
    }

    header .navbar a {
        display: flex;
        padding: 0;
        margin: 10px 15px;
    }
}

a {
    display: inline-block;
    color: #000;
}

a:hover {
    color: #8C8C8C;
}

h1 a {
    text-decoration: none;
}

h2 {
    font-size: 1.5em;
}

.wordmark {
    font-size: 1.5em;
}

.navbar {
    font-size: 1em;
    font-weight: 300;
}

.navbar li {
    display: inline-block;
}

.navbar a {
    text-decoration: none;
    padding: 10px 25px;
    display: block;
}

main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

section {
    display: flex;
    flex-direction: column;
    padding: 1%;
    margin: auto;
    align-self: center;
}

.head-and-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.blogpost {
    font-size: 0.75em;
    font-weight: 100;
    max-width: 800px;
}

.blogpost p {
    padding: 0;
}

.blogpost figure figcaption {
    padding-top: 2%;
}

.blogpost ul li {
    margin-left: 3%;
    padding-left: 1%;
}

.blogpost .image-embed {
    margin-top: 3%;
    margin-bottom: 3%;
}

@media (max-width: 800px) {
    .blogpost .image-embed {
        margin-top: 10%;
        margin-bottom: 10%;
    }
}

.blogpost ol li {
    padding: 0.5% 0;
    margin: 0 5%;
}

.blogpost .dinkus {
    text-align: center;
    padding: 2% 0;
}

.blogpost blockquote {
    margin-left: 5%;
    margin-bottom: 2%;
}

.work-and-image {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
}

img {
    max-width: 100%;
    height: 100%;
}

@media (max-width: 800px) {
    video {
        width: 70%;
    }

    .work-and-image {
        flex-direction: column;
    }

    img {
        align-self: center;
    }
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 10px;
}

.long-image {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: 100%;
    height: auto;
}

.top-right-image,
.bottom-right-image {
    grid-column: 2 / 3;
    width: 100%;
    height: 100%;
}

.top-right-image {
    grid-row: 1;
}

.bottom-right-image {
    grid-row: 2;
}

@media (max-width: 600px) {
    .image-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .long-image,
    .top-right-image,
    .bottom-right-image {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Bench styles */
.bench-header {
    transform: rotate(-15deg);
    align-self: center;
    font-size: 32px;
    margin: 5% 0;
}

.bench-header h1 {
    font-family: Futura;
}

.bench-header p {
    font-size: 18px;
    text-align: center;
}

.bench-sections {
    display: flex;
    flex-direction: column;
    overflow-x: scroll;
    flex-wrap: nowrap;
    padding: 1%;
}

.bench-sections .bench-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 5%;
}

.bench-sections section {
    font-size: 24px;
    position: relative;
    font-family: Futura;
    flex-shrink: 0;
    margin: 0;
}

.bench-sections .section-title {
    position: absolute;
    top: -0.75em;
    left: 2em;
    background: #fff;
    padding: 0.25em 0.5em;
    font-weight: bold;
    font-size: 24px;
}

.bench-sections .section-content {
    border: solid;
    padding: 1em;
    font-size: 18px;
    font-weight: 400;
    line-height: 1em;
    width: 400px;
    min-height: 200px;
    margin: auto;
}

.bench-sections .section-content h3 {
    font-family: Crimson Text;
    font-size: 18px;
    margin-bottom: 1.5em;
    line-height: 1.25;
}

.bench-sections .section-content a {
    display: inline;
}

.bench-sections .section-content p {
    font-family: Crimson Text;
    font-size: 18px;
    font-style: italic;
    display: inline;
}

.bench-info {
    display: flex;
    flex-direction: column;
}

.wrench-icon,
.notes-icon,
.seed-icon,
.star-icon {
    height: 20px;
    width: 20px;
    display: inline-block;
    margin-right: 5px;
    vertical-align: bottom;
}

.wrench-icon {
    background: url('images/wrenchs.svg');
}

.notes-icon {
    background: url('images/notesicon.svg');
}

.seed-icon {
    background: url('images/seed.svg');
}

.star-icon {
    background: url('images/star.svg');
}

.book-icon {
    background: url('images/book.svg');
    height: 18px;
    width: 20px;
    display: inline-flex;
    margin-right: 5px;
    vertical-align: bottom;
}

.bench-info .binfo-title {
    position: absolute;
    top: -0.75em;
    left: 2em;
    background: #fff;
    padding: 0.25em 0.5em;
    font-weight: bold;
    font-size: 16px;
}

.bench-info section {
    position: relative;
    font-family: Futura;
    flex-shrink: 0;
    margin: 0;
}

.bench-info .binfo-content {
    border: solid;
    padding: 1.5em;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25em;
}
