body {
    background-image: url('../img/cook_book_3.jpg');
    background-size: cover;
    background-position: center 10%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* Button Styles */
.button {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px;
}
.button:hover {
    background-color: #e68900;
}

#button {
    margin-top: 500px; /* Moves it further down */
    margin-left: 50px;  /* Moves it to the left */
}


/* Recipe Container */
.recipe-container {
    padding: 20px;
    margin: -400px auto;
    width: 50%;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Recipe Name */
#recipe-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Recipe Details */
.recipe-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recipe-info, .recipe-infotwo {
    flex: 1;
    padding: 10px;
        margin-left: 10px; /* Moves checkboxes slightly right */

}

/* Ingredient List */
#ingredients {
    list-style-type: none;
    padding: 0;
}

#ingredients li {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between checkbox and text */
    font-size: 1.2em;
    padding: 5px 0;
}

/* Checkbox Styling */
.ingredient-checkbox {
    transform: scale(1.2); /* Change size of checkbox */
    cursor: pointer;
    accent-color: #ff9800; /* Change checkbox color */
    margin-right: 10px; /* Space between checkbox and ingredient text */
}

/* Adjust checkbox positioning */
.ingredient-checkbox {
    margin-top: 2px; /* Moves it down */
    margin-left: 5px; /* Moves it right */
}

/* Instructions Section */
#instructions {
    text-align: left;
    margin-top: 20px;
    padding: 10px;
}

#instructions p {
    font-size: 1em;
    line-height: 1.5;
}
