@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.confirm_details, .dessert_info {
  display: flex;
  flex-direction: column;
}

body {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  background: hsl(13, 31%, 94%);
  min-height: 100vh;
  padding: 20px;
}

.menu_desserts {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.menu_desserts h1 {
  color: hsl(14, 65%, 9%);
  margin-bottom: 30px;
  align-self: flex-start;
}

.dessert {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
}

.thumbnail {
  height: 300px;
  width: 100%;
  border-radius: 15px;
}

.thumbnail_selected {
  border: 3px solid hsl(14, 86%, 42%);
}

.dessert_info {
  align-items: flex-start;
  gap: 5px;
  height: 130px;
  position: relative;
}

.dessert_name {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: hsl(7, 20%, 60%);
  margin-top: 35px;
}

.dessert_description {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  color: hsl(14, 65%, 9%);
}

.dessert_price {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  color: hsl(14, 86%, 42%);
}

.add_button {
  width: 75%;
  height: 50px;
  border: 1px solid hsl(12, 20%, 44%);
  border-radius: 50px;
  background-color: hsl(20, 50%, 98%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  color: hsl(14, 65%, 9%);
}
.add_button:hover {
  cursor: pointer;
  border: 1px solid hsl(14, 86%, 42%);
  color: hsl(14, 86%, 42%);
}

.cart_icon {
  width: 21px;
  height: 20px;
}

.cart {
  background: hsl(20, 50%, 98%);
  border-radius: 15px;
  padding: 20px;
}

.cart_count {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  text-align: left;
  color: hsl(14, 86%, 42%);
  margin-bottom: 25px;
}

.cart_details {
  width: 100%;
  margin-bottom: 25px;
}
.cart_details .empty_cart_img {
  width: 90%;
  height: 90%;
}

.empty_cart_p {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  color: hsl(12, 20%, 44%);
}

.cart_item {
  width: 100%;
  display: flex;
  border-bottom: 1px solid hsl(14, 25%, 72%);
  margin-bottom: 10px;
}

.item_name {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  color: hsl(14, 65%, 9%);
  margin-bottom: 5px;
}

.prices {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.quantity {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: hsl(14, 86%, 42%);
}

.price {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  color: hsl(7, 20%, 60%);
}

.sum_of_prices {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: hsl(12, 20%, 44%);
}

.cart_total {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  color: hsl(14, 65%, 9%);
  width: 100%;
}

.order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.order_total {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  color: hsl(12, 20%, 44%);
}

.open {
  width: 80%;
}

.exit {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.remove_icon {
  border: 1px solid hsl(7, 20%, 60%);
  border-radius: 50%;
  padding: 10px;
}
.remove_icon:hover {
  cursor: pointer;
}

.delivery_type {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  color: hsl(14, 65%, 9%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 15px;
  background: hsl(13, 31%, 94%);
  height: 50px;
  margin-bottom: 20px;
}

.remark {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}

.carbon_neutral_img {
  height: 30px;
  width: 30px;
}

.button {
  width: 100%;
  height: 50px;
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  border: none;
  border-radius: 15px;
  color: hsl(20, 50%, 98%);
  background: hsl(14, 86%, 42%);
  transition: 0.3s;
}
.button:hover {
  cursor: pointer;
  background: hsl(14, 86%, 32%);
}

/* */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal_content {
  background-color: #fefefe;
  margin: auto;
  padding: 30px;
  border: 1px solid #888;
  border-radius: 15px;
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal_content img {
  height: 75px;
  width: 75px;
  margin-bottom: 20px;
}

.order_confirmation {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  text-align: left;
}

.confirmation_p {
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  text-align: left;
  color: hsl(7, 20%, 60%);
}

/* */
#modalCartSummary {
  margin-top: 15px;
  text-align: left;
  border-radius: 15px;
  background: hsl(13, 31%, 94%);
  padding: 25px;
  margin-bottom: 20px;
}

.confirmation_item {
  width: 80%;
  display: flex;
  gap: 15px;
}

.thumbnail_confirm {
  height: 100px;
  width: 100px;
  border-radius: 5px;
}

.confirm_quantity {
  display: flex;
  gap: 15px;
}

.confirm_price {
  width: 20%;
}

/* */
@media screen and (min-width: 1020px) {
  body {
    flex-direction: row;
  }
  .menu_desserts {
    justify-content: center;
    align-items: flex-start;
    width: 75%;
  }
  .dessert {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cart {
    width: 25%;
    height: 30%;
  }
  .thumbnail {
    height: 250px;
    width: 250px;
    border-radius: 15px;
  }
  .modal_content {
    width: 50%;
  }
}
@media screen and (min-width: 1200px) {
  /* body {
   }
  */
}

/*# sourceMappingURL=styles.css.map */
