body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: grey;
}

:root {
  --primary-color: rgb(177, 177, 177);
  --secondary-color: red;
  --button-color: #04001e;
  --main-color: rgb(255, 255, 255);
  --shadow-color: #a8a4a4;
}

.main-container {
  height: 100%;
  width: 75%;
  background-color: #fff;
  margin: 40px auto;
  border-radius: 20px;
  padding: 25px 50px;
}

/*   Header   */

.head-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 50px;
}

.head {
  display: flex;
}

.head-image {
  height: 45px;
  width: 35px;
}

.head-image img {
  width: 100%;
}

.head-txt h2 {
  font-size: 23px;
  margin: 10px 5px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.nav-bar ul {
  display: flex;
  align-items: center;
  padding-left: 50%;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.nav-bar li {
  list-style: none;
  padding-right: 20px;
}

.search-container {
  height: 33px;
  width: 24%;
  background-color: #fff;
  display: flex;
  align-items: baseline;
  border-radius: 4px;
  position: relative;
  margin-right: 25px;
  box-shadow: 0 0 3px 0 #1183d6;
}

::placeholder {
  color: black;
  font-size: 12px;
  padding-left: 25px;
}

.search-container::before {
  content: '2';
  width: 20px;
  font-size: 12px;
  height: 20px;
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
  position: absolute;
  border-radius: 50%;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  box-shadow: 0px 0px 26px red;
}

.search-icon i {
  padding: 8px;
  color: rgb(177, 177, 177);
  font-size: 12px;
  position: absolute;
  top: 5px;
  left: 0px;
}

.search-field input {
  border: none;
  outline: none;
  border-right: 2px solid rgb(242, 242, 242);
}

.basket-icon {
  margin-top: 3px;
  margin-left: 5px;
}

/*      Main Content     */

.delivery {
  width: 30%;
  height: 37px;
  background-color: #fbe8e1;
  color: var(--Text-color);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  border-radius: 22px;
}

.delivery-image {
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3px;
  margin-right: 5px;
  box-shadow: 0px 8px 13px #cda3a3;
}

.delivery-image img {
  width: 26px;
}

.delivery-text {
  display: flex;
  align-items: center;
  margin-left: 12px;
}

.sub-container {
  margin-bottom: 100px;
}

.main-head {
  font-weight: 700;
  font-size: 70px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
}

.curly-arrow img {
  width: 220px;
  top: 0;
  right: 0;
  transform: translate(155%, -13%);
}

.city-text {
  color: #dc6207;
}

.sub-head {
  font-size: 16px;
  font-weight: 500;
  margin: 25px 0px;
  color: grey;
  padding-right: 114px;
}

.order-btn {
  height: 40px;
  width: 100%;
  background-color: #ed7b09;
  border-radius: 5px;
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.order-nav-btn {
  width: 40px;
  height: 40px;
  background-color: var(--main-color);
  border-radius: 50%;
  position: relative;
  filter: drop-shadow(0px 8px 16px var(--shadow-color));
  margin-right: 10px;
}

#triangle {
  position: absolute;
  top: 13px;
  right: 12px;
  width: 15px;
  height: 15px;
  clip-path: polygon(100% 54%, 0 0, 0 100%);
  background: #f6932f;
}

.order-text {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
} 

/*  Cards Design       */

.card-bg {
  background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(203, 203, 203) 50%);
  height: 100%;
  width: 80%;
  position: relative;
  border-radius: 10px;
  margin-left: 65px;
}

.berger-image {
  height: 150px;
  width: 150px;
  position: absolute;
  transform: translate(10%, -30%);
}

.berger-image img {
  width: 120px;
  filter: drop-shadow(0px 8px 8px rgb(167, 163, 163));
}

.berger-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 40%;
}

.berger-text h1 {
  font-size: 17px;
  font-weight: 700;
}

.berger-text h3 {
  font-size: 11px;
  font-weight: 700;
  color: grey;
}

.berger-text h4 {
  font-size: 13px;
  font-weight: 700;
}

.berger-arrow {
  margin-top: 22px;
}

.berger-left-arrow {
  height: 35px;
  width: 35px;
  background-color: var(--main-color);
  border-radius: 50%;
  position: relative;
  filter: drop-shadow(0px 8px 8px rgb(167, 163, 163));
  cursor: pointer;
}

.berger-left-arrow i {
  position: absolute;
  left: 10px;
  top: 11px;
  color: black;
}

.berger-right-arrow {
  height: 35px;
  width: 35px;
  background-color: var(--button-color);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.berger-right-arrow i {
  position: absolute;
  left: 10px;
  top: 11px;
  color: var(--main-color);
}

.dollar-color {
  color: var(--secondary-color);
}

/*  PIZZA   */

.berger-card {
  height: 180px;
  width: 160px;
  background-color: var(--main-color);
  border-radius: 18px;
  position: absolute;
  top: 30px;
  transform: translate(-10%, 107%);
}

.pizza-card {
  height: 180px;
  width: 160px;
  background-color: var(--main-color);
  border-radius: 18px;
  position: absolute;
  top: 30px;
  transform: translate(-20%, 107%);
}

.cake-card {
  height: 180px;
  width: 160px;
  background-color: var(--main-color);
  border-radius: 18px;
  position: absolute;
  top: 0px;
  transform: translate(-100%, 267%);
  margin-left: 75px;
}

.Food-dish-card {
  height: 180px;
  width: 160px;
  background-color: var(--main-color);
  border-radius: 18px;
  position: absolute;
  top: 0px;
  transform: translate(-3%, 267%);
}

/* Bottom card Design     */

.cart {
  height: 30px;
  width: 30px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  color: white;
  position: absolute;
  top: 20px;
  right: 22px;
}

.cart i {
  display: flex;
  justify-content: center;
  font-size: 14px;
  padding-top: 8px;
}

.orange-card-text {
  font-size: 17px;
  font-weight: 700;
  position: absolute;
  bottom: 73px;
  right: 22px;
}

.rating {
  font-weight: 600;
  position: absolute;
  bottom: 40px;
  right: 125px;
}

.rating i {
  color: #fec25a;
}

.price {
  font-size: 19px;
  font-weight: 700;
  position: absolute;
  bottom: 11px;
  right: 125px;
}

.add-icon {
  font-size: 25px;
  position: absolute;
  bottom: 12px;
  right: 35px;
  color: #1f1a3f;
}

.orange-card {
  margin: 100px 0px 0px 0px;
  border-radius: 20px;
  height: 170px;
  width: 90%;
  background-color: #e3e1e1;
  position: relative;
}

.orange-image {
  height: 205px;
  width: 150px;
  background-repeat: no-repeat;
  position: absolute;
  transform: translate(-28%, -30%);

}

.orange-image img {
  width: 190px;
  /* box-shadow: 0px 8px 13px #ffa314; */
  filter: drop-shadow(0px 15px 11px rgb(167, 163, 163));
}

.strawberry-card {
  margin: 100px 0px 0px 0px;
  border-radius: 20px;
  height: 170px;
  width: 90%;
  background-color: #e3e1e1;
  position: relative;
}

.strawberry-image {
  height: 205px;
  width: 150px;
  background-repeat: no-repeat;
  position: absolute;
  transform: translate(-36%, -26%);
}

.strawberry-image img {
  width: 220px;
  filter: drop-shadow(0px 15px 11px rgb(167, 163, 163));
}


.pomegranate-card {
  margin: 100px 0px 0px 0px;
  border-radius: 20px;
  height: 170px;
  width: 90%;
  background-color: #e3e1e1;
  position: relative;
}

.pomegranate-image {
  height: 205px;
  width: 150px;
  background-repeat: no-repeat;
  position: absolute;
  transform: translate(-30%, -23%);
}


.pomegranate-image img {
  width: 193px;
  filter: drop-shadow(0px 15px 11px rgb(167, 163, 163));
  ;
}

.pineapple-image {
  height: 205px;
  width: 150px;
  background-repeat: no-repeat;
  position: absolute;
  transform: translate(-2%, -40%);
}

.pineapple-image img {
  width: 100px;
  transform: rotate(0.12turn);
  filter: drop-shadow(0px 15px 11px rgb(167, 163, 163));
}


.mobile-margin {
  margin-left: 20px;
}

/* Using Media Query */


/* For Mobile */

@media only screen and (max-width: 348px) {
  .mobile-width {
    width: 100%;
  }

  .mobile-margin {
    margin-left: 10px;
  }

  .strawberry-image {
    transform: translate(-30%, -13%);
  }

  .strawberry-image img {
    width: 200px;
  }

  .pineapple-image img {
    width: 110px;
  }

  .orange-image {
    transform: translate(-18%, -26%);
  }

  .orange-image img {
    width: 150px;
  }

  .pomegranate-image {
    transform: translate(-28%, -14%);
  }

  .pomegranate-image img {
    width: 150px;
  }
  .menuItemResponsive {
    font-size: 18px;
  }

  .order-field {
    margin: 20px 0px 60px 0px;
  }

  .berger-card {
    position: static;
  }

  .card-bg {
    height: 800px;
  }

  .nav-bar {
    display: none;
  }

  .search-container {
    display: none;
  }

  .main-container {
    width: 90%;
    margin: 10px 20px;
    padding: 25px 25px;
  }

  .curly-arrow img {
    transform: translate(60px, -40px);
  }

  .head-image img {
    width: 25px;
    height: 35px;
  }

  .head-txt h2 {
    font-size: 20px;
    margin: 8px 0px;
  }

  .head-container {
    margin-bottom: 20px;
  }

  .delivery {
    width: 100%;
  }

  .sub-head {
    padding-right: 0;
  }

  /* .main-head {
    font-size: 60px;
  } */
  .berger-card {
    display: none;
  }

  .pizza-card {
    display: none;
  }

  .cake-card {
    display: none;
  }

  .Food-dish-card {
    display: none;
  }
}

/* For Tablet */
@media only screen and (max-width:768px) {
  .nav-bar {
    display: none;
  }

  .search-container {
    width: 45%;
  }

  .delivery {
    width: 50%;
  }

  .order-btn {
    width: 90%;
  }

  .order-btn-tablet {
    width: 40%;
  }

  .sub-head {
    padding-right: 0;
  }

  .curly-arrow img {
    transform: translate(28%, -25%);
  }

  .mobile-width {
    width: 55%;
  }

  .tablet-card {
    height: 150px;
    width: 100%;
  }

  .strawberry-image {
    transform: translate(-20%, -13%);
  }

  .strawberry-image img {
    height: 106px;
    width: 170px;
  }

  .pineapple-image img {
    height: 180px;
    width: 85px;
  }

  .orange-image {
    transform: translate(-18%, -26%);
  }

  .orange-image img {
    height: 150px;
    width: 150px;
  }

  .pomegranate-image {
    transform: translate(-41%, -23%);
  }

  .pomegranate-image img {
    height: 117px;
    width: 164px;
  }

  /* .card-bg {
  height: 175vh;
} */
  .pizza-card {
    transform: translate(-10%, 245%);
  }

  .Food-dish-card {
    transform: translate(-3%, 400%);
  }

  .cake-card {
    transform: translate(-50%, 555%);
  }
}


/* For Desktop */

@media only screen and (min-width: 1300px) {
  .menuItemResponsive {
    display: none;
  }
}