
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* *,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}*/

/* desktop mode............/// */
.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.navbar {
  border-width: 0px 0px 1.5px 0px;
  border-style: solid;
  border-color: rgb(129, 129, 129);
  position: fixed;
  width: 100%;
  background-color: white;
  color: #000;
  opacity: 0.95;
  height: 70px;
  z-index: 12;
  top: 0px;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  height: 70px;
  align-items: center;
}

.menu-items {
  order: 2;
  display: flex;
  justify-content: space-evenly;
  margin-right: 10%;
}

.logo {
  order: 1;
  font-size: 2.3rem;
  width: auto;
  height: 70px;
  margin-left: 2rem;
}

/* ......../ media query /.......... */

@media (max-width: 768px) {
  .navbar {
    opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: flex;
    justify-content: space-between;
    height: 70px;
    align-items: center;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    background: #a3bf5c;
    height:fit-content;
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-top: 200px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 10px;
    font-weight: 500;
  }

  .logo {
    position: absolute;
    top: 5px;
    right: 25px;
    font-size: 2rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }

  /* ......./ food /......... */

  .food-container {
    flex-direction: column;
    align-items: stretch;
  }

  .food-type:not(:last-child) {
    margin-bottom: 3rem;
  }

  .food-type {
    box-shadow: 5px 5px 10px 0 #aaa;
  }

  .img-container {
    margin: 0;
  }
}

@media (max-width: 500px) {
  html {
    font-size: 100%;
  }

  .navbar .menu-items li{
      font-size: 1.6rem;
  }

  .testimonial-container {
    flex-direction: column;
    text-align: center;
  }

  .food-menu-container img {
    margin: auto;
  }

  .food-menu-item {
    flex-direction: column;
    text-align: center;
  }

  .form-container {
    width: 90%;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
  }

  .contact-img {
    width: 90%;
    margin: 3rem auto;
  }

  .logo {
    position: absolute;
    top: 6px;
    right: 25px;
    font-size: 3rem;
  }

  .navbar .menu-items li {
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 500;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .img-container h3 {
    font-size: 1.5rem;
  }

  .img-container .btn {
    font-size: 0.7rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .showcase-area {
    height: 50vmax;
  }
}

.dropdownlist {
  display: none;
  position: absolute;
  overflow: auto;
  background-color: black;
  border-radius: 10px;
  border-color: white;
  border-width: 0px;
  border-style: solid;
  box-shadow: 5px 5px 10px 0px rgb(129, 129, 129);
  padding: 5px; 
  margin-left: 20px;
  width: 160px;
  height: auto;
}

.menu:hover .dropdownlist {
  display: block;
  z-index: 2;
}

.menu {
  display: inline-block;
  position: relative;
}

.navbutton {
  background-color: transparent;
  color: black;
  border: none;
  font-size: 1.0em;
  /*font-weight: bolder;*/
  font-family: "Russo One", sans-serif;
  width: 140px;
  height: 70px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
}

.navbutton:hover {
  text-decoration-line: underline overline;
  text-decoration-thickness: 2px;
  text-decoration-color: black;
  text-underline-offset: 5px;
  padding: 10px;
  width: 140px; 
}

.optionbutton {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 1.0em;
  /*font-weight: bolder;*/
  font-family: "Russo One", sans-serif;
  width: auto;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.optionbutton:hover {
  text-decoration-line: underline overline;
  text-decoration-thickness: 1px;
  text-decoration-color: white;
  text-underline-offset: 5px;
  
  padding: 10px;
}

#caret-down {
  height: 0.5em;
  width: auto;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track { 
  border-radius: 5px;
}
 
::-webkit-scrollbar-track-piece {
  background-color: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
  width: 2px;
  height: 2px;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}