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

body{
    margin: 0px;
    padding: 1rem;
    background-color: hsl(30, 54%, 90%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Outfit';
    font-weight: 400;
    color: hsl(30, 10%, 34%);;
}


h1,h2{
    font-family: 'Young Serif';
    font-weight: 400;
}
h1{
    color: hsl(24, 5%, 18%);
}

h2{
    color: hsl(14, 45%, 36%);
}

li span{
    color: hsl(30, 10%, 34%);
    font-weight: 700;
}
li{
    padding: 0px 0px 1rem 1rem;
}
li::marker{
    color: hsl(14, 45%, 36%);
}

.outsideImage{
    display: none;
}
#box{
    background-color: white;
    border-radius: 1rem;
    width: 45%;
    padding: 2rem;
}

.image {
    img{
        width: 100%;
        border-radius: 1rem;
    }
}

.preparationTime{
    background-color: hsl(330, 100%, 98%);
    border-radius: 1rem;
    padding: 1rem;
    h3{
        font-weight: 600;
        color: hsl(332, 51%, 32%);
    }
    ul li::marker{
        color: hsl(332, 51%, 32%);
    }
}

.instruction{
    ol li::marker{
        font-weight: 700;
    }
}

.nutrition {
    padding: 20px;
}

.nutrition table {
    width: 100%;
    border-collapse: collapse;
}

.nutrition th, .nutrition td {
    padding: 12px 2.5rem;
    text-align: left;
    border-bottom: 1px solid #ddd;  
}

.nutrition th {
    width: 50%;
    font-weight: 400;
}

.nutrition td {
    font-weight: bold;
    text-align: left;
    color: hsl(14, 45%, 36%);;
}

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

@media (max-width: 700px) {
    #box{
        width: 80%;
    }
}

@media (max-width: 380px) {
    body{
        padding: 0rem;
    }
    .outsideImage{
        display:inherit;
        margin: 0px;
        padding: 0px;
        img{
            width: 100%;
        }
    }
    #box{
        background-color: white;
        padding: 2rem;
        padding-top: 0rem;
        width: inherit;
        border-radius: 0px;
    }
    .image {
        img{
            border-radius: 0rem;
            display: none;
        }
    }
    .nutrition {
        padding: 0px;
    }
}
