@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;800&family=Libre+Baskerville&display=swap');

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: white;
  height: fit-content;
}

/* ! ANIMATIONS */


.hidden {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease;
}

.visible {
  transform: translate(0, 0);
  opacity: 1;
}


@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero{
  animation: slideFadeIn 1s;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

a {
  transition: transform 0.2s;
}

a:hover {
  transform: scale(1.1);
}


/* ! NAVBAR */

.navbar {
  position: fixed;
  top: 25px;
  left: 0;
  right: 0;
  width: 80%;
  margin: auto;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 100;
  transition: background 0.5s ease;
}

.logo {
  display: flex;
  align-items: center;
}

.auth-buttons{
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  margin: 0;
  margin-right: 15px;
  color: #000;
}

.nav-links {
  display: none;
  align-items: left;
}

.logo a, .nav-links a {
  color: #000;
  text-decoration: none;
  margin: 0 10px;
}

.login-btn, .signup-btn {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  border: 0;
}

.login-btn {
  margin-right: 15px;
  background: rgba(76, 175, 80, 0.25);
  color: #000;
}

.signup-btn {
  background: rgba(76, 175, 80, 0.95);
}

button {
  transition: transform 0.2s;
}

button:hover {
  transform: scale(1.05);
  cursor: pointer;
  box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 832px) {

  .logo img {
    width: 40px;
    height: 40px;
    margin-right: 3px;
  }

  .navTextHome{
    display: none;
  }
  .navTextMenu span{
    display: none;
  }
  .navTextMenu::after{
    content: "Menu";
  }

  .navbar {
    width: 85vw;
    padding: 1vh 2vw;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.25);
  }

  .nav-links a {
    margin: 10px;
  }

  .logo h1 {
    display: none;
  }
}


/* ! HERO */
.hero{
  height: 100vh;
  display: flex;
  justify-content: center;
}

.hero  .center-text{
  align-self: center;
  position: absolute;
  text-align: center;

}

.hero{
  background-image: url('/img/bg.png');
  background-position: center;
  background-repeat: no-repeat;
}
/* .hero img{
  position: block;
  height: auto;
  align-self: center;
  justify-self: center;
} */

.hero button{
  padding: 10px 20px;
  transform: scale(1.25);
  background: rgba(76, 175, 80, 0.25);
  box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.1);
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  border: 0;
  transition: transform 0.2s;
}

.hero button:hover {
  transform: scale(1.35);
  cursor: pointer;
  box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.15);
}

/* ! Content Section */

  .content h1{
    padding-top: 1.5em;
    width: 100%;
    text-align: center;
    color: black;
  }

.selling-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0% 2.5%;
    padding-bottom: 2.5%;
    text-align: center;
}

.feature {
  background: rgba(76, 175, 80, 0.05);
    box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    overflow: hidden;
    padding: 10%;
  transition: transform 0.2s;

}

.feature img {
    border-radius: 25px;
    max-width: 300px;
    border-bottom: 1px solid #ccc;
    box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.1);

}
.feature:hover{
    transform: scale(1.01);
    box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.2);
}

.feature-content {
    padding: 20px;
}

.feature h3 {
    margin: 10px 0;
}

.feature p {
    line-height: 1.6;
}


/* ! Featured Meal Kits */

.featured-meal-kits{
  background: rgba(76, 175, 80, 0.25);
    padding : 5%;
}
.mealKitTitle{
    display: flex;
    align-items: center;
}
.mealKitTitle h1{
    width: 100%;
    text-align: center;
    color: black;
}
.featured-meal-kits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding:2.5%;
    text-align: center;
}

@media screen and (max-width: 832px) {


  .featured-meal-kits{
      grid-template-columns: repeat(2, 1fr);
  }

  .selling-features{
    grid-template-columns: repeat(2,1fr);
  }
}
@media screen and (max-width: 480px) {
  .featured-meal-kits {
      grid-template-columns: 1fr;
  }

  .featured-meal-kits h1{padding-top : 2em;}

  .selling-features{
    grid-template-columns: 1fr;
  }
}

.meal-kit {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    overflow: hidden;
    padding: 10%;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.meal-kit img {
    width: 100%;
    border-radius: 300px;
    max-width: 300px;
    border-bottom: 1px solid #ccc;
    box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.1);

}
.meal-kit:hover{
    transform: translateY(-10px);
    box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.2);
}

.meal-kit-content {
    padding: 20px;
}

.meal-kit h3 {
    margin: 10px 0;
}

.meal-kit p {
    line-height: 1.6;
}

.price {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px;
    width: 80%;
    align-self: center;
    border-radius: 25px;
    margin-left: 10%;
}


/* ! FOOTER */

.footer {

  background-color: #000;
  color: #fff;
  padding: 2.5% 10%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.footer a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 5px;
}

.footer a:hover {
  color: #e2d1c3;
}

.footer-links {
  display: flex;
  width: 80%;
}

.sitemap {
  width: 25%;
}

.copyright {
  width: 90%;
  text-align: right;
}

@media screen and (max-width: 768px) {
  .footer {
    padding-top: 10%;
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    width: 100%;
  }

  .sitemap, .social-media, .copyright {
    width: 100%;
    margin-bottom: 20px; 
    text-align: center;
  }
}