* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
}

.navbar {
    margin: 0 auto;
    background-color: lightgray;
}

.navbar > a {
    text-align: center;
    padding: 15px;
    display: inline-block;
    text-decoration: none;
}

.navbar > a:hover {
    background-color: darkgray;
}

.centered-main {
    margin: 0 auto;
    width: 60%;
}

h1 {
    text-align: center;
}

.content {
    padding: 0px 15px;
}

.content > h1 {
    padding-bottom: 5px;
    border-bottom: 1px solid black;
}

.crop-container {
    margin: auto;
    display: block;
    width: 500px;
    height: 300px;
}

.crop-container > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.adjacent {
    display: inline-flex;
}

.one-third {
    width: 33%;
    padding-right: 5%;
}

.two-thirds {
    width: 67%;
    padding-left: 5%;
}

.recipes-grid {
    display: flex;
}

.recipes-grid a {
    width: 33%;
    text-align: center;
    padding: 5px;
    text-decoration: none;
}

.recipes-grid p {
    font-weight: 700;
    font-size: 1em;
}

.recipes-grid a:hover {
    background-color: lightgray;
}

.nav-card {
    height: 250px;
}

.nav-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}