/* !<Global> */

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #ffc107;
  --secondary-color: #748182;
  --tertiary-color: #1c1c1c;
  --main-font: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--main-font);
}

.main-color {
  color: var(--primary-color);
}

.bg-main-color {
  background-color: var(--primary-color);
}

/* !</Global> */

/* .<scrollbar> */

/* width */
::-webkit-scrollbar {
  width: 0.875rem;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: darkgoldenrod;
}

/* .</scrollbar> */

/* !<loading> */

#loading {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9;
}

body {
  overflow: hidden;
}

.circle {
  position: relative;
  left: -100px;
  width: 0;
  height: 0;
  border: 50px solid var(--primary-color);
  border-radius: 50%;
  border-right-color: transparent;
  animation: move 5s linear 0s infinite normal forwards;
}

.circle:before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 0;
  height: 0;
  border: 50px solid var(--primary-color);
  border-radius: 50%;
  border-right-color: transparent;
  animation: chomp1 0.25s ease-in-out 0s infinite normal forwards;
}

.circle:after {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 0;
  height: 0;
  border: 50px solid var(--primary-color);
  border-radius: 50%;
  border-right-color: transparent;
  animation: chomp2 0.25s ease-in-out 0s infinite normal forwards;
}

.loader {
  position: relative;
  top: 50px;
  width: 300px;
  height: 0px;
  border-top: 10px dotted black;
  animation: loader_4013 5s ease-in-out 0s infinite normal forwards;
}

.dots {
  position: relative;
  top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dot {
  position: relative;
  width: 10px;
  height: 10px;
  margin: 0 10px;
  border-radius: 50%;
  background: #1e88e5;
  animation: dot1 5s linear 0s infinite none normal;
}

.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.25s;
}

.dot:nth-child(3) {
  animation-delay: 0.5s;
}

.dot:nth-child(4) {
  animation-delay: 0.75s;
}

.dot:nth-child(5) {
  animation-delay: 1s;
}

.dot:nth-child(6) {
  animation-delay: 1.25s;
}

.dot:nth-child(7) {
  animation-delay: 1.5s;
}

.dot:nth-child(8) {
  animation-delay: 1.75s;
}

.dot:nth-child(9) {
  animation-delay: 1.9s;
}

.dot:nth-child(10) {
  animation-delay: 2.1s;
}

.dots2 {
  position: relative;
  top: 50px;
  left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dot2 {
  position: relative;
  left: -10px;
  width: 10px;
  height: 10px;
  margin: 0 10px;
  border-radius: 50%;
  background: #f44336;
  opacity: 0;
  animation: dot2 5s linear 0s infinite none normal;
}

.dot2:nth-child(10) {
  animation-delay: 2.5s;
}

.dot2:nth-child(9) {
  animation-delay: 2.75s;
}

.dot2:nth-child(8) {
  animation-delay: 3s;
}

.dot2:nth-child(7) {
  animation-delay: 3.25s;
}

.dot2:nth-child(6) {
  animation-delay: 3.5s;
}

.dot2:nth-child(5) {
  animation-delay: 3.75s;
}

.dot2:nth-child(4) {
  animation-delay: 4s;
}

.dot2:nth-child(3) {
  animation-delay: 4.25s;
}

.dot2:nth-child(2) {
  animation-delay: 4.5s;
}

.dot2:nth-child(1) {
  animation-delay: 4.6s;
}
/* #F44336;, #1E88E5, #FDD835; */
@keyframes chomp1 {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(45deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes chomp2 {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-45deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes move {
  0%,
  100% {
    left: -100px;
  }

  0%,
  48% {
    transform: rotateY(0deg);
  }

  50%,
  100% {
    transform: rotateY(180deg);
  }

  50% {
    left: 100%;
  }
}

@keyframes loader_4013 {
  0%,
  100% {
    border-top: 10px dotted #1e88e5;
  }

  0%,
  48% {
    border-top: 10px dotted #1e88e5;
  }

  50%,
  100% {
    border-top: 10px dotted #f44336;
  }

  50% {
    border-top: 10px dotted #f44336;
  }
}

@keyframes dot1 {
  0%,
  4% {
    background: #1e88e5;
    opacity: 1;
  }

  5%,
  94% {
    background: #f44336;
    opacity: 0;
  }

  95%,
  100% {
    background: #1e88e5;
    opacity: 1;
  }
}

@keyframes dot2 {
  0%,
  4% {
    background: #f44336;
    opacity: 1;
  }

  5%,
  94% {
    opacity: 0;
  }

  95%,
  100% {
    background: #f44336;
    opacity: 1;
  }
}

/* !</loading> */

/* @<side-nav> */

.side-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  z-index: 6;
  transition: all 300ms ease;
}

.side-nav #menu {
  position: relative;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 12px;
  /* background-color: white; */
  transition: all 300ms ease;
}

#menuLogo {
  margin-top: 8px;
  width: 40px;
  height: auto;
}

#contactIcon {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

#openIcon {
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--primary-color);
  transform: translate(-50%, -50%);
  transform-origin: center center;
  transition: all 300ms ease;
}

#openIcon:hover {
  color: darkgoldenrod;
  /* scale: 1.1; */
}

#closeIcon {
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--primary-color);
  transform: translate(-50%, -50%);
  transform-origin: center center;
  transition: all 300ms ease;
}

#closeIcon:hover {
  color: darkgoldenrod;
  /* scale: 1.1; */
}

.side-nav h1 {
  font-family: "Dancing Script", cursive;
  color: var(--primary-color);
}

.side-nav .side-nav-inner ul li {
  position: relative;
  color: inherit;
  cursor: pointer;
  padding: 0 3.5rem 0 1rem;
  background-color: transparent;
  transition: all 300ms ease;
}

.side-nav .side-nav-inner ul li:hover {
  padding: 0 3rem 0 1.5rem;
  color: var(--primary-color);
  background-color: rgba(52, 58, 64, 0.1);
}

/* @</side-nav> */

/* *<cover> */

#cover > #backgroundImg {
  background-image: url(Assets/65918190_1783048168465129_6077292798724276224_n.png);
  width: 100%;
  height: 50vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.3;
}

#cover > #logo {
  width: 10rem;
  text-align: center;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.4));
}

#cover > h1 {
  font-size: 4rem;
  font-family: "Dancing Script", cursive;
  text-align: center;
  position: absolute;
  top: 170px;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.4));
}

#cover > p {
  font-size: large;
  text-align: center;
  position: absolute;
  top: 250px;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.4));
}

/* *</cover> */

/* !<home> */

#home {
  position: relative;
  top: 250px;
}

#home #data .card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

#home #data .card img {
  width: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

#home #data .card:hover img {
  transform: scale(1.1);
}

#home #data .card .overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
  opacity: 0;
  transition: all 0.4s ease;
}

#home #data .card:hover .overlay {
  top: 0;
  opacity: 1;
}

#home #data .card .overlay h5 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
}

/* !</home> */

/* #<categories> */

#categories {
  position: fixed;
  top: 2.5rem;
  left: 5rem;
  right: 5rem;
  height: 90vh;
  z-index: 2;
}

#categories #categoriesList .card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  height: 100%;
  transition: all 0.4s ease;
}

#categories #categoriesList .card img {
  width: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

#categories #categoriesList .card:hover img {
  transform: scale(1.1);
}

#categories #categoriesList .card .overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
  opacity: 0;
  transition: all 0.4s ease;
}

#categories #categoriesList .card:hover .overlay {
  top: 0;
  opacity: 1;
}

#categories #categoriesList .card .overlay h4 {
  color: var(--primary-color);
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
}

#categories #categoriesList .card .overlay p {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
}

#closeCategories {
  background-color: var(--primary-color);
  position: fixed;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

#closeCategories:hover {
  scale: 1.1;
}

#closeCategories:active {
  background-color: darkgoldenrod;
  scale: 0.9;
}

/* #</categories> */

/* |<area> */

#area {
  position: fixed;
  top: 2.5rem;
  left: 5rem;
  right: 5rem;
  height: 90vh;
  z-index: 2;
}

#area #areaList .card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

#area #areaList .card:hover {
  filter: brightness(0.8);
  scale: 1.1;
}

#closeArea {
  background-color: var(--primary-color);
  position: fixed;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

#closeArea:hover {
  scale: 1.1;
}

#closeArea:active {
  background-color: darkgoldenrod;
  scale: 0.9;
}

/* |</area> */

/* ,<ingredients> */

#ingredients {
  position: fixed;
  top: 2.5rem;
  left: 5rem;
  right: 5rem;
  height: 90vh;
  z-index: 2;
}

#ingredients #ingredientsList .card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  height: 100%;
  transition: all 0.4s ease;
}

#ingredients #ingredientsList .card img {
  width: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

#ingredients #ingredientsList .card:hover img {
  transform: scale(1.1);
}

#ingredients #ingredientsList .card .overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
  opacity: 0;
  transition: all 0.4s ease;
}

#ingredients #ingredientsList .card:hover .overlay {
  top: 0;
  opacity: 1;
}

#ingredients #ingredientsList .card .overlay h4 {
  color: var(--primary-color);
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
}

#ingredients #ingredientsList .card .overlay p {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
}

#closeIngredients {
  background-color: var(--primary-color);
  position: fixed;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

#closeIngredients:hover {
  scale: 1.1;
}

#closeIngredients:active {
  background-color: darkgoldenrod;
  scale: 0.9;
}

/* ,</ingredients> */

/* ~<search> */

#search {
  position: absolute;
  top: 2.5rem;
  left: 5rem;
  right: 5rem;
  height: auto;
}

/* Input container */
.input-container {
  position: relative;
  margin: 20px;
}

/* Input field */
#name {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  background-color: transparent;
}

#fLetter {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  background-color: transparent;
}

/* Input label */
.input-label {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 16px;
  color: rgba(204, 204, 204, 0);
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Input highlight */
.input-highlight {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

/* Input field:focus styles */
#name:focus + .input-label {
  top: -20px;
  font-size: 12px;
  color: var(--primary-color);
}

#name:focus + .input-label + .input-highlight {
  width: 100%;
}

#fLetter:focus + .input-label {
  top: -20px;
  font-size: 12px;
  color: var(--primary-color);
}

#fLetter:focus + .input-label + .input-highlight {
  width: 100%;
}

#closeSearch {
  background-color: var(--primary-color);
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

#closeSearch:hover {
  scale: 1.1;
}

#closeSearch:active {
  background-color: darkgoldenrod;
  scale: 0.9;
}

/* ~</search> */

#contact {
  position: fixed;
  top: 2.5rem;
  left: 5rem;
  right: 5rem;
  height: auto;
}

#uName {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  background-color: transparent;
}

#uName:focus + .input-label {
  top: -20px;
  font-size: 12px;
  color: var(--primary-color);
}

#uName:focus + .input-label + .input-highlight {
  width: 100%;
}

#email {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  background-color: transparent;
}

#email:focus + .input-label {
  top: -20px;
  font-size: 12px;
  color: var(--primary-color);
}

#email:focus + .input-label + .input-highlight {
  width: 100%;
}

#phone {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  background-color: transparent;
}

#phone:focus + .input-label {
  top: -20px;
  font-size: 12px;
  color: var(--primary-color);
}

#phone:focus + .input-label + .input-highlight {
  width: 100%;
}

#age {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  background-color: transparent;
}

#age:focus + .input-label {
  top: -20px;
  font-size: 12px;
  color: var(--primary-color);
}

#age:focus + .input-label + .input-highlight {
  width: 100%;
}

#password {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  background-color: transparent;
}

#password:focus + .input-label {
  top: -20px;
  font-size: 12px;
  color: var(--primary-color);
}

#password:focus + .input-label + .input-highlight {
  width: 100%;
}

#rePassword {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  background-color: transparent;
}

#rePassword:focus + .input-label {
  top: -20px;
  font-size: 12px;
  color: var(--primary-color);
}

#rePassword:focus + .input-label + .input-highlight {
  width: 100%;
}

#closeContact {
  background-color: var(--primary-color);
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

#closeContact:hover {
  scale: 1.1;
}

#closeContact:active {
  background-color: darkgoldenrod;
  scale: 0.9;
}

/* &<meal-details> */

#mealDetails {
  position: fixed;
  top: 2.5rem;
  left: 5rem;
  right: 5rem;
  height: 90vh;
}

#closeBtn {
  background-color: var(--primary-color);
  position: fixed;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

#closeBtn:hover {
  scale: 1.1;
}

#closeBtn:active {
  background-color: darkgoldenrod;
  scale: 0.9;
}

/* &</meal-details> */
