html * {
    box-sizing: border-box;
}

body {
    /* background-color: #e7e7e1; */
    background-color: hsl(60, 4%, 90%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    font-size: 16px;
    color: #221b1b;
}

header {
    background-color: #221b1b;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    min-height: 25vh;
}

h1, h2 {
    color: #dededb;
}

h1 {
    font-weight: 200;
    font-size: 6vw;
    margin: 0;
}

h2 {
    font-weight: 200;
    font-size: 8vw;
    margin: 0;
}

main {
    margin: 0 auto;
}

h3 {
    font-weight: 400;
}

p {
    line-height: 1.35em;
}

.first {
    max-width: 600px;
    margin: 40px auto;
}

.second {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.second figure {
    margin: 1.35em;
    background-color: #221b1b;
    text-align: center;
    padding: 1em;
    border-radius: 8px;
}

.second figure img {
    width: 100%;
}

figcaption {
    text-align: center;
    font-style: italic;
    color: #dededb;
    padding-top: 8px;
}

@media screen and (min-width: 600px) {
    .second {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .second figure {
        flex: 1 1 auto;
        flex-grow: 0;
    }
}

@media screen and (min-width: 970px) {
    .second figure {
        flex-grow: 0;
        min-width: 25vw;
    }
    .second figure img {
        width: 256px;
    }

    .second {
        max-width: 1048px;
    }
}

@media screen and (min-width: 1200px) {
    /* body {
		width: 1150px;
		margin: 0 auto;
	} */
	h1 {
        font-size: calc(1150px * .05);
    }
	h2 {
        font-size: calc(1150px * .07);
    }
	.second figure {
        min-width: calc(1150px *.25);
    }
}	