/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;700&family=Quicksand:wght@400;600&display=swap');

/* General */
header {
    background: linear-gradient(90deg, #C47B47, #9E5A32);
    text-align: center;
    padding: 25px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'EB Garamond', serif;
    background: linear-gradient(135deg, #ffe8ce, #efb267);
    color: #29221e;
    margin: 0;
    line-height: 1.7;
}

p {
    margin: 15px;
    font-size: 22px;
    font-style: italic;
    background: #FAE6D0;
    padding: 15px 25px;
    border-radius: 8px;
}

section {
    margin-top: 15px;
}

article {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.stats {
    background-color: #5A3E2B;
    color: #FAE6D0;
    padding: 10px;
    display: inline-block;
    border-radius: 4px;
    margin: 5px;
    font-family: 'Quicksand', sans-serif;
    font-style: normal;
}

footer {
    background: linear-gradient(90deg, #E8D0B2, #C47B47);
    color: #5A3E2B;
    text-align: center;
    padding: 15px;
    font-size: 16px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Quicksand', sans-serif;
    margin: 10px;
    color: #5A3E2B;
}

h1 {
    color: #fff5ea;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 5px 5px 15px rgba(80, 39, 12, 0.75);
    text-align: center;
}

h2 {
    font-size: 30px;
    font-weight: 600;
    font-variant: small-caps;
    border-bottom: 2px solid #5a3e2b;
    padding-bottom: 5px;
    margin-top: 40px;
    letter-spacing: 2px;
    
    text-align: left;
}

h3 {
    font-size: 24px;
    font-weight: 500;
    font-style: italic;
    padding-top: 5px;
    margin-left: 20px;
}

h3 em {
    font-style: normal;
    text-decoration: underline wavy #D2691E;
}

 li {
    font-size: 20px;
    color: #29221e;
    margin-bottom: 10px;
    padding-left: 10px;
}

#recipe-main-title {
    text-transform: uppercase;
    word-spacing: 5px;
}

/* Lists */
ul, ol {
    background: #FAE6D0;
    padding: 15px 25px;
    margin: 15px;
    border-radius: 8px;
    border-left: 4px solid #D2691E;
    box-shadow: 3px 3px 8px #5A3E2B;
    list-style-type: square;
    list-style-position: outside;
}

/* Images */
.img-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px auto;
}

img {
    max-width: 400px;
    vertical-align: middle;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Links */
a {
    color: #9E5A32;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #C47B47;
    text-shadow: 0 2px 8px rgba(196, 123, 71, 0.4);
}

/* Mobile and Small Screens */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 32px; 
        padding: 0 10px;
    }

    h2 {
        font-size: 24px;
        margin-left: 10px;
    }

    .img-container {
        flex-direction: column;
        align-items: center;
    }

    img {
        max-width: 90%;
    }

    article {
        padding: 10px;
    }

    ul, ol {
        margin: 10px;
        padding: 15px 20px;
    }
}
