body {
  margin: 0;
  font-family: "Original Surfer", cursive;
  background-color: #f5f5f5;
  font-size: 14px;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: 39px;
  font-weight: lighter;
}

h2 {
  font-size: 24px;
}

button {
  background: transparent;
  border: none;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  padding: 0;
  cursor: pointer;
}

i {
  color: gray;
}

/* layout */

.container {
  min-width: 450px;
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
}

header {
  box-sizing: border-box;
  background-image: url("./images/header-bg.jpg");
  background-size: cover;
  height: 170px;
  display: flex;
  flex-direction: column;
  padding: 50px;
  color: #000;
  text-align: end;
}

header p {
  margin: 10px 0;
  font-size: 22px;
}

main {
  padding: 0 46px;
}

/* Menu list */

.items-list {
  margin-top: 65px;
}

.item {
  position: relative;
  margin-bottom: 46px;
  display: flex;
  border-bottom: solid 1px #d2d2d2;
  gap: 20px;
}

.item-emoji {
  width: 120px;
  font-size: 78px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
}

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

.item-price {
  font-size: 20px;
}

.item-btn {
  margin-left: auto;
  align-self: flex-start;
  min-width: 50px;
  min-height: 50px;
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 200;
  border-radius: 50%;
  border: solid 1px #dedede;
  color: #3c3c3c;
  background-color: transparent;
  padding: 0;
}

/* Checout order list */

.checkout {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 20px;
}

.checkout-title {
  align-self: center;
  margin-bottom: 30px;
}

.checkout-items {
  display: flex;
  align-items: center;
  gap: 25px;
}

.checkout-items button {
  font-size: 12px;
  color: #bbbbbb;
}

.checkout-items:nth-last-child(2) {
  border-top: solid 2px #393333;
  padding-top: 10px;
}

.checkout-items .item-price {
  margin: 0 0 0 auto;
}

.checkout-items div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-items i {
  font-size: 12px;
  cursor: pointer;
}

.discount {
  color: green;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1.5;
}

.discount-message {
  width: 70%;
}

.order-btn {
  margin: 20px 0;
  background-color: #16db99;
  border-radius: 3px;
  color: #fff;
  padding: 18px;
  font-weight: 700;
}

/* Payment modal */

.payment-modal {
  position: relative;
  display: none;
  flex-direction: column;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  max-width: 525px;
  height: fit-content;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding: 25px;
  background-color: #fff;
  box-shadow: 5.18654px 5.18654px 255.437px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.payment-modal i {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 25px;
  cursor: pointer;
}

.payment-modal-visible {
  display: flex;
}

.payment-modal form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 40px;
}

.payment-modal form input {
  padding: 15px 25px;
  border: solid 1.3px #757575;
  border-radius: 4px;
}

.disable-btn {
  pointer-events: none;
}

/* After payment */

.after-payment {
  background-color: #ecfdf5;
  text-align: center;
  color: #065f46;
  padding: 30px 0;
  font-size: 32px;
}

.empty-order {
  font-size: 5em;
  display: flex;
  align-items: center;
  margin: 0 auto;
  gap: 40px;
}

.empty-order p {
  font-size: 20px;
}
