@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Open+Sans:wght@400;700&display=swap');
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.recipe-card {
    background-color:snow;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    padding: 20px;
    margin: 20px;
}

.recipe-title {
    text-align: center;
    font-size: 2.5em;
    color:darkred;
    margin-bottom: 20px;
    font-family: 'Lobster', cursive;
}


.recipe-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.ingredients-section, #instructions {
    margin-bottom: 20px;
}

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #c0392b;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-family: "Merienda", cursive; 
}



.ingredient-list, .instruction-list {
    list-style-type: none;
    padding: 0;
}

.ingredient-list li, .instruction-list li {
    background: #FAE8ED;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
}

.instruction-list li {
    counter-increment: step-counter;
}

.instruction-list li::before {
    content: counter(step-counter) ". ";
    font-weight: bold;
	
}
.ingredients-title {
    font-size: 1.8em; 
}


.instructions-title {
    font-size: 1.8em; /* Change the font size to your preference */
}

.button-container {
    display: flex;
    justify-content: center;
	margin-bottom: 40px;

}

.button {
    background-color: #793B66; /* Steel blue button background */
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 2px;
    cursor: pointer;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #5E3C86; /* Darker blue when hovered */
}

.steps {
    flex: 1;
}

.feedback-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 400px;
    padding: 20px;
    text-align: center;
    position: relative;
    margin: 0 auto;
	margin-top: 40px;
}

.feedback-header h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.feedback-header p {
    margin: 10px 0;
    color: #666;
    font-size: 0.9em;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    color: #666;
}

.star-rating {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.star {
    font-size: 1.5em;
    color: #ccc;
    cursor: pointer;
}

.star:hover,
.star:hover ~ .star,
.star.selected {
    color: #ffcc00;
}

textarea {
    width: 100%;
    height: 80px;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9em;
    resize: none;
}

.submit-button {
    background-color: #611473; 
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
}

.submit-button:hover {
    background-color: #AE89B3;
}
