html {
    font-family: "futura-pt-condensed", sans-serif;
    font-size: 14pt;
    font-weight: 400;
    letter-spacing: 0.4px;
    background-color: #F6ECE0;
}

h1 {
    font-family: "swear-display", serif;
    font-size: 100pt;
    font-weight: 600;
    letter-spacing: 6px;
    line-height: 120px;
    text-align: center;
    color: rgb(164, 34, 34);
}

h2 {
    font-family: "swear-display", serif;
    font-size: 30pt;
}

h3 {
    font-size: 30pt;
    font-weight: 700;
}

h4 {
    font-size: 20pt;
    margin-bottom: -15px;
    font-weight: 500;
}




/* header */

header {
    background-image: url(../images/plantbackdrop.jpeg);
    background-size: cover;
    padding: 60px 0 120px 0;
}

@media (min-width: 1166px) {
    h1 {font-size: 12rem; line-height: 10rem; padding-bottom: 40px;}
}




/* general information */

.info {
    display: flex;
    justify-content: center;
}

.floating-box {
    max-width: 80%;
    background-color: #F6ECE0;
    box-shadow: -10px 10px 15px #00000039;
}

.floating-box ul {
    list-style-type: none;
    padding: 40px 0 80px 0;
    display: flex;
    flex-wrap: wrap;
}

.floating-box li {
    margin: 0 80px 0 80px;
}

.info-grid {
    justify-content: center;
}

.info-grid-item h3 {
    margin-bottom: -20px;
}

.info-grid-item h4 {
    margin-bottom: 4px;
}

.info-grid-item aside {
    max-width: 300px;
}

@media (max-width: 1166px) {
    .floating-box {max-width: 80%;}
    .floating-box ul {padding: 0.5rem; padding-bottom: 60px;}
}




/* popular hot sauces */
.hot-sauces {
    background-image: url(../images/pepperbackdrop.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}

.receipt-container {
    position: relative;
    width: 1200px; /* Adjust to your receipt image width */
    height: auto; 
}

.receipt {
    width: 50%;
    height: auto;
    display: block;
    margin: auto;
    margin-top: 60px;
    margin-bottom: -30px;
}

.sauce-list {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.sauce-list h2 {
    text-align: center;
    color: rgb(164, 34, 34);
    margin-bottom: 10px;
    z-index: 2;
    margin-top: 50px;
}

.sauce-grid {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.sauce-grid-item {
    position: absolute;
    width: 200px;
    text-align: left;
    font-size: 0.8rem;
    z-index: 2;
}

.sauce-grid-item img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.sauce-grid-item h4 {
    color: black;
}

.sauce-grid-item p {
    color: black;
}

/* individual items at max window width */
.sauce-grid-item:nth-child(1) {
    top: 3.5%;
    left: 36%;
}

.sauce-grid-item:nth-child(2) {
    top: 1%;
    left: 46%;
}

.sauce-grid-item:nth-child(3) {
    top: 20.5%;
    left: 36%;
}

.sauce-grid-item:nth-child(4) {
    top: 17%;
    left: 46%;
}

.sauce-grid-item:nth-child(5) {
    top: 40%;
    left: 36.5%;
}

.sauce-grid-item:nth-child(6) {
    top: 35%;
    left: 46%;
}

.sauce-grid-item:nth-child(7) {
    top: 57%;
    left: 37%;
}

.sauce-grid-item:nth-child(8) {
    top: 53%;
    left: 46%;
}


@media (max-width: 1000px) {
    .sauce-list h2 {font-size: 1.5em;}
    .sauce-grid-item {width: 140px;}
    .sauce-grid-item h4 {font-size: 1.5em;}
    .sauce-grid-item .wasabi {width: 80px;}
    .sauce-grid-item .harissa {width: 70px;}
    .sauce-grid-item:nth-child(5) {top: 43%; left: 36.5%;}
    .sauce-grid-item:nth-child(6) {top: 38%; left: 46%;}
}

@media (max-width: 800px) {
    .sauce-list h2 {font-size: 2em;}
    .receipt {width: 100%;}
    .sauce-grid-item {width: 180px;}
    .sauce-grid-item img {margin-left: -70px;}
    .sauce-grid-item .wasabi {width: 100px;}
    .sauce-grid-item .harissa {width: 90px;}
    .sauce-grid-item:nth-child(5) {top: 41%; left: 36.5%;}
    .sauce-grid-item:nth-child(6) {top: 36%; left: 46%;}
}



/* recipe ideas */

#recipe-ideas {
    width: 38%;
    overflow: hidden;
    position: relative;
    z-index: 3;
    margin: auto;
    padding-top: 20px;
    justify-items: center;
    margin-bottom: 80px;
}

#recipe-ideas h2 {
    text-align: center;
    padding-bottom: 20px;
    color: rgb(164, 34, 34);
}

.recipe {
    float: left;
    width: 580px;
    height: 580px;
}

.recipe img {
    width: 100%;
    object-fit: cover;
}

.recipe-slides {
    width: calc(1032px  * 4);
    animation: slide 20s ease infinite;
}

@keyframes slide {
    0%, 100% {margin-left: 0px;}
    25% {margin-left: calc(-580px * 1);}
    50% {margin-left: calc(-580px * 2);}
    75% {margin-left: calc(-580px * 3);}
}

@media (max-width: 1250px) {
    #recipe-ideas {width: 20rem;}
    .recipe {width: 20rem; height: 20rem;}
    .recipe img {width: 20rem;}
    @keyframes slide {0%, 100% {margin-left: 0px;}
        25% {margin-left: calc(-20rem * 1);}
        50% {margin-left: calc(-20rem * 2);}
        75% {margin-left: calc(-20rem * 3);}}
}




/* spicy food tips */

.managing-box {
    background-color: rgb(164, 34, 34);
}

.managing-box h2{
    padding-top: 60px;
    font-size: 38pt;
    color: #F6ECE0;
    text-align: center;
}

.managing-box ul {
    list-style-type: none;
    padding: 40px 0 80px 0;
    display: flex;
    flex-wrap: wrap;
    font-weight: bold;
    font-size: 20pt;
}

.managing-box li {
    margin: 0 40px 0 40px;
}

.tip-grid {
    justify-content: center;
}

.tip-grid-item ol {
    color: #F6ECE0;
}

.tip-grid-item aside {
    max-width: 500px;
}

.tip-grid-item h4 {
    color: #F6ECE0;
}

.tip-grid-item p {
    color: #F6ECE0;
    font-weight: normal;
    font-size: 14pt;
}

@media (max-width: 960px) {
    .managing-box h2 {padding-top: 1rem;}
}


/* footer */

footer {
    padding: 15px 0 30px 28px;
}

footer p {
    color: rgb(164, 34, 34);
}

@media (max-width: 720px) {
    footer {padding: 1rem 0 1rem 1rem;}
}