 html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
 
  overflow-y: auto;
  font-family: 'Atma', cursive;
}


body {
  background: url('bg.jpg') no-repeat center center fixed;
  background-size: cover; /* fills screen, maintains aspect */
  text-align: center;
  color: Black;
}



h1 {
  margin-top: 50px;
  font-size: 3rem;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}


.recipe-btn:hover {
  background-color: hotpink;
  color: white;
}

.back-link {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: black;
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
}

.back-link:hover {
  background-color: hot pink;
}


.recipe {
  max-width: 600px;
  margin: 30px auto;
  text-align: left;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  background-color: #fafafa;
}




@keyframes bobbing {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.floating-logo {
  position: fixed !important;
  bottom: -30px !important;
  right: 1vw !important;
  width: 120px !important;
  z-index: 9999 !important;
  opacity: 0.95 !important;
  animation: bobbing 3s ease-in-out infinite;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: auto;
  margin-top: 30px;
  padding: 0 20px;
}

.recipe-btn {
  display: inline-block;
  padding: 14px 20px;
  border: 2px solid hotpink;
  border-radius: 50px;
  text-decoration: none;
  color: black;
  background-color: white;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
}

.recipe-btn:hover {
  background-color: hotpink;
  color: white;
}
.extra-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.extra-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.extra-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.extra-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 60px;
}


.extra-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.extra-family-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 60px;
}

.family-btn {
  background-color: white;
  border: 3px solid hotpink;
  color: black;
  font-size: 1.5rem;
  padding: 18px 26px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
}

.family-btn:hover {
  background-color: hotpink;
  color: white;
}
.bottom-button-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}
/* Make text and layout scale better on small screens */
@media (max-width: 600px) {
  h2 {
    font-size: 1.4rem;
  }

  .recipe-btn {
    font-size: 1rem;
    padding: 10px 16px;
  }

  .ingredients, .instructions {
    font-size: 1rem;
  }

  .button-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-button-row {
    flex-direction: column;
    align-items: center;
  }

  .floating-logo {
    width: 250px;
  }

.recipe {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}
.sticky-back {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  text-decoration: none;
}

.sticky-back button {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}

.sticky-back button:hover {
  background-color: blue;
  border-color: blue;
}
@media (max-width: 600px) {
  .button-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recipe-btn {
    font-size: 1rem;
    padding: 12px;
  }

  .bottom-button-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .floating-logo {
    width: 250px;
    right: 10px;
    bottom: 10px;
  }
@media (max-width: 600px) {
  .floating-logo {
    width: 180px;
    bottom: 5px;
    right: 5px;
    z-index: 1; /* Put behind clickable elements */
    pointer-events: none; /* Let taps pass through it */
  }
 body {
  overflow-y: auto;
  height: 100%;
}
html {
  height: 100%;
  overflow-y: auto;
}
.back-link {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: hotpink; /* NOW it will be hot pink */
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
}

.back-link:hover {
  background-color: deeppink;
}





