@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-size: 11pt;
    line-height: 18pt;
    font-family: 'Libre Caslon Text', serif;
    margin: 0;
}

h1 {
    font-size: 45pt;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    color:rgb(202, 74, 63);
    margin-bottom: 1.1em;
}

h2 {
    font-size: 12pt;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    color: rgb(202, 74, 63);
}

h3 {
    font-size: 10pt;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    margin-bottom: -0.3rem;
}

.dropCap {
    font-size: 45pt;
    line-height: 1;
    font-family: 'Playfair Display', serif;
    display: block;
    float: left;
    margin: -1rem 8px -1rem 0px;
}

img {
    max-width: 500px;
    width: 100%;
    border-bottom: 6px black solid;
    margin: 0.5rem 0px 3rem 0px;
}

header {
    width: 100%;
    height: 99.5vh;
    max-height: 800px;
    min-height: 600px;
    border-bottom: 6px solid black;
}

#titlePanel {
    width: 60%;
    height: 100%;
    float: left;
    background-color: white;
    position: relative;
}

#aboutInfo {
    max-width: 520px;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    margin: 0px auto;
    top: 47%;
    -ms-transform: translateY(-60%);
    transform: translateY(-60%);
    text-align: center;
}

#title {
    position: static;
}

#difficultyYieldPrep {
    width: 436px;
    text-align: center;
    margin: 50px auto 0 auto;
    align-items: center;
}

#difficultyYieldPrep div {
    float: left;
    border-right: 2px solid black;
    padding: 0px 30px;
}

#difficultyYieldPrep div:last-child{
    border-right: none;
}

#difficultyYieldPrep div p:first-child{
    font-size: 8pt;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: -1.5em;
}

#difficultyYieldPrep div p:last-child{
    font-size: 16pt;
    font-family: 'Playfair Display', serif;
    color: rgb(143, 143, 143);
    margin-bottom: 0.5em;
}

#nutrition {
    background-color: rgb(202, 74, 63);
    width: 100%;
    position: absolute;
    bottom: 0px;
    padding: 20px 0;
}

#nutrition ul {
    margin: auto;
    max-width: 600px;
}

#nutrition li {
    display: block;
    float: left;
    list-style-type: none;
    width: 26%;
    margin: auto 15px;
}

#nutrition ul li:last-child {
    margin: auto 0;
}

#nutrition h2 {
    color: white;
    font-size: 10pt;
    margin: 12px 0 0 0;
    line-height: 1.3em;
}

#nutrition img {
    width: 60px;
    float: left;
    margin-right: 10px;
}

header img {
    width: 40%;
    height: 100%;
    float: right;
    border: none;
    object-fit: cover;
    position: center;
    margin: 0;
}

#hero {
    max-width: none;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 35pt;
    }
    header {
        max-height: 700px;
        min-height: 550px;
    }
    #aboutInfo {
        width: 84%;
        max-width: 520px;
        top: 0; left: 0; bottom: 0; right: 0;
        margin: 0px auto;
        top: 43%;
        -ms-transform: translateY(-60%);
        transform: translateY(-60%);
        text-align: center;    
    }
    #difficultyYieldPrep {
        width: 351px;
        margin-top: 30px;
    }
    #difficultyYieldPrep div {
        padding: 0px 20px;
    }
    #difficultyYieldPrep div p:first-child{
        font-size: 8pt;
        margin-bottom: -1.5em;
    }
    #difficultyYieldPrep div p:last-child{
        font-size: 14pt;
        margin-bottom: 0.5em;
    }
    #nutrition ul {
        width: 90%;
    }
    #nutrition li {
        margin: auto 15px auto 0;
        width: 30%;
    }
    #nutrition h2 {
        font-size: 8pt;
        margin: 12px 0 0 0;
        line-height: 1.3em;
    }
    #nutrition img {
        width: 45px;
        float: left;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 30pt;
    }
    header {
        height: 500px;
    }
    #aboutInfo {
        font-size: 10pt;
        line-height: 15pt;
        width: 100%;
        top: 0; left: 0; bottom: 0; right: 0;
        margin: 0px auto;
        top: 44%;
        text-align: center;    
    }
    #title {
        padding: 0 5%;
    }
    #difficultyYieldPrep {
        width: 301px;
        margin-top: 20px;
    }
    #difficultyYieldPrep div {
        padding: 0px 15px;
    }
    #difficultyYieldPrep div p:first-child{
        font-size: 8pt;
        margin-bottom: -1.5em;
    }
    #difficultyYieldPrep div p:last-child{
        font-size: 12pt;
        margin-bottom: 0.5em;
    }
    #nutrition ul {
        margin: auto;
        width: 175px;
    }
    #nutrition li {
        width: 45px;
    }
    #nutrition h2 {
        font-size: 0;
        display: none;
    }
}

@media (max-width: 580px) {
    header {
        display: contents;
    }
    #titlePanel {
        width: 100%;
        float: none;
        height: 520px;
    }
    #hero {
        width: 100%;
        height: 66vh;
        object-fit: cover;
        position: center;
        float: none;
        display: block;
    }
}


section {
    width: 100%;
    height: 100%;
    margin: auto;
    padding: 0;
    position: -webkit-sticky;
    display: flex;
}

#ingredientPanel {
    background-color: rgb(241, 221, 218); 
    padding: 30px;
    margin: 0;
    width: 280px;
    left: 0;
    height: 100vh;
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
}

#instructionsPanel {
    background-color: white;
    padding: 30px 50px;
    width: calc(100% - 440px);
    float: right;
}

#instructionsPanel ul {
    list-style-type: none;
    max-width: 600px;
    margin-left: -40px;
}

#instructionsPanel li {
    margin-left: 0;
}

footer {
    min-height: 90px;
    background-color: rgb(202, 74, 63);
    padding: 30px;
    text-align: center;
}

footer p {
    font-family: 'Montserrat', sans-serif;
    color: rgb(241, 221, 218);
    font-size: 8pt;
    line-height: 10pt;
}

footer p a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-style: italic;
}

@media (max-width: 1024px) {
    #ingredientPanel {
        font-size: 8pt;
        line-height: 13pt;
        width: 230px;
    }
    #instructionsPanel {
        width: calc(100% - 390px);
    }
}

@media (max-width: 768px) {
    #ingredientPanel {
        font-size: 8pt;
        line-height: 13pt;
        width: 180px;
    }
    #instructionsPanel {
        width: calc(100% - 300px);
        font-size: 10pt;
        line-height: 15pt;
        padding: 30px 30px;
    }
    .dropCap {
        font-size: 35pt;
        margin: -1rem 8px 0rem 0px;
    }
}

@media (max-width: 580px) {
    section {
        height: auto;
        margin: auto;
        width: 100%;
        padding: 0;
        position: relative;
        display: block;
    }
    #ingredientPanel {
        font-size: 10pt;
        line-height: 15pt;
        display: block;
        position: static;
        width: 86%;
        padding: 30px 7%;
        height: auto;
    }
    #instructionsPanel {
        position: static;
        padding: 30px 0px;
        width: 86%;
        margin: auto;
        float: none;
    }
    #instructionsPanel ul {
        max-width: 580px;
        margin-left: -40px;
    }    
}
