@charset "UTF-8";

.home_recipes {
  background: linear-gradient(to bottom right, #d7f4c0, #fef9e6); /* soft green to cream yellow */
  padding: 60px 10px;
  text-align: center;
  border-top: 6px solid #60a5fa; /* blue accent border */
}

.recipes-banner img {
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.recipes-content h2 {
  font-size: 40px;
  font-weight: bold;
  background: linear-gradient(to right, #e6c26a, #5d9b6a, #6d9dc5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
	font-family: 'Milk Drink';
	 margin: 0 auto;
	padding: 20px 0px 0px 0px;
	letter-spacing: 2px;
	
}

.recipes-content .subheader {
  font-size: 18px;
  color: #4b4b4b;
  margin-bottom: 30px;
  font-weight: 500;
	font-family: 'Nunito';
}

.recipe-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  flex-direction: column;
  align-items: center;
}

.recipe-card {
  background: linear-gradient(145deg, #fdf6e3, #e6f7df);
  border: 1px solid #c7ddb5;
  padding: 24px 36px;
  border-radius: 14px;
  font-size: 18px;
  color: #2f2f2f;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
	font-family: 'Nunito';
}

.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.recipe-link {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 32px;
background: linear-gradient(to left, #b0d9a4, #f2e4b3, #eac4d1);
  color: #212121;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
	font-family: 'Nunito';
}

.recipe-link:hover {
background: linear-gradient(to right, #b0d9a4, #f2e4b3, #eac4d1);
  transform: scale(1.06);
}


/* Max Width: 1920px */
@media screen and (max-width: 1920px) {
  .home_recipes {
    padding: 80px 60px;
  }

  .recipes-content h2 {
    font-size: 46px;
  }

  .recipe-card {
    font-size: 20px;
  }
}

/* Max Width: 1200px */
@media screen and (max-width: 1200px) {
  .home_recipes {
    padding: 60px 40px;
  }

  .recipes-content h2 {
    font-size: 42px;
  }

  .recipe-card {
    padding: 22px 30px;
    font-size: 18px;
  }

  .recipe-cards {
    gap: 20px;
  }
}

/* Max Width: 768px */
@media screen and (max-width: 768px) {
  .home_recipes {
    padding: 50px 30px;
  }

  .recipes-content h2 {
    font-size: 36px;
  }

  .recipes-content .subheader {
    font-size: 16px;
  }

  .recipe-cards {
    flex-direction: column;
    align-items: center;
  }

  .recipe-card {
    width: 90%;
    max-width: 500px;
  }

  .recipe-link {
    font-size: 15px;
    padding: 12px 28px;
  }
}

/* Max Width: 480px */
@media screen and (max-width: 480px) {
	
	.recipes-banner img {
	height: 150px;
}

  .home_recipes {
    padding: 40px 20px;
  }

  .recipes-content h2 {
    font-size: 32px;
  }

  .recipes-content .subheader {
    font-size: 15px;
  }

  .recipe-card {
    font-size: 17px;
    padding: 20px;
	 
  }

  .recipe-link {
    width: 80%;
    display: block;
    padding: 12px;
	  margin: 0px auto;
  }
}

/* Max Width: 300px */
@media screen and (max-width: 300px) {
 
.recipes-banner img {
	height: 100px;
}

	
	.home_recipes {
    padding: 30px 15px;
  }

  .recipes-content h2 {
    font-size: 28px;
  }

  .recipes-content .subheader {
    font-size: 14px;
  }

  .recipe-card {
    font-size: 15px;
    padding: 18px;
  }

  .recipe-link {
    font-size: 14px;
    padding: 10px;
  }
}

