@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Young+Serif&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 1440px ;
}

body {
    font-family: "Public Sans", sans-serif;
    background-color: hsl(30, 54%, 90%);
    color: hsl(30, 10%, 34%);
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}
.container {
    max-width: 750px;
    background-color: hsl(0, 0%, 100%);
    border-radius: 18px;
    padding: 30px;
    /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); */
}
img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}
.discription {
    margin-bottom: 20px;
    line-height: 1.6;
}
h2 {
    color: hsl(14, 45%, 36%);
    margin-bottom: 20px;
}
h1 {
    color: hsl(24, 5%, 18%);
}
.time {
    background-color: hsl(30, 54%, 90%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    /* line-height: 5px; */
}
.time h3 {
    /* margin-bottom: 10px; */
    font-size: 16px;
    color: hsl(332, 51%, 32%);
    margin-bottom: 20px;
    
}
.time ul {
    /* list-style-type: none; */
    padding-left: 20px;
    margin-bottom: 20px;
    /* display: list-item; */
    /* padding: 20px; */
}
.ingredient, .instruction {
    margin-bottom: 20px;
    padding-left: 20px;

}
.ingredient li,
.instruction li {
    margin-bottom: 10px;
    line-height: 1.6;

}
.instructions li strong {
    color: hsl(14, 45%, 36%);
}
.nutrition {
    width: 100%;
    /* border-collapse: collapse; */
    margin-top: 10px;

}
td {
    color: hsl(14, 45%, 36%);
}
.nutrition th,
.nutrition td {
    /* border: 1px solid #ddd; */
    padding: 10px;
    text-align: center;
    
 }
  
.nutrition th {
    background-color: #f3f3f3;
}
@media(max-width:375px) {
    body {
        padding: 20px 10px;

    }
    .container {
        padding: 20px;

    }
    h1 {
        font-size: 14px;
    }
    img {

        height: auto;
        max-height: 250px;
        object-fit: cover;

    }
    .nutrition {
        display: block;
        overflow-x: auto;

    }
    .time h3 {
        font-size: 12px;
    }
    .discription,
    .ingredient li,
    .instruction li {
        font-size: 12px;
    }
    .nutrition table
    .nutrition th,
    .nutrition td {
        font-size: 12px;
        white-space: nowrap;

    }


}

  
    
  
    
  
