@import url('https://fonts.googleapis.com/css2?family=Young+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Young+Serif&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: "Outfit", sans-serif;
    color: hsl(30, 10%, 34%);
    background-color: hsl(30, 54%, 90%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: hsl(0, 0%, 100%);
    overflow: hidden;
    gap: 2rem;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.recipe {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1.5rem;
    padding: 2rem;
}

.recipe * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.recipe-title {
    font-size: 2.5rem;
    line-height: 2.5rem;
    color: hsl(24, 5%, 18%);
    font-family: "Young Serif", serif;
}

.prep-time {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: hsl(330, 100%, 98%);
    padding: 1rem;
    border-radius: 0.5rem;
}

.prep-time-list {
    list-style-position: inside;
    list-style-type: disc;
    margin: 0;
    padding: 0;
    padding-left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prep-time-list li::marker {
    color: hsl(332, 51%, 32%);
    font-weight: bold;
}

.prep-time-title {
    color: hsl(332, 51%, 32%);
}

.subtitle {
    color: hsl(14, 45%, 36%);
    font-family: "Young Serif", serif;
}

.list {
    list-style-position: outside;
    margin: 0;
    padding: 0;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list li::marker {
    color: hsl(14, 45%, 36%);
    font-weight: bold;
}

.list li {
    padding-left: 0.5rem;
}

.nutrition-table {
    border-collapse: collapse;
}

.nutrition-table td {
    border-bottom: 1px solid hsl(30, 18%, 87%);
    padding: 1rem;
}

.nutrition-table td b {
    color: hsl(14, 45%, 36%);
}

.nutrition-table tr:last-child td {
    border-bottom: none;
}

hr {
    border: none;
    border-top: 1px solid hsl(30, 18%, 87%);
}

@media screen and (min-width: 768px) {
    .container {
        max-width: 720px;
        width: 100%;
        border-radius: 2rem;
        padding: 2rem;
        margin: auto;
    }

    .recipe {
        padding: 0;
    }

    .recipe-image {
        border-radius: 1rem;
        overflow: hidden;
    }

    body {
        padding: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
