a {
  text-decoration: none !important;
}

/*===== GOOGLE FONTS =====*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;700&family=Prata&display=swap');


/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  --first-color: #DA2535;
  --title-color: #161212;
  --text-color: #5B5757;
  --text-color-light: #8F8A8A;
  --body-color: #FEFBFB;
  --container-color: #FFF;

  /*========== Font and typography ==========*/
  --body-font: 'Montserrat', sans-serif;
  --biggest-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== Margenes ==========*/
  --mb-1: .5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 3rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

/*========== BASE ==========*/
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/*========== Theme ==========*/

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

#order-now-sam {
  cursor: pointer;
}

h1,
h2,
h3,
ul,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

ul {
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*========== CLASS CSS ==========*/
.section {
  padding: 4rem 0 2rem;
}

.section-title,
.section-title-center {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-3);
  text-align: center;
}

/*========== LAYOUT ==========*/
.l-main {
  overflow: hidden;
}

.bd-container {
  max-width: 1024px;
  width: calc(100% - 3rem);
  margin-left: var(--mb-3);
  margin-right: var(--mb-3);
}

.bd-grid {
  display: grid;
  gap: 1.5rem;
}

.l-header {
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: yellowgreen;
}

/*========== NAV ==========*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 1rem;
  flex-wrap: nowrap;
}

@media screen and (max-width: 868px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    width: 90%;
    margin: -0.5rem auto;
    padding: 2.5rem 0 0;
    text-align: center;
    background-color: var(--body-color);
    transition: .4s;
    box-shadow: 0 0 4px rgba(0, 0, 0, .1);
    border-radius: 2rem;
    z-index: var(--z-fixed);
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    width: 90%;
    margin: -0.5rem auto;
    padding: 2.5rem 0 0;
    text-align: center;
    background-color: var(--body-color);
    transition: .4s;
    box-shadow: 0 0 4px rgba(0, 0, 0, .1);
    border-radius: 2rem;
    z-index: var(--z-fixed);
  }
}

.nav__item {
  margin-bottom: var(--mb-3);
}

.nav__link {
  font-size: 20px; /* Changed font size */
  margin-right: 10px; /* Added margin for better spacing */
}

.nav__link,
.nav__logo {
  color: rgb(0, 0, 0);
  font-weight: var(--font-semi-bold);
}

.nav__logo:hover {
  color: rgb(97, 97, 97);
}

.nav__link:not(.sign-in-btn-nav) {
  transition: .3s;
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0.5rem;
}

.nav__link:not(.sign-in-btn-nav)::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  left: 0;
  bottom: 0;
  transform: translateX(-100%) translateY(100%);
  background-color: rgb(255, 255, 255);
  transition: 0.5s;
}

.nav__link:hover:not(.sign-in-btn-nav)::after {
  transform: translateX(0%) translateY(0%);
}

.nav__link:hover {
  color: rgb(255, 255, 255);
}

.sign-in-btn-nav {
  background-color: #161212;
  border: #ffffff 2px solid; /* Changed border color */
  color: #FFF;
  padding: 8px 14px;
  border-radius: 20px;
  transition: 0.3s;
}

.sign-in-btn-nav:hover {
  background-color: yellowgreen; /* Changed background color on hover */
  color: #050505;
  border: #050505 2px solid;
}

.nav__toggle {
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--title-color);
}

/* Show menu */
.show-menu {
  top: calc(var(--header-height) + 1rem);
  width: 100vw;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  bottom: 0px;
}

.hide-overflow {
  overflow: hidden;
}

/* Change background header */
.scroll-header {
  box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

/* Scroll top */
.scrolltop {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .3rem;
  background: rgba(0, 255, 0, 0.575);
  border-radius: .4rem;
  z-index: 6969;
  transition: .4s;
  visibility: hidden;
}

.scrolltop:hover {
  background-color: var(--first-color);
}

.scrolltop__icon {
  font-size: 1.5rem;
  color: var(--body-color);
}

.show-scroll {
  visibility: visible;
  bottom: 1.5rem;
}

/*========== HOME ==========*/
.home__container {
  row-gap: .5rem;
}

.home__img {
  width: 280px;
  justify-self: center;
  animation-name: floating1;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.home_img {
  cursor: pointer;
}

.home_img2 {
  border-radius: 20px;
}

.home__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-2);
}

.home__description {
  margin-bottom: var(--mb-3);
  padding-bottom: 1rem;
}

/*========== BUTTONS ==========*/
.landing-button {
  padding: 1em 2em;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  color: black;
  transition: all 1000ms;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  background-color: yellowgreen;
}

.landing-button:hover {
  transform: scale(1.2);
  color: black;
  background-color: yellowgreen;
  outline: 2px solid yellowgreen;
  box-shadow: 2px 2px 30px 1px yellowgreen;
}

.landing-button::before {
  /* content: ""; */
  position: absolute;
  left: -50px;
  top: 0;
  width: 1;
  height: 100%;
  background-color: rgb(11, 195, 130);
  transform: skewX(45deg);
  z-index: -1;
  transition: width 700ms;
}

.landings-button {
  padding: 0.5em 0.8em;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  justify-content: center;
  align-items: center;
  margin-left: 25%;
  margin-top: 5%;
  color: black;
  transition: all 1000ms;
  font-size: 12px;
  position: relative;
  overflow: hidden;
  background-color: yellowgreen;
}

.landings-button:hover {
  transform: scale(1.2);
  color: black;
  background-color: yellowgreen;
  outline: 2px solid yellowgreen;
  box-shadow: 2px 2px 30px 1px yellowgreen;
}

.landings-buttons::before {
  /* content: ""; */
  position: absolute;
  left: -50px;
  top: 0;
  width: 1;
  height: 100%;
  background-color: rgb(11, 195, 130);
  transform: skewX(45deg);
  z-index: -1;
  transition: width 700ms;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

#theme-toggle-button {
  width: 40px;
  /* Set the width and height to create a circular button */
  height: 40px;
  border-radius: 50%;
  /* Make it circular */
  border: none;
  background-color: black;
  color: white;
  transition: all ease-in-out 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 20px;
  transform: rotate(-30deg);
  /* Adjust the font size to make the symbol fit nicely */
}

#theme-toggle-button:hover {
  border: 1px solid #050505;
  background-color: transparent;
  color: black;
  transform: scale(1.1);
}

/*========== food-fact ==========*/

.food-fact__description {
  margin-bottom: var(--mb-2);
  text-align: justify;
}

.landing-s2-main__img {
  width: 280px;
  justify-self: center;
  animation-name: floating2;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

/*========== order-landing ==========*/
.order-landing__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.order-landing__data {
  text-align: center;
  padding: 1rem 1rem 2rem;
  background-color: var(--container-color);
  box-shadow: 0 2px 6px rgba(65, 11, 16, .15);
  border-radius: 1rem;
  transform-style: preserve-3d;
  perspective: 1000px;
  margin-top: 0;
  margin-bottom: 2.5em;
}

.order-landing__data:hover {
  background-color: rgb(247, 231, 143);
  box-shadow: 0 3px 12px rgba(65, 11, 16, 0.15);
  transform: scale(1.1);
}

.order-landing__img {
  width: 180px;
  transform: translateZ(20px);
  /*Tilt JS*/
  height: 180px;
  margin-bottom: 1rem;
}

.order-landing__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-5);
  transform: translateZ(20px);
  /*Tilt JS*/
  cursor: default;
}

/*========== FOOTER ==========*/

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer__logo {
  color: var(--title-color);
}

.footer__title {
  margin-bottom: var(--mb-2);
}

.footer__logo,
.footer__title {
  font-size: var(--h3-font-size);
}

.footer__link {
  display: inline-block;
  margin-bottom: .75rem;
  color: var(--text-color);
  text-decoration: none;
  cursor: pointer;
}

.footer__link:hover {
  color: rgb(155, 133, 5);
}

.footer__link::after {
  content: '';
  display: block;
  margin-top: 4px;
  width: 0;
  height: 2px;
  background: #e7d442;
  transition: width .3s;
}

.footer__link:hover::after {
  width: 100%;
}

.footer__social {
  font-size: 1.7rem;
  color: var(--title-color);
  margin-right: var(--mb-3);
}

.footer__social:hover {
  color: grey;
}

.footer__copy {
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin: 3rem 0rem;
}

/*========== MEDIA QUERIES ==========*/

/* For full-screen images on small screens */
@media screen and (max-width: 359px) {

  .home__img,
  .landing-s2-main__img,
  .send__img {
    width: 100%;
  }
}

@media screen and (min-width: 576px) {

  .home__container,
  .food-fact__container,
  .send__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .home__container {
    padding: 5rem 0 0;
  }

  .home__img {
    order: 1;
  }

  .section-title-center,
  .food-fact__data,
  .send__description {
    text-align: initial;
  }

  .home__img,
  .landing-s2-main__img,
  .send__img {
    width: 100%;
  }

  .landing-s2-main__img {
    order: -1;
  }
}

@media screen and (min-width: 769px) {
  body {
    margin: 0;
  }

  .section {
    padding-top: 7rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__list {
    display: flex;
    align-items: center;
    gap: .625rem;
  }

  .nav__item {
    margin-bottom: 0;
  }

  .nav__toggle {
    display: none;
  }

  .change-theme {
    position: initial;
    margin-left: var(--mb-4);
  }

  .home__container {
    padding: 7rem 2rem 0;
  }

  .food-fact__container {
    padding: 0 2rem;
  }

  .send {
    background: none;
  }

  .send__container {
    background-color: var(--first-color-send);
    padding: 2rem;
    border-radius: 1.5rem;
  }
}

@media screen and (min-width: 968px) {

  .bd-container {
    margin-left: auto;
    margin-right: auto;
  }

  .home__img,
  .landing-s2-main__img,
  .send__img {
    width: 469px;
  }

  .home__container,
  .food-fact__container,
  .send__container {
    column-gap: 5rem;
  }
}

/* === For Navbar on smaller screens=== */

@media screen and (max-width: 768px) {
  .nav {
    height: 3.5rem;
    padding: 0;
    padding-top: 0.5rem;
  }

  .nav__link:not(.sign-in-btn-nav) {
    padding: 0;
  }

  .nav__link:not(.sign-in-btn-nav)::after {
    display: none;
  }

  .theme-toggle {
    padding: 0;
  }
}

@media screen and (min-width: 769px) and (max-width: 900px) {
  .nav__link {
    font-size: 0.84rem;
    padding: 0.5rem 1rem;
  }

  .theme-toggle {
    padding: 0;
  }

  .nav__list {
    gap: 0.5rem;
  }

  .nav__item {
    margin-left: 0;
  }
}

@media screen and (min-width: 901px) and (max-width: 1150px) {
  .nav__link {
    padding: 0.5rem 1rem;
  }

  .nav__list {
    gap: 1rem;
  }

  #flavor-fusion-btn {
    font-size: 1.3rem;
  }

  .nav__item {
    margin-left: 0;
    font-size: .7rem;
  }
}

/* === For home section === (because it's hiding behind the navbar on smaller screns) */

@media screen and (max-width: 575px) {
  .home {
    padding-top: 4rem;
  }
}

/* Keyframes for animations */
@keyframes floating1 {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(5deg);
  }

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

  60% {
    transform: rotate(-5deg);
  }

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

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

@keyframes floating2 {
  0% {
    transform: translateY(0px);
  }

  20% {
    transform: translateY(5px);
  }

  40% {
    transform: translateY(0px);
  }

  60% {
    transform: translateY(-5px);
  }

  80% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(0px);
  }
}