@font-face {
  font-family: 'Young Serif';
  src: url('./assets/fonts/young-serif/YoungSerif-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Outfit';
  src: url('./assets/fonts/outfit/static/Outfit-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html,
body {
    background-color: hsl(30, 54%, 90%);
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 50px auto;
    color: hsl(30, 10%, 34%);
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.5;
    align-items: center;
}

h1{
  font-family: 'Young Serif', serif;
  color: hsl(24, 5%, 18%);
}

h2 {
  font-family: 'Young Serif', serif;
  color: hsl(14, 45%, 36%);
}

.box{
    background-color: hsl(0,0%,100%);
    width: 50%;
    border-radius: 20px;
    padding: 30px;
}

img{
    width: 100%;
    border-radius: 12px;

} 

.Preparation{
    background-color: hsl(330, 100%, 98%);
    padding: 1px 15px;
    margin-top: 10px;
    border-radius: 10px;
    color: hsl(30, 10%, 34%);
}

.Preparation ul li::marker{
    color: hsl(332, 51%, 32%);
}

h3{
    color: hsl(332, 51%, 32%);
}

.nutrition-table {
  width: 100%;
  margin: 10px auto;
  border-collapse: collapse;
  line-height: 2;
  text-indent: 20px;
  font-size: 16px;
  color: hsl(14, 45%, 36%);;
}

.nutrition-table tr:not(:last-child) td {
  border-bottom: 2px solid #eee;
}

.nutrition-table td:first-child {
  text-align: left;
  color: #333;
}

.nutrition-table td:last-child {
  text-align: left;
}

.nutrition-table strong {
  font-weight: bold;
  color: #5a2e1c;
}

.attribution{
    width: 50%;
    text-align: center;
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .box{
    width: 100%;
    border-radius: 0;
    padding: 0;
  }
  img{
    border-radius: 0;
    width: 100%;
  }
  html,body{
    min-width: 375px;
    margin: 0;
    background-color: white;
  }
  .text-content{
    padding: 15px;
  }
}

