*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-position: inside;
}

@font-face {
    font-family:'OFL' ;
    src: url(./fonts/young-serif/OFL.txt);
}
@font-face {
    font-family:'Outfit-Medium' ;
    src: url(.//fonts/outfit/static/Outfit-Regular.ttf);
}

body{
background-color: #f3e5d8;
display: flex;
align-items: center;
justify-content: center;
font-family: 'OFL';
}
.card{
    max-width: 600px;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
   margin:  50px 0;
}
.image-container {
/* border: 1px solid #0d0d0d; */
border-radius: 15px;

overflow: hidden;
margin: 10px;
justify-content: center;
align-items: center;
  }
  
  .image-container img {
    width: 100%;
    display: inline-block;
   
  }
  .headSecOne h1{
    margin: 20px 5px ;
    font-size: 2.5rem;
    color: #434343;
  }
  .headSecOne p{
    margin: 20px 5px ;
   font-size: 0.9em;
    color: #5a5a5a;
  }
  .headExplain{
    background-color: #fff7fc;
    padding: 20px;
    border-radius: 10px;
    font-family:'Outfit-Medium';
  }
  .headExplain h5{
    color:#73314c ;
    font-size: 1.1rem;
    margin-bottom: 5px;
  }
  .headExplain  li ,  .ingredients li , .instructions li{
    margin: 10px 0;
    font-size: 0.9rem;
    color: #5c5855;
  }
  .instructions ol li{
    padding: 5px;
  }
  .ingredients{
    font-family:'OFL';
  }

  .ingredients h4 , .instructions h4 , .nutrition h4{
    color: #824334;
    font-size: 1.7rem;
    margin:  20px 0;
  }
 .space{
    display: block; /* یا block */
    width: 100%;
    height: 1px;
    background-color: rgb(209, 208, 208); /* یا هر رنگ دیگری */
    margin: 30px auto;
   
 }
 .nutrition-table {
    border-collapse: collapse;
    width: 80%;
    background-color: white;
    margin: 10px auto;
   
}

.nutrition-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
}

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

.nutrition-table tr td:first-child {
    font-weight: bold;
    color: #333;
}

.nutrition-table tr td:last-child {
    text-align: right;
    color: #824334;
    font-weight: bold;
}
@media (max-width: 768px){
    .card{
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
    } 
}