@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=News+Cycle:wght@400;700&family=Outfit:wght@100..900&family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Sevillana&family=Spicy+Rice&family=Young+Serif&display=swap');

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

body {
    display: flex;
    background-color: hsl(329, 53%, 92%);
    justify-content: center;
    font-family: 'Outfit', serif;
    /* text-align: center; */

}

main {
    background-color: hsl(330, 100%, 98%);
    padding: 15px;
    border-radius: 15px;
    margin: 25px;
    width: 100%;
    max-width: 410px;
}

img {
    max-width: 100%;
    border-radius: 10px;
}

h1 {
    font-family: 'Young Serif', serif;
    margin-top: 10px;
    color: hsl(24, 5%, 18%);
    font-weight: 500;
}

p {
    font-size: 0.6rem;
    color: hsl(30, 10%, 34%);
    margin-top: 10px;
    line-height: 1.5;
    font-weight: 400;
}

.headings {
    color: hsl(14, 45%, 36%);
    font-family: 'Young Serif', serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

h3 {
    color: hsl(332, 51%, 32%);
    font-size: 0.8rem;
    text-align: left;
    margin: 30px 0 5px 15px;
}

strong {
    color: hsl(24, 5%, 18%);
}

span {
    color: hsl(30, 10%, 34%);
}

.preparation li {
    font-size: 0.6rem;
    color: hsl(332, 51%, 32%);
    margin-left: 20px;
    padding: 3px;
    list-style-position: inside;
}

.items {
    font-size: 0.6rem;
    font-weight: 500;
}

.ingredient {
    margin: 30px 0 30px 10px;
}

.ingredient li {
    color: hsl(14, 45%, 36%);
    list-style-position: inside;
    padding: 3px;
}

.instructions {
    margin: 30px 0 30px 10px;
}

.instructions li {
    color: hsl(14, 45%, 36%);
    padding: 3px;
    line-height: 1.5;

}

hr {
    margin-top: 10px;
    color: hsl(30, 10%, 34%);
    opacity: 20%;
}

.nutrients {
    padding-bottom: 10px;
}

tr,
th,
tbody {
    padding: 0.5rem;
    border-bottom: 1px solid;
    text-align: left;
    border-color: hsla(32, 10%, 34%, 0.062);

}

th {
    color: hsl(30, 10%, 34%);
    font-size: 0.6rem;
    font-weight: 400;
}

td {
    color: hsl(14, 45%, 36%);
    font-weight: 800;
    font-size: 0.6rem;
}

table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    margin-top: 5px;
}
.attribution {
    font-size: 0.7rem;
    text-align: center;
    padding: 30px;
    color: hsl(30, 10%, 34%);
}
.attribution a{
    color: hsl(30, 10%, 34%);
}

@media(min-width:765px) {
    main {
        max-width: 55%;
    }

    .items {
        font-size: 1rem;
        font-weight: 500;
    }

    p {
        font-size: 0.8rem;
    }
        td,th {
            font-size: 0.9rem;
        }
                .preparation li {
                    font-size: 0.9rem;
                }
}