:root {
  --primary: #CC007D;
  --secondary: #C33535;
  --text: #000;
  --background: #c0ffef;
  --link: #1960E8;
}

body {
  width: 80%;
  max-width: 60rem;
  margin: auto;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  background-color: var(--background);
  color: var(--text);
}

nav {
  margin-top: 4em;
}

nav ul {
  font-size: 1.2rem;
  list-style: none !important;
  font-weight: 600;
  padding-left: 0;
}

nav ul li {
  display: inline;
  text-decoration: none !important;
  padding-right: 1rem;
  line-height: 3rem;
}

.link {
  font-weight: 600;
  color: var(--link);
}

.link:hover {
  background-color: var(--link);
  color: var(--background);
}

.content {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 2em;
}

.content h3 {
  margin-bottom: 0.25em;
}

.pagetitle {
  font-size: 3rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.2em;
}

footer {
  font-size: 1.1rem;
  padding-top: 3em;
  bottom: 2em;
  left: 0;
  position: relative;
  width: 100%;
}

footer .link {
  font-weight: 300;
}

/* Style for the printed version of the recipe */
.recipe-card {
  margin-top: 1em;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  line-height: 1.4;
  max-width: 700px; /* Adjust the width to your preference */
  margin: 0 auto;
  padding: 0.5em;
  border: 3px solid var(--secondary);
  background-color: var(--background);
}

.recipe-card ul,
.recipe-card ol {
  list-style: square;
  font-weight: 300;
}

small {
  color: var(--secondary);
}

.recipe-card ul {
  list-style: disc; /* Unordered list style */
}

.recipe-card ol {
  list-style: decimal; /* Ordered list style */
}

.recipe-card blockquote {
  border-left: 3px solid var(--link);
  margin: 0;
  padding: 10px 20px;
  background-color: #f3f3f3;
}

.recipe-card p {
  font-weight: 300;
  margin: 0.25em 0;
}

    /* Custom HR element with a food-related symbol */
    hr::before {
      content: "🍽";
      display: block;
      text-align: center;
      margin: 0;
      font-size: 2em;
    }
    
    hr {
      border: none;
    }

    /* Button style using the random color variables */
    .button.button-primary {
      background-color: var(--link);
      color: var(--background);
      border: none;
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
    }

    /* Add additional styles for hover effect */
    .button.button-primary:hover {
      background-color: var(--secondary);
    }    


/* Print styles */
@media print {
  body, a, .pagetitle, .link {
    background-color: #fff;
    color: #000;
  }

  .recipe-card {
    border: none;
    padding: 0;
  }

  nav {
    display: none;
  }

  hr::before {
    content: "";
  }

  hr {
    border-top: 2px dashed var(--secondary); /* Dashed line for printing */
  }
}