body {
    font-family: 'Raleway', sans-serif;
    background-image: url('background.jpg'); /* Add a beautiful background image */
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.recipe-card {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent background */
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 600px;
    padding: 20px 30px 30px 30px;
    text-align: center;
    margin: 20px;
    box-sizing: border-box;
}

.recipe-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Playfair Display', serif;
}

.recipe-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.ingredient-list, #instructions, .tips-list {
    text-align: left;
    margin: 20px 0;
    color: #555;
}

.ingredient-list li, #instructions li, .tips-list li {
    margin-bottom: 10px;
}

h2 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #666;
    font-family: 'Playfair Display', serif;
}

ul {
    list-style-type: square;
    padding-left: 20px;
}

ol {
    padding-left: 20px;
}

@media (max-width: 768px) {
    .recipe-card {
        padding: 15px 20px 20px 20px;
    }
    .recipe-title {
        font-size: 2em;
    }
    h2 {
        font-size: 1.5em;
    }
}

