@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
  color: white;
  font-family: 'Lato', sans-serif;
}

:root {
  --primary: #1a75f4;
  --white: #ffffff;
  --bg: #f5f5f5;
}

html {
  font-size: 62.5%;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}

@media (min-width: 1440px) {
  html {
    zoom: 1.5;
  }
}

@media (min-width: 2560px) {
  html {
    zoom: 1.7;
  }
}

@media (min-width: 3860px) {
  html {
    zoom: 2.5;
  }
}

::-webkit-scrollbar {
  width: 1.3rem;
}

::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background: #797979;
  transition: all 0.5s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background: #222224;
}

::-webkit-scrollbar-track {
  background: #f9f9f9;
}

body {
  font-size: 1.6rem;
  background: var(--bg);
}

.container {
  max-width: 124rem;
  padding: 0 1rem;
  margin: 0 auto;
}

.text-center {
  text-align: center;
  font-size: 5rem;
}

.section-heading {
  font-size: 2rem;
  color: black;
  padding: 2rem 0;
  font-weight: lighter;

}

#tranding {
  padding: 4rem 0;
}

@media (max-width:1440px) {
  #tranding {
    padding: 7rem 0;
  }
}

#tranding .tranding-slider {
  height: 52rem;
  padding: 2rem 0;
  position: relative;
}

@media (max-width:500px) {
  #tranding .tranding-slider {
    height: 45rem;
  }
}

.tranding-slide {
  width: 37rem;
  height: 42rem;
  position: relative;
}

@media (max-width:500px) {
  .tranding-slide {
    width: 28rem !important;
    height: 36rem !important;
  }

  .tranding-slide .tranding-slide-img img {
    width: 28rem !important;
    height: 36rem !important;
  }
}

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
}

.navbar {
  background-color: #333;
  padding: 20px 0;
  display: flex;
  height: 120px;
  width: 100vw;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: max-content;

}

.one {
  height: 42px;
  padding-right: 10px;
}

.nav-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.nav-list {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
}

.nav-list li {
  margin: 0;
}

nav div ul li a:hover {
  color: #83CEF9;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 190px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  top: -61px;
  border-radius: 8px;
}

.dropdown-content a:hover{
  color: black;
  background-color: rgba(238, 238, 238, 1);
  min-width: 190px;
}

.dropdown:hover .dropdown-content {
  display: block;
  color: #83CEF9;
  margin-top: 119px;
  border-radius: 8px;
  
}

.nav-list a {
  text-decoration: none;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.nav-list .search-container {
  padding: 0px;
  background-color: #333;
  border-bottom: 1px solid white;
  padding-left: 0px;
  width: 210px;
  position: relative;

  display: flex;
  flex-direction: row;
  bottom: 0%;
}

.nav-list .search-items {
  display: flex;
  align-items: baseline;
  justify-content: baseline;
  padding-top: 10px;
}

.nav-list .search-items input {
  outline: none;
}

.nav-list .search-items ::after {
  background-color: #00000000;
  border: none;

}



/* Media query for responsiveness */
@media screen and (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    /* position: absolute; */
    top: 90px;
    /* Adjust as needed */
    left: 0;
    width: 100%;
    background-color: #423e3e;
    display: none;
  }

  .nav-list.show {
    display: flex;

  }

  .nav-list li {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
  }

  .nav-list a {
    width: 100%;
    text-align: left;
  }



  .nav-list a:hover {
    background-color: blue;
  }
}

.search-input {
  background-color: transparent;
  border: none;
  margin-left: 10px;
}


#searchInput {
  display: inline;
  height: 50%;
}

#search-icon img {
  display: inline;
  height: 10px;
  ;
}

.dropdown-options{
  display: block;
}


text-center section-subheading{
  color: black;
}






.tranding-slide .tranding-slide-img img {
  width: 37rem;
  height: 42rem;
  /* border-radius: 2rem; */
  object-fit: cover;
}

.tranding-slide .tranding-slide-content {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}


.tranding-slide-content .tranding-slide-content-bottom {
  position: absolute;
  bottom: 0rem;
  left: 0rem;
  color: var(--white);
  display: flex;
  background-color: rgba(65, 63, 63, 0.482);
  padding: 1/2rem;
  overflow: hidden;
}

.tranding-slide-content-bottom {
  width: -webkit-fill-available;
}

.tranding-slide-content {
  overflow: hidden;
  border-radius: 4%;
  box-shadow: 12px 13px 17px 0px rgba(57, 56, 56, 0.952);

}

.text-center{
  color: black;
}

.food-name {
  display: flex;
  width: 100%;
  height: 5.6rem;
  justify-content: center;
  align-items: center;
  overflow: auto;
  font-weight: lighter;


}

.food-rating {
  padding-top: 1rem;
  display: flex;
  gap: 1rem;
}

.rating ion-icon {
  color: var(--primary);
}

.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
  display: none;
}

.tranding-slider-control {
  position: relative;
  bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tranding-slider-control .swiper-button-next {
  left: 58% !important;
  transform: translateX(-58%) !important;
}

@media (max-width:990px) {
  .tranding-slider-control .swiper-button-next {
    left: 70% !important;
    transform: translateX(-70%) !important;
  }
}

@media (max-width:450px) {
  .tranding-slider-control .swiper-button-next {
    left: 80% !important;
    transform: translateX(-80%) !important;
  }
}

@media (max-width:990px) {
  .tranding-slider-control .swiper-button-prev {
    left: 30% !important;
    transform: translateX(-30%) !important;
  }
}

@media (max-width:450px) {
  .tranding-slider-control .swiper-button-prev {
    left: 20% !important;
    transform: translateX(-20%) !important;
  }
}

.tranding-slider-control .slider-arrow {
  background: #00000000;
  width: 3.5rem;
  height: 2.5rem;
  border-radius: 50%;
  left: 42%;
  transform: translateX(-42%);
  filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
}

.tranding-slider-control .slider-arrow ion-icon {
  font-size: 2rem;
  color: #222224;
}

.tranding-slider-control .slider-arrow::after {
  content: '';
}

.tranding-slider-control .swiper-pagination {
  position: relative;
  width: 15rem;
  bottom: 1rem;
}

.tranding-slider-control .swiper-pagination .swiper-pagination-bullet {
  filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
}

.tranding-slider-control .swiper-pagination .swiper-pagination-bullet-active {
  background: #83CEF9;
  width: 20px;
  border-radius: 10px;
}