/* Font Imports */
@font-face {
    font-family: 'Young Serif';
    src: url('../assets/fonts/young-serif/YoungSerif-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('../assets/fonts/outfit/Outfit-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Base Reset and Font Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* topography */
h1,
h2 {
    font-family: 'Young Serif';
}

/* Body */
body {
    font-family: 'Outfit', sans-serif;
    background-color: hsl(30, 54%, 90%);
    /* Stone 100 */
    color: hsl(30, 10%, 34%);
    /* Stone 600 */
    line-height: 1.6;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.page {
    width: 100%;
}

hr {
    margin-bottom: 1rem;
    border: none;
    /* remove default border */
    border-top: 1px solid hsl(30, 18%, 87%);
}

/* Image */
.recipe-card__image {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Card Wrapper */
/* Main Content */
.recipe-card__content {
    background-color: hsl(0, 0%, 100%);
    /* White */
    border-radius: 1.5rem;
    max-width: 700px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 0px;
    padding: 30px;
    margin: auto;
}

.recipe-card__title {
    font-size: 2rem;
    font-weight: 600;
    color: hsl(24, 5%, 18%);
    /* Stone 900 */
    margin: 1rem 0;
}

.recipe-card__description {
    margin-bottom: 2rem;
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: hsl(14, 45%, 36%);
    /* Brown 800 */
    margin-bottom: 1rem;
}

/* Preparation Time */
.prep-time {
    background-color: hsl(330, 100%, 98%);
    /* Rose 50 */
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.prep-time .section-title {
    font-family: 'Outfit', sans-serif;
    color: hsl(332, 51%, 32%);
}

.prep-time__list {
    list-style: disc;
    padding-left: 1.2rem;
    color: hsl(30, 10%, 34%);
    /* Stone 600 */
}

.prep-time__list li {
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.prep-time__list li::marker {
    font-size: 0.7em;
    color: hsl(332, 51%, 32%);

}

/* Ingredients */
.ingredients {
    margin-bottom: 2rem;
}

.ingredients__list {
    list-style: disc;
    padding-left: 1.2rem;
}

.ingredients__list li {
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.ingredients__list li::marker {
    font-size: 0.7rem;
    color: hsl(14, 45%, 36%);
    /* Brown 800 */
}

/* Instructions */
.instructions {
    margin-bottom: 2rem;
}

.instructions__list {
    list-style: decimal;
    padding-left: 1.4rem;
}

.instructions__list li {
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.instructions__list li::marker {
    font-weight: 800;
    color: hsl(14, 45%, 36%);
    /* Brown 800 */
}

/* Nutrition */
.nutrition {
    margin-bottom: 2rem;
}

.nutrition__note {
    margin-bottom: 1rem;
}

.nutrition__table {
    width: 100%;
    border-collapse: collapse;
}

.nutrition__table td {
    width: 50%;
    padding: 0.75rem 0;
    border-bottom: 1px solid hsl(30, 18%, 87%);
    /* Stone 150 */
}

.nutrition__table td:first-child {
    padding-left: 1.5rem;
    color: hsl(30, 10%, 34%);
    /* Stone 600 */
}

.nutrition__table td:last-child {
    font-weight: bold;
    color: hsl(14, 45%, 36%);
    /* Brown 800 */
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: hsl(30, 10%, 34%);
    /* Stone 600 */
}

.footer a {
    color: hsl(14, 45%, 36%);
    /* Brown 800 */
    text-decoration: none;
}