body {
    margin: 0;
    font-family: "Smythe", serif;
    font-weight: 400;
    /* width: 600px; */
}

h1{
    font-size: 2.4375rem;
    font-weight: 400;
    padding: 0;
    margin: 0;
}

h2, h3{
    font-size: 1.75rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

p{
    margin: 0;
    padding: 0;
}

.sub-title{
    font-size: 1.40125rem;
    /* padding: 0; */
    /* margin: 0; */
}

.food-item-ingredients{
    color: #8b8b8b;
}

.food-item-price, .cart-item-price, .total-price{
    font-size: 1.25rem;
}

.cart-h2{
    text-align: center;
}








header{
    background-image: url(images/ferks-guare-KEZdWfYD-ow-unsplash\ 1.png);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 46px 46px;
}

.container{
    max-width: 600px;
    margin: 0 auto;
}

main{
    padding: 46px;
    max-width: 600px;
    margin: 0 auto;
}

.food-item{
    display: flex;
    gap: 31px;
    border-bottom: 1px solid #d2d2d2;
    height: 140px;
    margin-bottom: 45px;
}

.food-item-img{
    width: 4.9375rem;
    height: 4.9375rem;
}

.food-item-info{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.add-to-cart-btn{
    width: 50px;
    height: 50px;
    font-family: "Inter", sans-serif;
    font-size: 2rem;
    font-weight: 200;
    line-height: 1;
    border-radius: 50%;
    border: 1.5px solid #DEDEDE;
    background-color: transparent;
    margin-left: auto;
    flex-shrink: 0;
}

.cart-item{
    display: flex;
    align-items: center;
    gap: 13px;
    /* border: 1px solid red; */
    margin-bottom: .5rem;

}

.cart-item-price{
    margin-left: auto;
}

.remove-item{
    font-size: .75rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #BBBBBB;
    background-color: transparent;
    border: none;
    padding: 0;

}

.total{
    display: flex;
    align-items: center;
    border-top: 2px solid #393333;
    margin-top: 1rem;
    margin-bottom: 3.3125rem;
    padding-top: 0.875rem;
}

.total-price{
    margin-left: auto;
}

.complete-order, .pay-btn{
    display: block;
    width: 100%;
    background-color: #16DB99;
    border: none;
    border-radius: 3px;
    height: 3.75rem;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    font-size: 1rem;

}

.checkout-modal{
    display: none;
    background-color: white;
    width: min(524px, 80%);
    height: 542px;
    padding: 30px 24px;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: fixed;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: #000 0px 0px 1000px;
}


legend{
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 2rem 0 4rem;
}

input{
    display: block;
    width: 93%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    padding: 1rem;
    margin: 1.5rem 0;
    border: 1.3px solid #757575;
    border-radius: 4px;
}

.pay-btn{
    font-size: 1.25rem;
    height: 4.45625rem;
    margin-top: 4rem;
}

.checkout-msg-container{
    background-color: #ECFDF5;
    height: 120px;
    color: #065F46;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.discount{
    color: #065f0a;
}

.add-to-cart-btn, .remove-item, .complete-order, .pay-btn {
  cursor: pointer;
}

button:focus, input:focus {
  outline: 2px solid #16DB99;
}
