body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e1674c;
  padding: 16px 0;
}
.topnavleft {
  margin-left: 24px;
}
.topnavright {
  margin-right: 24px;
}

.topnavright a {
  color: #fff;
  text-decoration: none;
  margin: 0 24px;
  font-size: 1.1em;
  font-weight: 500;
  transition: color 0.2s;
}
.topnavright a:hover {
  color: #e7ccc0;
}


.topnavleft a {
  color: #fff;
  text-decoration: none;
  margin: 0 24px;
  font-size: 1.1em;
  font-weight: 500;
  transition: color 0.2s;
}
.topnavleft a:hover {
  color: #e7ccc0;
}



main {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 16px;
}
.page-title {
  text-align: center;
  font-size: 2.5em;
  color: #e1674c;
  margin-bottom: 0.2em;
}
.subtitle {
  text-align: center;
  color: #ffffff;
}
  
.subtitleorange {
  text-align: center;
  color: #e1674c;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 2em;
}

.row {
  display: flex;
  flex-direction: row;
  gap: 100px; /* space between columns */
  margin: 20px 0;
  padding: 20px;
  justify-content: center; /* center the columns */
  align-items: flex-start; /* align card tops */
}

.card {
  background: #e1674c;
  border-radius: 16px;

  padding: 18px 18px 18px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  /* More dramatic wavy border using SVG border-image */
  border: 16px solid transparent;
  border-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><circle cx='20' cy='20' r='18' fill='none' stroke='%23fff8e1' stroke-width='6'/></svg>") 20 repeat;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(123,63,0,0.15);
}

.Subtitlecard {
  background: #e1674c;
  border-radius: 4px;
  padding: 12px 10px;
  margin: 0px auto 0 auto;
  font-size: 1.2em;
  color: #fff;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.Featured-card{
  background: #e1674c;
  border-radius: 4px;
  padding: 0px 0px;
  margin: 14px 0px 0px 0px;
  font-size: 1em;
  color: #fff;
  text-align: center;
  max-width: 100000px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: 'Segoe UI', Arial, sans-serif;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.Bakeify {
  text-align: center;
  margin-bottom: 20px;
}

.recipe-img {
  width: 100%;
  max-width: 220px;
  justify-content: center;
  height: auto;
  border-radius: 12px;
  margin-bottom: 4px; /* reduced from 12px */
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.card h3 {
  margin: 0.5em 0 1em 0;
  color: #ffffff;
}
.steps {
  background: #fff8e1;
  border-radius: 10px;
  padding: 12px 10px;
  margin-top: 10px;
  font-size: 1em;
  color: #333;
  text-align: left;
}

.credits {
  font-size: 0.6em;
  color: #e7e7e7;
  text-align: left;
  margin-top: 0; /* keep or set to 0 for no extra space */
  margin-bottom: 0;
  margin-left: 30px;
  align-self: flex-start;
  display: block;
}
.crown-icon {
  position: absolute;
  top: -18px;
  left: 3px;
  font-size:3em;
  z-index: 2;
  pointer-events: none;
  transform: rotate(-18deg);
}

@media (max-width: 900px) {
  .row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .row {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 16px 8px 12px 8px;
  }
}

.row {
  display: flex;
  flex-direction: row;
  gap: 100px; /* space between columns */
  margin: 20px 0;
  padding: 20px;
  justify-content: center; /* center the columns */
  align-items: flex-start; /* align card tops */
}

.column img {
  width: 80%;
  height: auto;
  display: block;
}

@media (max-width: 800px) {
  .row {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets/small screens */
  }
}

@media (max-width: 500px) {
  .row {
    grid-template-columns: 1fr; /* 1 column on phones */
  }
}


