html {
    font-family: 'Nunito', sans-serif;
    font-size: 14pt;
    color: #3f2719;
    background-color: #e2d0c5;
    margin:0;
    width: 100%;
}

body {
    margin: 0;
    width: 100%;
}

/* .navigation h3 {
    text-align: center;
} */

.content {
    width: 80%;
    max-width: 1080px;
    margin: auto;
}

h1 {
    font-family: itc-american-typewriter, serif;
    font-weight: 500;
    font-style: normal;
    font-size: 3rem;
    margin: 0;
    padding-top: 40px;
}

h2 {
    font-family: itc-american-typewriter, serif;
    font-weight: 500;
    font-style: normal;
    padding-bottom: 5px;
    padding-top: 60px;
    font-size: 2rem;
}

h2 span {
    border-bottom: 4px solid #3f2719;
}

h3 {
    font-family: itc-american-typewriter, serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.5rem;
    margin-top: 80px;
}

h4 {
    font-weight: 700;
    font-style: normal;
    font-size: 2rem;
    margin: 0;
}

p {
    color: black;
    width: 100%;
    /* line-height: 26px; */
}

ol, ul {
    margin: 0;
    padding-left: 0;
}

li {
    padding: 0.5rem 0;
}

.text-box {
    background-color: #fff7f3;
    padding: 4vw;
    padding-top: 60px;
}

.text-box-2 {
    background-color: #fff7f3;
    padding: 3vw 4vw;
}

em {
    font-weight: 700;
    font-style: normal;
}

.description {
    position: relative;
    min-height: 900px;
}

.description h2 {
    position: absolute;
    padding-top: 0;
    top: 0;
    left: 0;
}

.attribution {
    position: absolute;
    top: 85px;
    left: 0;
    color: #7c533d;
}

a {
    color: #3f2719;
}

.box-shadow {
    background-color: #a07c6890;
}

.description img {
    position: absolute;
    top: 150px;
    left: 0;
    z-index: 2;
}

.description .box-shadow {
    position: absolute;
    top: 170px;
    z-index: 1;
    left: -2%;
    width: 275px;
    height: 400px;
}

.description .text-box {
    position: absolute;
    top: 520px;
    left: 15%;
    z-index: 0;
    width: 70%;
    max-width: 380px;
}

.columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.columns .text-box-2 {
    height: max-content;
}

.column-item-left {
    margin-right: 50px;
}

.column-item-right {
    margin-left: 50px;
}

.conclusion {
    margin-bottom: 10%;
}

.yield-and-time ul {
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.yield-and-time li {
    text-align: center;
    display: block;
    margin-right: 10%;
}

.yield-and-time .text-box-2 {
    padding: 5%;
    padding-top: 8%;
}

.yield-and-time p {
    font-weight: 300;
    margin: 0;
    margin-top: 5%;
    margin-bottom: 5%;
    font-size: 2rem;
}

.instructions li {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    margin-bottom: 5%;
}

.instructions img {
    width: 500px;
    height: 300px;
    object-fit:cover;
    padding: 0;
    margin: 0;
}

.instructions li:nth-child(odd) img {
    grid-row-start: 1;
    grid-column-start: 1;
    z-index: 2;
}

.instructions li:nth-child(even) img {
    grid-row-start: 1;
    grid-column-start: 2;
    z-index: 2;
}

.instructions .box-shadow {
    width: 500px;
    height: 300px;
    margin: 20px 20px 0 -20px;
}

.instructions li:nth-child(odd) .box-shadow {
    grid-row-start: 1;
    grid-column-start: 1;
    z-index: 1;
}

.instructions li:nth-child(even) .box-shadow {
    grid-row-start: 1;
    grid-column-start: 2;
    z-index: 1;
}

.instructions li:nth-child(odd) p {
    grid-row-start: 1;
    grid-column-start: 1;
    z-index: 0;
    margin: 310px 0 0 60%;
}

.instructions li:nth-child(even) p {
    grid-row-start: 1;
    grid-column-start: 2;
    z-index: 0;
    margin: 310px 0 0 -40%;
}


.instructions p {
    font-size: 1.25rem;
    width: 100%;
    height: max-content;
    max-width: 400px;
    padding: 5%;
    margin: auto;
    margin-left: 0;
} 

@media (max-width: 1024px) {

    html {font-size:11pt;}

    p {
        line-height: 20px;
    }

}

@media (max-width: 900px) {

    .columns {
        display: block;
    }

    .column-item-left {
        margin: 0;
    }
    
    .column-item-right {
        margin: 0;
    }

    .instructions img {
        width: 400px;
        height: 240px;
    }

    .instructions .box-shadow {
        width: 400px;
        height: 240px;
    }

    .instructions li:nth-child(odd) p {
        margin: 250px 0 0 40%;
    }
    
    .instructions li:nth-child(even) p {
        margin: 250px 0 0 -60%;
    }

}

@media (max-width: 768px) {

    h4 {
        font-size: 1.5rem;
        margin: 0;
    }

    .yield-and-time p {
        font-size: 1.5rem;
    }

    .instructions li {
        display: grid;
        grid-template-columns: 1fr;
    }

    .instructions li:nth-child(even) img {
        grid-row-start: 1;
        grid-column-start: 1;
        z-index: 2;
    }

    .instructions li:nth-child(even) .box-shadow {
        grid-row-start: 1;
        grid-column-start: 1;
        z-index: 1;
    }

    .instructions li:nth-child(odd) p {
        grid-row-start: 1;
        grid-column-start: 1;
        z-index: 0;
        margin: 0;
        margin-top: 250px;
    }
    
    .instructions li:nth-child(even) p {
        grid-row-start: 1;
        grid-column-start: 1;
        z-index: 0;
        margin: 0;
        margin-top: 250px;
    }

    .instructions p {
        width: 90%;
        font-size: 1rem;
    }

}

@media (max-width: 530px) {

    h2 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1rem;
        margin: 0;
    }

    p {
        font-size:9pt;
        line-height: 18px;
    }

    .yield-and-time p {
        font-size: 1rem;
    }

    .instructions img {
        width: 300px;
        height: 180px;
    }

    .instructions .box-shadow {
        width: 300px;
        height: 180px;
    }

    .instructions li:nth-child(odd) p {
        margin-top: 190px;
    }
    
    .instructions li:nth-child(even) p {
        margin-top: 190px;
    }

    .instructions p {
        width: 90%;
        font-size: 1rem;
    }

    .ingredients .text-box-2 {
        padding: 4vw;
        padding-left: 8vw;
    }

    .overview .text-box-2:last-child {
        padding: 4vw;
        padding-left: 8vw;
    }

}