@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
.active {
  display: block;
}
/* ! HOME PAGE STARTS HERE */
#home_page {
  height: 100vh;
  width: 100vw;
  /* border: 5px solid black; */
  background-image: url("./Assets/Tiffin-Background.png");
  background-size: cover;
}
nav {
  height: 15vh;
  /* border: 2px solid red; */
  display: flex;
  background-color: rgba(0, 0, 0, 0.829);
}

#nav_one {
  flex-basis: 20%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
}
#logo {
  font-size: xx-large;
  color: white;
  text-shadow: 5px 5px 2px black;
}
#nav_two {
  flex-basis: 65%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
#nav_two > a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: white;
  text-shadow: 5px 5px 2px black;
  transition: all 0.5s ease 0s;
}
#nav_two > a:hover {
  color: orange;
}
#nav_three {
  flex-basis: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  position: relative;
}
#cart_icon {
  font-size: 30px;
  font-weight: 100;
  color: white;
  text-shadow: 5px 5px 2px black;
}
#quantity {
  /* border: 2px solid green; */
  height: 22px;
  width: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  position: absolute;
  top: 20px;
  left: 70px;
  background-color: white;
}
#price {
  font-size: 17px;
  font-weight: 500;
  color: white;
  text-shadow: 5px 5px 2px black;
}
header {
  height: 85vh;
  /* border: 2px solid red; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  background-color: rgba(0, 0, 0, 0.69);
}
#tagline {
  font-size: 50px;
  text-align-last: center;
  color: white;
  text-shadow: 5px 5px 2px black;
}
#explore_btn {
  padding: 15px 25px;
  border: none;
  border-radius: 20px;
  background-color: orange;
  font-size: 17px;
  color: white;
  font-weight: 700;
  text-shadow: 2px 2px 2px black;
  box-shadow: 5px 5px 2px black;
}

/* !HOME PAGE ENDS HERE */

/* !MENU PAGE STARTS HERE */
#menu_one {
  height: 15vh;
  /* border: 2px solid red; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 55px;
}
#menu_one > h2 {
  font-size: 35px;
  text-shadow: 3px 3px 2px rgba(128, 128, 128, 0.133);
  /* color: orange; */
}
#search_field {
  height: 45px;
  width: 220px;
  padding-left: 20px;
  border-radius: 5px;
  border: none;
  border: 1px solid rgba(128, 128, 128, 0.098);
  background-color: #efefef2b;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
#menu_two {
  /* border: 2px solid blue; */
  /* padding: 50px; */
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.card_container {
  /* border: 2px solid yellow; */
  height: 340px;
  width: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  background-color: #efefef39;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 5px;
  transition: all 0.2s ease 0s;
  margin: 20px 0px;
}
.card_container:hover {
  scale: 1.02;
}
.food_img {
  height: 170px;
  width: 80%;
  border-radius: 20px;
}
.food_title {
  font-size: 25px;
  text-shadow: 5px 5px 2px rgba(128, 128, 128, 0.133);
}
.food_price {
  color: orange;
  font-size: 20px;
}
.quantity_btns {
  color: white;
  font-size: 18px;
  font-weight: 700;
  background-color: orange;
  height: 30px;
  width: 30px;
  border-radius: 5px;
  margin: 0px 10px;
  border: none;
}
.food_quantity > span {
  font-size: 20px;
  font-weight: 700;
}
/* !MENU PAGE ENDS HERE */

/* !ABOUT PAGE STARTS HERE */
#about_page {
  height: 100vh;
  width: 100vw;
  display: flex;
}
#about_one,
#about_two {
  flex-basis: 50%;
}
#about_one {
  display: flex;
  justify-content: center;
  align-items: center;
}
#about_img {
  height: 450px;
  width: 500px;
  border-radius: 25px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
#about_two {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 0px 30px;
}
#about_us {
  font-size: 40px;
  color: #c22300;
  text-align: start;
  width: 100%;
  text-shadow: 1px 1px 1px black;
}
.about_paras {
  font-size: 18px;
}
#testimonal {
  padding: 15px;
  background-color: #efefef;
  border-radius: 15px;
  border-left: 7px solid #c22300;
}
#social_media_icons {
  /* border: 2px solid black; */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 50px;
  height: 40px;
}
.icon {
  /* border: 2px solid green; */
  border-radius: 50%;
  height: 100%;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #c22300;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
.icon > i {
  font-size: 20px;
  color: white;
}
/* !ABOUT PAGE ENDS HERE */

/*!FEEDBACK PAGE STARTS HERE  */
#feedback_one {
  height: 20vh;
  /* border: 2px solid red; */
  background-color: #c22300;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
#feedback_one > h3 {
  font-size: 30px;
  font-weight: 700;
}
#feedback_one > p {
  font-size: 18px;
  font-weight: 500;
}
#feedback_two {
  /* border: 2px solid green; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#feedback_two > h2 {
  /* border: 2px solid yellow; */
  padding: 10px 0px;
  width: 100%;
  text-align: center;
  color: #f03c14;
}
#feedback_two > form {
  /* border: 2px solid yellow; */
  height: 550px;
  width: 550px;
  padding: 0px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin: 40px 0px;
  /* border: 1px solid rgba(0, 0, 0, 0.391); */
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.form_fields {
  /* border: 2px solid brown; */
  display: flex;
  flex-direction: column;
  padding: 0px 15px;
  height: 200px;
  justify-content: space-evenly;
}
.form_fields > label {
  font-size: 18px;
  font-weight: 500;
}
.form_fields > input {
  height: 40px;
  /* width: 90%; */
  border-radius: 5px;
  padding-left: 10px;
  border: 1px solid rgba(0, 0, 0, 0.33);
}
.form_fields > select {
  height: 40px;
  /* width: 90%; */
  border-radius: 5px;
  padding-left: 10px;
  border: 1px solid rgba(0, 0, 0, 0.33);
}
#textarea_field {
  height: 300px;
  display: flex;
  flex-direction: column;
  gap: -30px;
}
textarea {
  height: 100px;
  /* margin: 10px; */
}
#submit_feedback {
  width: 100%;
  background-color: #c22300;
  color: white;
  font-weight: 700;
  border: none;
}
#feedback_three {
  height: 13vh;
  background-color: #333;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
#feedback_three > p {
  font-size: 18px;
  font-weight: 600;
}
/*!FEEDBACK PAGE ENDS HERE  */

/* !CART POPUP PAGE STARTS HERE */
main {
  height: 100vh;
  width: 100vw;
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#popup_container {
  padding: 20px;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 5px;
}
#popup_container > h2 {
  font-size: 20px;
  text-align: center;
}
#cart_details {
  text-align: center;
}

#popup_container > button {
  background-color: #f03c14;
  color: white;
  height: 30px;
  width: 100%;
  border: none;
}
/* !CART POPUP PAGE ENDS HERE */


/* ! RESPONSIVENESS */
/* ----------- RESPONSIVE DESIGN ----------- */

/* For tablets and small laptops */
@media (max-width: 1024px) {
  #tagline {
    font-size: 40px;
    padding: 0 20px;
  }

  #menu_one {
    flex-direction: column;
    height: auto;
    gap: 10px;
    padding: 20px;
  }

  #menu_two {
    gap: 15px;
    padding: 10px;
  }

  .card_container {
    width: 220px;
    height: auto;
  }

  #about_page {
    flex-direction: column;
    height: auto;
  }

  #about_img {
    width: 90%;
    height: auto;
  }

  #about_two {
    padding: 20px;
  }

  #feedback_two > form {
    width: 90%;
  }
}

/* For mobile devices */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  #nav_one, #nav_two, #nav_three {
    flex-basis: 100%;
    justify-content: center;
    padding: 10px 0;
  }

  #nav_two {
    flex-wrap: wrap;
    gap: 15px;
  }

  #tagline {
    font-size: 30px;
    padding: 0 10px;
  }

  #explore_btn {
    padding: 10px 20px;
    font-size: 15px;
  }

  .card_container {
    width: 100%;
    max-width: 300px;
  }

  #menu_one > h2 {
    font-size: 25px;
  }

  #search_field {
    width: 180px;
  }

  #about_img {
    height: auto;
    width: 100%;
  }

  #about_us {
    font-size: 30px;
    text-align: center;
  }

  .about_paras {
    font-size: 16px;
    text-align: center;
  }

  #social_media_icons {
    gap: 20px;
  }

  #feedback_one > h3 {
    font-size: 25px;
  }

  #feedback_one > p {
    font-size: 16px;
    text-align: center;
  }

  #feedback_two > form {
    height: auto;
    padding: 20px 10px;
  }

  .form_fields {
    height: auto;
  }


  #textarea_field textarea {
    height: 80px;
  }

  #popup_container {
    width: 90%;
  }
  #quantity{
    display: none;
  }
}

/* Extra small devices (e.g., small phones) */
@media (max-width: 480px) {
  #logo {
    font-size: 20px;
  }

  #nav_two > a {
    font-size: 14px;
  }

  #cart_icon {
    font-size: 24px;
  }

  #quantity {
    top: 10px;
    left: 60px;
    height: 18px;
    width: 18px;
    font-size: 10px;
  }

  #price {
    font-size: 14px;
  }

  #tagline {
    font-size: 24px;
  }

  #explore_btn {
    font-size: 14px;
    padding: 8px 15px;
  }

  #about_us {
    font-size: 24px;
  }

  .about_paras {
    font-size: 14px;
  }

  #feedback_three > p {
    font-size: 14px;
    text-align: center;
  }

  .form_fields > label {
    font-size: 14px;
  }

  .form_fields > input,
  .form_fields > select {
    font-size: 14px;
  }
}

