*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

html {
  font-size: 62.5%; }

body {
  line-height: 1.6;
  background-color: #f4edeb;
  position: relative;
  font-family: "Red Hat Text", sans-serif; }

.container {
  display: grid;
  grid-template-columns: 5rem repeat(10, minmax(min-content, 1fr)) 5rem;
  grid-template-rows: 10vh min-content;
  width: 100%;
  padding: 2rem 0rem; }
  @media only screen and (max-width: 37.5em) {
    .container {
      grid-template-columns: 3rem repeat(10, minmax(min-content, 1fr)) 3rem;
      grid-template-rows: 7vh min-content;
      margin-bottom: 2rem; } }

.menu-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0.5rem; }
  .menu-item picture {
    grid-column: 1 / -1;
    grid-row: 1 /2;
    z-index: 1;
    overflow: hidden; }
  .menu-item img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    grid-column: 1 / -1;
    grid-row: 1 /2;
    object-fit: cover;
    display: block; }
  .menu-item h3 {
    margin: 1px 0;
    grid-column: 1 / -1; }
  .menu-item .category {
    grid-column: 1 / -1; }
  .menu-item .price {
    grid-column: 1 / -1; }
  .menu-item div {
    display: flex;
    align-items: center;
    border-radius: 5rem; }
  .menu-item .add-cart {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    z-index: 3;
    background-color: #fcf9f7;
    align-self: end;
    justify-self: center;
    justify-content: center;
    width: 12rem;
    padding: 1rem;
    transform: translateY(30%);
    cursor: pointer;
    border: 1px solid #646464; }
    @media only screen and (max-width: 37.5em) {
      .menu-item .add-cart {
        width: 15rem; } }
    .menu-item .add-cart img {
      width: 2rem;
      margin: 0rem 0.5rem; }
  .menu-item .item-num {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    background-color: #c73a0f;
    padding: 0.6rem 0rem;
    width: 12rem;
    justify-content: space-between;
    z-index: 10;
    align-self: end;
    justify-self: center;
    visibility: hidden;
    transform: translateY(-20%);
    opacity: 0;
    transition: all 0.4s ease-out; }
    @media only screen and (max-width: 37.5em) {
      .menu-item .item-num {
        width: 15rem; } }
    .menu-item .item-num img {
      width: 2.5rem;
      margin: 0rem 0.5rem;
      cursor: pointer;
      border: 1px solid #fff;
      padding: 0.5rem 0.5rem; }
    .menu-item .item-num p {
      font-size: 1.2rem;
      font-weight: 700; }
  .menu-item .item-num-display {
    transform: translateY(30%);
    visibility: visible;
    opacity: 1; }
  .menu-item .add-cart-display {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden; }

.hover-img {
  border: 2px solid #c73a0f;
  border-radius: 2rem;
  transition: all 0.1s ease-in-out; }

.product-order {
  background-color: #fcf9f7;
  border-radius: 2rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 2rem 2rem rgba(0, 0, 0, 0.1); }
  .product-order .list-order {
    display: flex;
    flex-direction: column;
    align-items: center; }
    .product-order .list-order img {
      height: 20rem;
      width: 20rem; }
    .product-order .list-order p {
      margin-top: 1rem;
      margin-bottom: 1.5rem; }
  .product-order .list-order-remove {
    display: none; }

.cart-order {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #c9aea6;
  padding: 1rem 0rem; }
  .cart-order div {
    margin-right: auto; }
  .cart-order img {
    border: 2px solid #c9aea6;
    padding: 0.5rem 0.5rem;
    border-radius: 50%;
    cursor: pointer; }

.total-price-details {
  display: flex;
  align-items: center;
  margin-top: 1rem; }
  .total-price-details .show-order {
    margin-right: auto; }

.carbon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1rem;
  background-color: #f4edeb;
  border-radius: 1rem;
  margin-top: 2rem; }

.confirm-order {
  background-color: #c73a0f;
  text-align: center;
  border-radius: 3rem;
  margin-top: 1rem; }
  .confirm-order .confirm-text {
    background-color: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    height: auto;
    padding: 1.5rem 1.5rem; }

.order-price {
  display: flex;
  flex-direction: row; }

.order-receipt {
  min-height: 30vh;
  width: 50rem;
  padding: 2rem 2rem;
  background: #fcf9f7;
  border-radius: 2rem;
  margin: 5rem auto; }
  @media only screen and (max-width: 37.5em) {
    .order-receipt {
      max-width: 35rem; } }

.customer-order {
  background-color: #f4edeb;
  border-radius: 1rem;
  padding: 1.5rem 2rem; }

.order-list {
  display: flex;
  border-bottom: 1px solid #c9aea6;
  padding-bottom: 1rem;
  width: 100%; }
  .order-list img {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    margin-right: 1rem;
    border-radius: 1rem; }
  .order-list:not(:last-child) {
    margin-bottom: 2rem; }
  .order-list .product-details {
    display: flex;
    margin-right: auto; }
    .order-list .product-details div {
      margin-top: 0.3rem; }
  .order-list .product-price {
    align-self: center; }

.order-details {
  display: flex;
  flex-direction: row; }
  .order-details span {
    order: -1; }

.receipt-total-price {
  display: flex; }
  .receipt-total-price .receipt-total-order {
    margin-right: auto; }

.order-list-disappear {
  display: none; }

.heading--1 {
  font-size: 2.5rem; }

.category {
  margin-top: 1.8rem;
  text-transform: capitalize;
  font-weight: 500;
  font-size: 1.3rem; }

h3 {
  font-size: 1.7rem; }

.price {
  color: #c73a0f;
  font-weight: 600;
  font-size: 2rem; }

.product-order h2 {
  color: #c73a0f;
  font-size: 2.5rem; }

.product-order p {
  color: #87635a;
  font-size: 1.3rem;
  font-weight: 800; }

.cart-order {
  font-size: 1.3rem; }

.item-times {
  color: #c73a0f;
  margin-right: 0.4rem;
  font-weight: 700; }

.item-details {
  color: #c9aea6; }

.item-details-price {
  color: #ad8985;
  font-weight: 900;
  margin-left: 0.6rem; }

.total-price-details .show-order {
  font-size: 1.2rem;
  font-weight: 700; }

.total-price-details .show-price {
  font-weight: 600;
  font-size: 1.8rem; }

.carbon {
  font-size: 1.1rem; }
  .carbon div {
    margin-left: 0.8rem;
    margin-top: 0.4rem; }

.carbon-span {
  font-weight: 800; }

.confirm-text {
  color: #fcf9f7;
  font-weight: 500; }

.receipt h2 {
  font-size: 3rem; }

.receipt .receipt-p {
  margin-bottom: 1rem;
  font-size: 1.3rem; }

.order-list .product-name {
  color: #260f08;
  font-size: 1.3rem;
  font-weight: 700; }

.order-list .product-price {
  color: #260f08;
  font-size: 1.7rem;
  font-weight: 800; }

.order-details {
  font-size: 1.2rem;
  color: #c9aea6; }
  .order-details span {
    color: #c73a0f;
    margin-right: 1rem;
    font-weight: 700; }

.receipt-total-price .receipt-total-order {
  font-size: 1.4rem;
  font-weight: 500; }

.receipt-total-price .receipt-total-amount {
  font-size: 1.9rem;
  font-weight: 900; }

.heading--1 {
  grid-column: 2 / span 2;
  grid-row: 1 / 2; }

.menu {
  grid-column: 2 / span 7;
  grid-row: 2 / -1;
  margin: 0.5rem 0;
  grid-column-gap: 2rem;
  grid-row-gap: 4rem;
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr)); }
  @media only screen and (max-width: 37.5em) {
    .menu {
      grid-column: 2 / span 10;
      grid-template-columns: 1fr;
      grid-row-gap: 2rem; } }

.white {
  grid-column: 9 / span 3;
  grid-row: 1 / -1;
  margin-left: 3rem; }
  @media only screen and (max-width: 37.5em) {
    .white {
      grid-column: 2 / span 10;
      grid-row: 5 /-1;
      margin: 0;
      margin-top: 1.5rem; } }

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(0.5px);
  z-index: 100; }

.hidden {
  display: none; }
