* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
  
body {
    font-family: 'Outfit', sans-serif;
    background-color: hsl(30, 54%, 90%);
    color: hsl(30, 10%, 34%);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 3rem 1rem;
}
  
.card {
    background-color: hsl(0, 0%, 100%);
    border-radius: 1.25rem;
    max-width: 740px;
    overflow: hidden;
    padding: 2rem;
}
  
.recipe-image {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}
  
h1 {
    font-family: 'Young Serif', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: hsl(24, 5%, 18%);
}
  
  .description {
    margin-bottom: 1.5rem;
    color: hsl(30, 10%, 34%);
}
  
h2 {
    font-family: 'Young Serif', serif;
    font-size: 1.25rem;
    color: hsl(14, 45%, 36%);
    margin: 1.5rem 0 0.75rem;
}
  
.prep-time {
    background-color: hsl(330, 100%, 98%);
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.prep-time h2 {
    color: hsl(332, 51%, 32%);
}  
  
.prep-time ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.prep-time ul::marker {
    color: hsl(332, 51%, 32%)
}
  
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}
  
li {
    margin-bottom: 0.5rem;
}

li span {
    font-weight: 600;
}
  
ul li::marker,
ol li::marker {
    font-weight: bold;
    color: hsl(14, 45%, 36%);
}
  
.ingredients,
.instructions {
    border-bottom: 1px solid hsl(30, 18%, 87%);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
  
.nutrition {
    display: flex;
    flex-direction: column;
}
  
.nutrition div {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid hsl(30, 18%, 87%);
}

.nutrition div span {
    width: 50%;
}

.nutrition div span:first-child {
    padding-left: 2rem;
}

.nutrition div span:last-child {
    color: hsl(14, 45%, 36%);
    font-weight: 700;
}

.nutrition div:last-child {
    border-bottom: none;
}
  
.attribution {
    font-size: 11px;
    text-align: center;
    margin-top: 3rem;
    color: hsl(24, 5%, 18%);
}
  
.attribution a {
    color: hsl(228, 45%, 44%);
}

.attribution a:hover {
    color: blueviolet;
    text-decoration: none;
}

.attribution a:active {
    color: blueviolet;
    text-decoration: none;
}
  
@media (max-width: 600px) {
    .card {
      padding: 1.5rem;
    }
  
    h1 {
      font-size: 1.75rem;
    }
  
    h2 {
      font-size: 1.1rem;
    }
  
    body {
      padding: 2rem 1rem;
    }
}
  