/* Order styling starts here */

* {
  margin: 0;
  padding: 0;
}
#root {
  width: 99%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* margin: auto; */
  padding: 15px;
  /* border: 2px solid red; */
}
#planDescription {
  margin-top: 1rem;
}
hr {
  width: 100%;
  border: none;
  border-top: 1px solid #ffbe002b; /* Adjust color and thickness as needed */
  margin: 0px 0; /* Add margin for spacing */
}

@media (min-width: 1440px) {
  #root {
    width: 98%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    /* margin: auto; */
    padding: 15px;
    /* border: 2px solid red; */
  }
}
.heading_tag {
  width: 100%;
  /* padding: 20px; */
  display: flex;
  margin: auto;
  /* border: 2px solid blue; */
  background-color: black;
}
.image_logo {
  width: 38%;
  display: flex;
  /* border: 2px solid gold; */
  justify-content: center;
}

.body_tag {
  width: 97%;
  display: flex;
  align-items: center;
  padding: 60px;
  margin: auto;
  height: 550px;
}
/* 08-20-2024 */
@media (min-width: 320px) and (max-width: 768px) {
  .body_tag {
    width: 97%;
    display: flex;
    align-items: center;
    padding: 0px;
    margin: auto;
    height: 550px;
  }
}
.footer_tag {
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 20px;
  margin: auto;
  /* background: #7777771a; */
  /* border: 2px solid green; */
}
.footer_1 {
  width: 32%;
  display: flex;
  flex-direction: column;
  gap: 31px;
  /* border: 2px solid brown; */
}
.location_icon {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 5px;
}
.location_para {
  width: 100%;
  line-height: 31px;
  display: flex;
  justify-content: center;
  /* border: 2px solid rgba(24, 5, 5, 0.788); */
  padding: 5px;
}
.location_para p {
  margin-top: 0rem;
  width: 179px;
  color: goldenrod !important;
}
.footer_2 {
  width: 32%;
  display: flex;
  flex-direction: column;
  gap: 27px;
  /* border: 2px solid rgb(0, 162, 255); */
}
.item_icon {
  width: 100%;
  display: flex;
  justify-content: center;
  /* border: 2px solid rgb(143, 247, 7); */
  padding: 5px;
}
/*.item_icon img {*/
/*  width: 132px;*/
/*}*/
.item_para {
  width: 100%;
  line-height: 31px;
  display: flex;
  justify-content: center;
  /* border: 2px solid rgba(255, 54, 3, 0.952); */
  padding: 5px;
}
.item_para p {
  margin-top: 0rem;
  width: 198px;
  color: goldenrod !important;
}
.footer_3 {
  width: 32%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* border: 2px solid rgb(0, 233, 241); */
}
.dilivery_icon {
  width: 100%;
  display: flex;
  justify-content: center;
  /* border: 2px solid rgb(0, 67, 211); */
  padding: 5px;
}
.dilivery_para {
  width: 100%;
  line-height: 31px;
  display: flex;
  justify-content: center;
  /* border: 2px solid rgb(0, 0, 0); */
  padding: 5px;
}
.dilivery_para p {
  margin-top: 0rem;
  width: 177px;
  color: goldenrod !important;
}
/*.dilivery_icon img {*/
/*  width: 113px;*/
/*}*/
/* toggle button designs starts from here */

* {
  box-sizing: border-box;
}
:root {
  --switches-bg-color: goldenrod;
  --switches-label-color: white;
  --switch-bg-color: white;
  --switch-text-color: goldenrod;
}

body {
  background: url("../assets/images/formbackground.webp");
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

/* resize font-size on html and body level. html is required for widths based on rem */
@media screen and (min-width: 1024px) {
  html,
  body {
    font-size: 24px;
  }
}

@media screen and (max-width: 1024px) {
  html,
  body {
    font-size: 16px;
  }
  .navbar {
         z-index: 2;
         position: absolute;
  }
}

@media screen and (max-width: 600px) {
  html,
  body {
    font-size: 12px;
  }
}

/* a container - decorative, not required */
.toggle {
  border: 1px solid var(--switch-text-color);
  width: 52%;
  padding: 1rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2%;
  background: #00000078;
  border-radius: 17px;
  height: 220px;
}
/* 08-20-2024 */
@media (min-width: 320px) and (max-width: 768px) {
  .toggle {
    border: 1px solid var(--switch-text-color);
    width: 97%;
    padding: 1rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    background: #00000078;
    border-radius: 17px;
    height: 220px;
  }
}
/* p - decorative, not required */
p {
  margin-top: 2rem;
  font-size: 0.75rem;
  text-align: center;
}

@media(min-width:320px) and (max-width:1024px){
  .text_logo img{
    width: 230px;
  }
}

/* container for all of the switch elements 
      - adjust "width" to fit the content accordingly 
  */
.switches-container {
  width: 13rem;
  margin-top:24px;
  position: relative;
  display: flex;
  padding: 0;
  position: relative;
  background: var(--switches-bg-color);
  line-height: 30px;
  border-radius: 3rem;
  margin-left: auto;
  margin-right: auto;
}

/* input (radio) for toggling. hidden - use labels for clicking on */
.switches-container input {
  visibility: hidden;
  position: absolute;
  top: 0;
}

/* labels for the input (radio) boxes - something to click on */
.switches-container label {
  width: 50%;
  padding: 0;
  margin: 0;
  text-align: center;
  cursor: pointer;
  font-size: 17px;
  color: var(--switches-label-color);
}

/* switch highlighters wrapper (sliding left / right) 
      - need wrapper to enable the even margins around the highlight box
  */
.switch-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  padding: 0.15rem;
  z-index: 3;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  /* transition: transform 1s; */
}

.search img {
  width: 25px;
}
/* switch box highlighter */
.switch {
  border-radius: 3rem;
  background: var(--switch-bg-color);
  height: 100%;
  font-size: 14px;
}

/* switch box labels
      - default setup
      - toggle afterwards based on radio:checked status 
  */
.switch div {
  width: 100%;
  text-align: center;
  opacity: 0;
  display: block;
  color: var(--switch-text-color);
  transition: opacity 0.2s cubic-bezier(0.77, 0, 0.175, 1) 0.125s;
  will-change: opacity;
  position: absolute;
  top: 0;
  left: 0;
}

/* slide the switch box from right to left */
.switches-container input:nth-of-type(1):checked ~ .switch-wrapper {
  transform: translateX(0%);
}

/* slide the switch box from left to right */
.switches-container input:nth-of-type(2):checked ~ .switch-wrapper {
  transform: translateX(100%);
}

/* toggle the switch box labels - first checkbox:checked - show first switch div */
.switches-container
  input:nth-of-type(1):checked
  ~ .switch-wrapper
  .switch
  div:nth-of-type(1) {
  opacity: 1;
}

/* toggle the switch box labels - second checkbox:checked - show second switch div */
.switches-container
  input:nth-of-type(2):checked
  ~ .switch-wrapper
  .switch
  div:nth-of-type(2) {
  opacity: 1;
}

/* .searchTerm {
  width: 100%;
  border-right: none;
  padding: 23px;
  height: 20px;
  border-radius: 5px 0 0 5px;
  outline: none;
  color: #9dbfaf;
  } */

/* .searchTerm:focus {
  color: #000202;
  font-size: 18px;
  } */

/* .searchButton {
  width: 40px;
  height: 49px;
  border: 2px solid black;
  background: gold;
  text-align: center;
  color: #fff;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-size: 20px;
  } */

/*Resize the wrap to see the search bar change!*/
.wrap {
  width: 97%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wrapper {
  width: 100%;
  max-width: 31.25rem;
  margin: 6rem auto;
}

.label {
  font-size: 0.625rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: +1.3px;
  margin-bottom: 1rem;
}
/* @media (min-width: 425px) and (max-width: 768px) {
  .toggle {
    border: 1px solid var(--switch-text-color);
    width: 265px;
    padding: 1rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    background: #00000078;
    border-radius: 17px;
    height: auto;
  }
} */
.myLocation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2px;
}

#btn {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}
@media (min-width: 425px) and (max-width: 768px) {
  #btn {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 9px 20px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
  }

  #btn img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    margin-bottom: -3px;
  }
}
@media (min-width: 425px) and (max-width: 768px) {
  #btn img {
    width: 24px;
    height: 22px;
    margin-right: 10px;
    margin-bottom: -7px;
  }
}
#btn:hover {
  background: linear-gradient(135deg, #feb47b, #ff7e5f);
  transform: translateY(-3px);
}

#btn:active {
  transform: translateY(1px);
}

#btn:focus {
  outline: none;
}

.location {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
}

.search {
  display: none;
}

.myLocation a {
  text-decoration: none;
  color: inherit;
}

.img {
  height: 94px;
}

.img img {
  width: 74%;
}

.desc_order {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Popup styles */
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8); /* Darker background */
}

.popup-content {
  background-color: #ffffff;
  margin: 10% auto;
  padding: 30px;
  /*border: 1px solid #ddd;*/
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-in-out;
  position: relative;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.close {
  color: #ff7e5f;
  float: right;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #ff6f61;
  text-decoration: none;
}

form {
  display: flex;
  flex-direction: column;
}

form h2 {
  margin-top: 0;
  font-size: 24px;
  color: #ff7e5f;
  text-align: center;
}

form label {
  margin: 15px 0 5px;
  font-size: 15px;
  color: black;
  font-weight: bold;
}

form input {
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

form button {
  width: auto;
  background-color: black;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.3s, transform 0.2s;
}

form button:hover{
    background-color: goldenrod;
  /*width: 45%;*/
  /*background-color: black;*/
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  /*font-size: 13px;*/
  /*transition: background-color 0.6s, transform 0.1s;*/
    border: 2px solid #0000009c;
}

/* 08-20-2024 */
@media (min-width:320px) and (max-width:1024px){
    .menu-card {
    width: 100% ;
}
  form button {
    width: auto;
    background-color: black;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.3s, transform 0.2s;
  }
}

form button:hover {
  /*background-color: black;*/
  color: white;
}

form button:focus {
  outline: none;
}

.error {
  color: red;
  font-size: 14px;
  margin-top: -15px;
  margin-bottom: 15px;
}

#successMessage {
  display: none;
  color: green;
  text-align: center;
  margin: 20px;
  font-size: 18px;
  font-weight: bold;
}

.image_logo {
  width: 100%;
  display: flex;
  justify-content: center;
}

.popup-open .desc_order {
  display: none; /* Hide the delivery button */
}

#btn img {
  width: 24px;
  height: 22px;
  margin-right: 10px;
  margin-bottom: -7px;
}

/* .searchBar {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  } */

/* #searchQueryInput {
  width: 100%;
  height: 2.8rem;
  background: #f5f5f5;
  outline: none;
  border: none;
  border-radius: 1.625rem;
  padding: 0 3.5rem 0 1.5rem;
  font-size: 1rem;
  } */
/* 
  #searchQuerySubmit {
  width: 3.5rem;
  height: 2.8rem;
  margin-left: -3.5rem;
  background: none;
  border: none;
  outline: none;
  } */

/* #searchQuerySubmit:hover {
  cursor: pointer;
  } */

/* Maps page */

/* Order styling ends here */
