html, body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
  font-family: 'Pacifico', cursive;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

header {
  background-color: #fdb1ca;
  padding: 1rem;
  text-align: center;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #d81b60;
  font-weight: bold;
}

.hero {
  text-align: center;
  padding: 2rem;
}

.hero img {
  max-width: 300px;
  height: auto;
}

body.home-page {
  font-family: 'Pacifico', cursive;
  margin: 0;
  padding: 0;
}
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

.flavor-card {
  background: #ffbff6;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgb(250, 94, 180);
  padding: 1rem;
  transition: transform 0.6s ease;
}

.flavor-card:hover {
  transform: translateY(-5px);
}

.flavor-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.flavor-card h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.25rem;
}

.flavor-card p {
  font-size: 0.95rem;
  color: #ff8fda;
}

.flavors h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}



.facts {
  background-color: #ffe4f2;
  padding: 2rem;
  text-align: center;
}

.facts-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.facts-list li {
  margin: 0.75rem 0;
}

.facts-list a {
  text-decoration: none;
  color: #d81b60;
  transition: color 0.3s ease;
}

.facts-list a:hover {
  color: #880e4f;
  text-decoration: underline;
}



footer {
  background-color: #d4688c;
  text-align: center;
  padding: 1rem;
}

.home-page {
  background-color: #ffe4f2; 
}

.page-background {
  background-color: #ffe4f2; 
}



.free-icecream {
  background-color: #fff0f5;
  padding: 3rem;
  text-align: center;
  border-radius: 16px;
  max-width: 600px;
  margin: 3rem auto;
  box-shadow: 0 4px 12px rgba(255, 192, 203, 0.3);
}

.free-icecream h2 {
  font-family: 'Pacifico', cursive;
  color: #ff69b4;
  margin-bottom: 1rem;
}

.icecream-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background-color: #ffb6c1;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.icecream-button:hover {
  background-color: #ff69b4;
}

button:hover {
  background-color: #ff69b4;
  transform: scale(1.1);
  transition: 0.3s ease;
}


.flavor-card img:hover {
  transform: rotate(-2deg) scale(1.05);
  transition: 0.4s ease-in-out;
}


a:visited {
  color: purple;
}



.sprinkle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.sprinkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  opacity: 0.8;
  animation: fall linear infinite;
}

.sprinkle:nth-child(1)  { left: 2%;  background: #FF69B4; animation-duration: 5s; animation-delay: 0s; }
.sprinkle:nth-child(2)  { left: 4%;  background: #FFD700; animation-duration: 6s; animation-delay: 0.5s; }
.sprinkle:nth-child(3)  { left: 6%;  background: #ADFF2F; animation-duration: 7s; animation-delay: 1s; }
.sprinkle:nth-child(4)  { left: 8%;  background: #40E0D0; animation-duration: 4s; animation-delay: 1.5s; }
.sprinkle:nth-child(5)  { left: 10%; background: #FF6347; animation-duration: 6s; animation-delay: 0.3s; }
.sprinkle:nth-child(6)  { left: 12%; background: #BA55D3; animation-duration: 5s; animation-delay: 1.2s; }
.sprinkle:nth-child(7)  { left: 14%; background: #00FA9A; animation-duration: 8s; animation-delay: 0.4s; }
.sprinkle:nth-child(8)  { left: 16%; background: #FF4500; animation-duration: 7s; animation-delay: 0.6s; }
.sprinkle:nth-child(9)  { left: 18%; background: #00CED1; animation-duration: 5s; animation-delay: 1.3s; }
.sprinkle:nth-child(10) { left: 20%; background: #1E90FF; animation-duration: 6s; animation-delay: 0.9s; }

.sprinkle:nth-child(11) { left: 22%; background: #DA70D6; animation-duration: 7s; animation-delay: 0.7s; }
.sprinkle:nth-child(12) { left: 24%; background: #20B2AA; animation-duration: 6s; animation-delay: 0.2s; }
.sprinkle:nth-child(13) { left: 26%; background: #F08080; animation-duration: 5s; animation-delay: 1.1s; }
.sprinkle:nth-child(14) { left: 28%; background: #EEE8AA; animation-duration: 4s; animation-delay: 1.6s; }
.sprinkle:nth-child(15) { left: 30%; background: #98FB98; animation-duration: 8s; animation-delay: 0.8s; }
.sprinkle:nth-child(16) { left: 32%; background: #87CEFA; animation-duration: 6s; animation-delay: 1.4s; }
.sprinkle:nth-child(17) { left: 34%; background: #9370DB; animation-duration: 7s; animation-delay: 0.1s; }
.sprinkle:nth-child(18) { left: 36%; background: #FFB6C1; animation-duration: 4s; animation-delay: 1.7s; }
.sprinkle:nth-child(19) { left: 38%; background: #FFA500; animation-duration: 5s; animation-delay: 0.6s; }
.sprinkle:nth-child(20) { left: 40%; background: #7FFFD4; animation-duration: 6s; animation-delay: 1.2s; }

.sprinkle:nth-child(21) { left: 42%; background: #FF00FF; animation-duration: 7s; animation-delay: 0.3s; }
.sprinkle:nth-child(22) { left: 44%; background: #00FF7F; animation-duration: 6s; animation-delay: 0.9s; }
.sprinkle:nth-child(23) { left: 46%; background: #8A2BE2; animation-duration: 8s; animation-delay: 0.5s; }
.sprinkle:nth-child(24) { left: 48%; background: #DC143C; animation-duration: 4s; animation-delay: 1.6s; }
.sprinkle:nth-child(25) { left: 50%; background: #00BFFF; animation-duration: 5s; animation-delay: 1.3s; }
.sprinkle:nth-child(26) { left: 52%; background: #FF1493; animation-duration: 6s; animation-delay: 0.7s; }
.sprinkle:nth-child(27) { left: 54%; background: #7B68EE; animation-duration: 7s; animation-delay: 1.5s; }
.sprinkle:nth-child(28) { left: 56%; background: #E9967A; animation-duration: 6s; animation-delay: 0.2s; }
.sprinkle:nth-child(29) { left: 58%; background: #3CB371; animation-duration: 5s; animation-delay: 1.1s; }
.sprinkle:nth-child(30) { left: 60%; background: #00FFFF; animation-duration: 8s; animation-delay: 0.4s; }

.sprinkle:nth-child(31) { left: 62%; background: #FA8072; animation-duration: 6s; animation-delay: 1.2s; }
.sprinkle:nth-child(32) { left: 64%; background: #8B008B; animation-duration: 4s; animation-delay: 0.6s; }
.sprinkle:nth-child(33) { left: 66%; background: #00FF00; animation-duration: 5s; animation-delay: 1.3s; }
.sprinkle:nth-child(34) { left: 68%; background: #FF7F50; animation-duration: 6s; animation-delay: 0.9s; }
.sprinkle:nth-child(35) { left: 70%; background: #B0C4DE; animation-duration: 7s; animation-delay: 0.2s; }
.sprinkle:nth-child(36) { left: 72%; background: #FF8C00; animation-duration: 6s; animation-delay: 1.1s; }
.sprinkle:nth-child(37) { left: 74%; background: #20B2AA; animation-duration: 8s; animation-delay: 0.1s; }
.sprinkle:nth-child(38) { left: 76%; background: #E6E6FA; animation-duration: 5s; animation-delay: 0.8s; }
.sprinkle:nth-child(39) { left: 78%; background: #6495ED; animation-duration: 6s; animation-delay: 1.5s; }
.sprinkle:nth-child(40) { left: 80%; background: #FFDEAD; animation-duration: 4s; animation-delay: 0.7s; }

.sprinkle:nth-child(41) { left: 82%; background: #66CDAA; animation-duration: 7s; animation-delay: 0.4s; }
.sprinkle:nth-child(42) { left: 84%; background: #9932CC; animation-duration: 5s; animation-delay: 1.2s; }
.sprinkle:nth-child(43) { left: 86%; background: #DDA0DD; animation-duration: 6s; animation-delay: 0.3s; }
.sprinkle:nth-child(44) { left: 88%; background: #FF69B4; animation-duration: 8s; animation-delay: 0.5s; }
.sprinkle:nth-child(45) { left: 90%; background: #7CFC00; animation-duration: 6s; animation-delay: 1.1s; }
.sprinkle:nth-child(46) { left: 92%; background: #FFD700; animation-duration: 5s; animation-delay: 1.4s; }
.sprinkle:nth-child(47) { left: 94%; background: #ADFF2F; animation-duration: 7s; animation-delay: 0.2s; }
.sprinkle:nth-child(48) { left: 96%; background: #40E0D0; animation-duration: 4s; animation-delay: 1.3s; }
.sprinkle:nth-child(49) { left: 98%; background: #FF6347; animation-duration: 6s; animation-delay: 0.1s; }
.sprinkle:nth-child(50) { left: 100%;background: #BA55D3; animation-duration: 8s; animation-delay: 0.9s; }

.sprinkle:nth-child(51) { left: 1%; background: #00FA9A; animation-duration: 5s; animation-delay: 1.5s; }
.sprinkle:nth-child(52) { left: 3%; background: #FF4500; animation-duration: 6s; animation-delay: 1.1s; }
.sprinkle:nth-child(53) { left: 7%; background: #00CED1; animation-duration: 7s; animation-delay: 0.5s; }
.sprinkle:nth-child(54) { left: 11%; background: #1E90FF; animation-duration: 4s; animation-delay: 1.6s; }
.sprinkle:nth-child(55) { left: 13%; background: #DA70D6; animation-duration: 5s; animation-delay: 1.2s; }
.sprinkle:nth-child(56) { left: 17%; background: #20B2AA; animation-duration: 8s; animation-delay: 0.4s; }
.sprinkle:nth-child(57) { left: 19%; background: #F08080; animation-duration: 7s; animation-delay: 0.7s; }
.sprinkle:nth-child(58) { left: 23%; background: #EEE8AA; animation-duration: 6s; animation-delay: 0.6s; }
.sprinkle:nth-child(59) { left: 25%; background: #98FB98; animation-duration: 4s; animation-delay: 1.3s; }
.sprinkle:nth-child(60) { left: 27%; background: #87CEFA; animation-duration: 5s; animation-delay: 1s; }

.sprinkle:nth-child(61) { left: 29%; background: #9370DB; animation-duration: 6s; animation-delay: 0.2s; }
.sprinkle:nth-child(62) { left: 31%; background: #FFB6C1; animation-duration: 7s; animation-delay: 1.2s; }
.sprinkle:nth-child(63) { left: 33%; background: #FFA500; animation-duration: 6s; animation-delay: 1.4s; }
.sprinkle:nth-child(64) { left: 35%; background: #7FFFD4; animation-duration: 5s; animation-delay: 0.9s; }
.sprinkle:nth-child(65) { left: 37%; background: #FF00FF; animation-duration: 8s; animation-delay: 0.1s; }
.sprinkle:nth-child(66) { left: 39%; background: #00FF7F; animation-duration: 5s; animation-delay: 1.6s; }
.sprinkle:nth-child(67) { left: 41%; background: #8A2BE2; animation-duration: 4s; animation-delay: 1.1s; }
.sprinkle:nth-child(68) { left: 43%; background: #DC143C; animation-duration: 7s; animation-delay: 0.3s; }
.sprinkle:nth-child(69) { left: 45%; background: #00BFFF; animation-duration: 6s; animation-delay: 0.6s; }
.sprinkle:nth-child(70) { left: 47%; background: #FF1493; animation-duration: 5s; animation-delay: 0.8s; }



@keyframes fall {
  0% {
    top: -10px;
    transform: rotate(0deg);
    opacity: 1;
  }
  100% {
    top: 110%;
    transform: rotate(360deg);
    opacity: 0;
  }
}
