p.caption {
  color: #777;
  margin-top: 10px;
}
p code {
  white-space: inherit;
}
pre {
  word-break: normal;
  word-wrap: normal;
}
pre code {
  white-space: inherit;
}

body {
    background-color: #FAF8F6; /* Soft off-white background */
}

h1.title {
    text-align: center; /* Center the title */
    font-family: "Bookman Old Style", serif;
    font-size: 50px !important;
    margin-bottom: 5px !important; /* Add space below the line */
    color: #E76F51;
}

p.author {
    text-align: center; /* Center the author text */
    font-family: "Bookman Old Style", serif;
    font-size: 18px; /* Adjust font size */
    font-style: italic; /* Make it italic */
    color: #555; /* Softer color for author text */
    margin: 5px 0 !important; /* Add space below the line */
}

p.date {
    text-align: center; /* Center the author text */
    font-family: "Bookman Old Style", serif;
    font-size: 18px; /* Adjust font size */
    font-style: italic; /* Make it italic */
    color: #555; /* Softer color for author text */
    margin: 5px 0 !important; /* Add space below the line */
    border-bottom: 2px solid #777; /* Add a horizontal line below */
    padding-bottom: 10px; /* Add space between the title and the line */
    margin-bottom: 10px; /* Add space below the line */
}

.custom-image img {
    border: 3px solid #000 !important; /* Add a border */
    border-radius: 10px; /* Optional: Rounded corners */
    padding: 5px; /* Add space between image and border */
    width: 70%; /* Resize image to 70% of the container */
    display: block; /* Make image block-level for centering */
    margin: 20px auto; /* Center image with spacing */
}

.custom-image2 img {
    border: 3px solid #000 !important; /* Add a border */
    border-radius: 10px; /* Optional: Rounded corners */
    padding: 5px; /* Add space between image and border */
    width: 40%; /* Resize image to 70% of the container */
    display: block; /* Make image block-level for centering */
    margin: 20px auto; /* Center image with spacing */
}

h1 {
    text-align: center;
    font-family: "Bookman Old Style", serif;
    font-size: 32px !important;
    color: #4E342E;
}

h2 {
    font-family: "Bookman Old Style", serif;
    font-size: 25px !important;
    border-bottom: 2px solid #777; /* Add a horizontal line below */
    padding-bottom: 10px; /* Add space between the title and the line */
    margin-bottom: 10px; /* Add space below the line */
    color: #6A994E;
}

.words {
    font-family: "Goudy Old Style", serif;
}

.alert {
    font-size: 15px !important;
}

h3 {
    font-family: "Bookman Old Style", serif;
    font-size: 20px !important;
    color: #457B9D;
}

/* Center the table and make it visually appealing */
table {
    width: 100%; /* Make the table span the container */
    border-collapse: collapse; /* Remove gaps between table cells */
    margin: 20px auto; /* Center the table */
    font-family: Arial, sans-serif; /* Set a clean font */
}

th, td {
    text-align: center; /* Center-align the text */
    padding: 10px; /* Add padding for better spacing */
    border: 1px solid #ddd; /* Add a light border */
}

th {
    font-size: 1em; /* Slightly larger font for headers */
    color: #555; /* Subtle color for headers */
    font-weight: bold; /* Bold headers */
}

td {
    font-size: 1em; /* Standard font size for cells */
    color: #333; /* Darker color for values */
}

td strong {
    color: green; /* Make the servings bold and green */
}

ul li {
    margin-bottom: 5px; /* Add space between items */
}

ul li strong {
    color: #555; /* Subtle color for emphasized labels */
}

.recipe-columns {
    display: flex; /* Enable side-by-side layout */
    justify-content: space-between; /* Add space between the columns */
    gap: 20px; /* Add spacing between the two sections */
}

.equipment, .ingredients {
    flex: 1; /* Make both columns take equal width */
    padding: 10px; /* Add padding for visual spacing */
    text-align: left; /* Align text to the left */
    font-family: Arial, sans-serif; /* Set a readable font */
}

.equipment h3, .ingredients h3 {
    font-size: 1.5em; /* Size for headings */
    font-weight: bold; /* Bold headings */
    margin-bottom: 10px; /* Add space below headings */
}

ul {
    list-style-type: disc; /* Use bullet points */
    margin-left: 20px; /* Indent the list */
}

.instructions {
    margin-top: 20px; /* Add spacing above the instructions */
    line-height: 1.8; /* Increase line spacing for better readability */
}

.instructions p {
    margin-bottom: 15px; /* Add spacing between paragraphs (steps) */
}

.instruction-header {
    font-family: "Bookman Old Style", serif;
    font-size: 20px !important;
    font-weight: bold; /* Bold the text */
    text-align: left; /* Align text to the left */
    margin-top: 20px; /* Add spacing above the header */
    margin-bottom: 10px; /* Add spacing below the header */
    color: #333; /* Set the color of the text */
    border-bottom: 1px solid #ddd; /* Optional: Add a bottom border */
    padding-bottom: 5px; /* Optional: Add padding below the text */
    color: #457B9D;
}

/* References Section */
#references {
    margin: 20px auto;
    font-family: Arial, sans-serif;
    font-size: 1em;
    line-height: 1.6;
}

#references a {
    color: #1a73e8; /* Link color */
    text-decoration: none;
}

#references a:hover {
    text-decoration: underline;
}
