body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* This will center the main container */
    background-color: #ffffff;
    /* A light background for the whole page */
}

header {
    width: 100%;
    /* Ensure header spans the full width */
    text-align: center;
    /* Center the header text */
    background-color: #ffffff;
    /* Light grey background like in the image */
    padding: 2rem 0;
    /* Add vertical padding */
    border-bottom: 1px solid #e9ecef;
    /* Add a subtle bottom border */
}

/* Updated styles for header text */
header h1 {
    font-family: 'Inter', sans-serif;
    font-size: 5.5rem;
    /* Adjusted font size */
    line-height: 1.2;
    color: #ffffff;
    /* Green color from the image */
    font-weight: 700;
    /* Bolder font */
}

header p {
    font-size: 1.125rem;
    /* Slightly smaller subheading */
    color: #d2d9e3;
    /* Dark grey for subheading */
    margin-top: 0.5rem;
}

/* Style to control the width and look of the main content */
main.container {
    width: 70%;
    max-width: 1400px;
    margin-top: 2rem;
    /* Add space between header and content */
    background-color: #ffffff;
    /* White background for content */
    padding: 2rem;
    /* Add padding inside the container */
    border-radius: 0.5rem;
    /* Rounded corners */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    /* Add a subtle shadow */
}

.recipe-card .favorite-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.recipe-card .favorite-icon:hover {
    transform: scale(1.1);
}