/*
Author: Raelyn Corneliussen
File: styles.css
Description: Style sheet for My Favorite Recipes website
*/

/* Body styles */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff8f2;
    color: #333333;
}

/* Header styles */
header {
    background: linear-gradient(to right, #d96c3d, #f4a261);
    color: white;
    text-align: center;
    padding: 25px;
}

/* Main heading styles */
header h1 {
    margin: 0;
    font-size: 2.4em;
    letter-spacing: 1px;
}

/* Navigation list styles */
nav ul {
    list-style-type: none;
    padding: 0;
    margin-top: 18px;
}

/* Navigation list item styles */
nav ul li {
    display: inline-block;
    margin: 0 14px;
}

/* Navigation link styles */
nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navigation hover effect */
nav a:hover {
    background-color: white;
    color: #d96c3d;
}

/* Main content area */
main {
    width: 80%;
    margin: 30px auto;
}

/* Section styles */
section {
    background-color: white;
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid #f1d5c9;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Section hover styles */
section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Section heading styles */
section h2,
section h3 {
    color: #b84f28;
    margin-top: 0;
}

/* Paragraph styles */
p {
    line-height: 1.7;
    font-size: 1.05em;
}

/* Unordered list styles */
ul {
    line-height: 1.8;
}

/* List item styles inside sections */
section ul li {
    margin-bottom: 8px;
}

/* Aside styles */
aside {
    background-color: #fff0e6;
    border: 2px solid #d96c3d;
    border-radius: 18px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.18);
    padding: 18px;
    margin-bottom: 20px;
}

/* Aside heading */
aside h3 {
    margin-top: 0;
    color: #b84f28;
}

/* Link styles inside main content */
main a {
    color: #c8553d;
    font-weight: bold;
    text-decoration: none;
}

/* Link hover styles inside main content */
main a:hover {
    text-decoration: underline;
}

/* Footer styles */
footer {
    background: linear-gradient(to right, #d96c3d, #f4a261);
    color: white;
    text-align: center;
    padding: 18px;
    margin-top: 30px;
}

/* Footer paragraph spacing */
footer p {
    margin: 6px 0;
}