/* Eric Meyer's Reset CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}


body {
    font-family: 'Roboto', sans-serif; /* Updated font family */
    font-size: 1.5rem; /* Default font size */
    line-height: 1.6; /* Improve readability */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    background-color: #f9f3e9; /* Light warm background color */
    color: #333; /* Dark text color for readability */
}

/* Header styles */
header {
    background-image: url('img/ban.jpg'); /* Path to your background image */
    background-size: cover;
    border: 10px solid #d57a00; /* Warm color for header */
    padding: 40px; /* Padding around header content */
    text-align: center; /* Center align header text */
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem; /* Larger font for header */
    font-weight: bold;
    color: #fff; /* White text */
}


header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
}

hr {
    border: 0;
    height: 2px; /* Thickness of the line */
    width: 60%; /* 60% of the container width */
    background-color: #333; /* Line color */
    margin: 20px auto; /* Center the line */
}


/* Navigation menu styles */
nav ul {
    list-style-type: none; /* Remove bullet points from list */
    padding: 0; /* Remove padding */
}

/* Navigation items styles */
nav ul li {
    display: inline; /* Display list items inline */
    margin: 0 15px; /* Spacing between menu items */
}

/* Navigation link styles */
nav a {
    color: white; /* White text color for links */
    text-decoration: none; /* Remove underline from links */
    font-family: 'Montserrat', sans-serif; /* Font for navigation */
    text-transform: uppercase;
    font-size: 1rem;
}

/* Hover effect for navigation links */
nav a:hover {
    color: #ffcc00; /* Change link color on hover */
}

/* Welcome row styles */
.welcome {
    font-family: 'Dancing Script', cursive;
    background-color: #d57a00;
    color: #f9f3e9;
    padding: 20px; /* Padding inside welcome row */
    text-align: center; /* Center align text */
    margin: 20px; /* Margin around welcome row */
    border-radius: 5px; /* Rounded corners for welcome row */
    font-size: 1.8rem;
}

#instruct, h3, {
    font-family: Arial, sans-serif;
    font-size: 4em; /* Heading size */
    color: #d57a00; /* Warm color for the heading */
    margin-bottom: 20px; /* Space below the heading */
}
.ingredients {
    list-style-type: none; /* Remove default bullets */
    padding: 0; /* Remove padding */
}

.ingredients  li {
    position: relative; /* Position for the pseudo-element */
    padding-left: 20px; /* Space for custom bullet */
    margin-bottom: 10px; /* Space between list items */
}

.ingredients li::before {
    content: ""; /* Required for the pseudo-element */
    position: absolute; /* Positioning for custom bullet */
    left: 0; /* Align to the left */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust vertical alignment */
    width: 10px; /* Width of custom bullet */
    height: 10px; /* Height of custom bullet */
    background-color: #d57a00; /* Color of the bullet */
    border-radius: 50%; /* Make it circular */
}


.container {
    max-width: 80%;
    display: flex;
    padding: 20px;
    margin: 0 auto;
}

/* Column styles */
.column {
    flex: 1;
    margin: 0 10px;
}

/* Recipe image styles */
.recipe-image {
    width: 100%; /* Make image responsive */
    height: auto;
    max-width: 200px;
    max-height: 200px /* Maintain aspect ratio */
    margin-bottom: 20px; /* Spacing below image */
}

/* Fried chicken mailbox image styles */
.mailbox-image {
    width: 100%; /* Make image responsive */
    height: auto; /* Maintain aspect ratio */
    margin-top: 20px; /* Spacing above image */
}

/* Step image styles */
.step-image {
    width: 100%; /* Make step images responsive */
    height: auto; /* Maintain aspect ratio */
    margin: 10px 0; /* Spacing around step images */
}

/* Subheading styles in columns */
.column h2 {
    color: #d57a00; /* Warm orange color for subheadings */
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
}



/* Ingredients list */
.ingredients {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.5px;
    color: #2c3e50;
}

/* Footer styles */
footer {
    background-color: #d57a00; /* Same warm color for footer */
    color: white; /* White text color for contrast */
    padding: 20px; /* Padding around footer content */
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    text-align: center;
}

/* Button styles */
.btn {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    background-color: #e67e22;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Tips and fun facts */

body {
    font-family: Arial, sans-serif;
    background-color: #f9f3e9;
    color: #333;
}


/* Sticky Tips and Tricks Section */
.tips-and-tricks {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 20px;
    background-color: #f9f3e9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 80%; /* Set a max-width to avoid expanding */
    margin-top: 20px; /* Space above */
    z-index: 100;
}

/* Styling for Strong Elements in Instructions */
#instruct strong {
    font-weight: bold;
    color: #d57a00; /* Distinct color to differentiate */
    font-size: 1.2rem; /* Slightly larger font size */
}

/* Improved Spacing for Ingredients and Tips */
.ingredients li,
.tip-list li {
    margin-bottom: 15px; /* Increased spacing for better readability */
}

#instruct ol li {
    margin-bottom: 20px; /* Spacing between each step */
}

.tips-and-tricks ul.tip-list {
    margin-top: 20px; /* Spacing at the top of tips list */
    padding-left: 20px; /* Indent the list for better readability */
}

.tips-and-tricks h2 {
    margin-bottom: 15px; /* Space between heading and list */
    font-family: Arial, sans-serif;
    font-size: 2rem; /* Heading size */
    color: #d57a00; /* Warm color for the heading */
    margin-bottom: 20px; /* Space below the heading */
}

.tip-list {
    font-family: Arial, sans-serif;
    list-style-type: none; /* Remove default bullets */
    padding: 0; /* Remove padding */
}

.tip {
    font-family: Arial, sans-serif;
    font-size: 1.3rem; /* Font size */
    font-style: italic; /* Italic style */
    color: #34495e; /* Darker text color for readability */
    margin: 20px 0; /* Spacing around each tip */
}

/* Media Query for Responsive Design */
@media (max-width: 600px) {
    .tips-and-tricks {
        padding: 20px; /* Reduced padding for smaller screens */
    }

    .tips-and-tricks h2 {
        font-size: 1.5rem; /* Smaller heading size for mobile */
    }

    .tip {
        font-size: 1.1rem; /* Smaller font size for tips on mobile */
    }
}


@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.8rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.4rem;
    }
}
/* For tablets (max-width: 768px) */
@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }

    header {
        font-size: 2rem;
        padding: 30px;
    }

    .container {
        flex-direction: column;
        max-width: 90%;
        padding: 10px;
    }

    nav ul li {
        display: block;
        margin-bottom: 10px;
    }

    .column {
        margin: 20px 0;
    }

    .welcome {
        font-size: 1.5rem;
        padding: 15px;
    }

    .tips-and-tricks {
        padding: 20px;
    }
}

/* For mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    body {
        font-size: 0.8rem;
    }

    header {
        font-size: 1.8rem;
        padding: 20px;
    }

    nav ul li {
        display: block;
        margin: 5px 0;
    }

    .container {
        padding: 5px;
    }

    .welcome {
        font-size: 1.3rem;
        padding: 10px;
    }

    .column {
        margin: 10px 0;
        flex: 1 100%; /* Make columns take full width */
    }

    .tips-and-tricks {
        padding: 15px;
        font-size: 1rem;
    }

    footer {
        font-size: 0.75rem;
        padding: 15px;
    }
}
