
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f4f4f4;
    }
    header {
        background-color: #333;
        color: #fff;
        padding: 1em 0;
        text-align: center;
    }
    nav ul {
        list-style: none;
        padding: 0;
    }
    nav ul li {
        display: inline;
        margin: 0 10px;
    }
    nav ul li a {
        color: #fff;
        text-decoration: none;
    }
    .recipe-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 20px;
    }
    .recipe-card {
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        text-align: center;
        padding-bottom: 15px;
    }
    .recipe-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    .recipe-card h2 {
        font-size: 1.2em;
        margin: 15px 0 10px;
        padding: 0 10px;
    }
    .recipe-card button {
        background-color: #4CAF50;
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1em;
    }
    .recipe-card button:hover {
        background-color: #45a049;
    }

    /* Modal Styles */
    .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    }
    .modal-content {
        background-color: #fefefe;
        margin: 10% auto; /* 10% from the top and centered */
        padding: 20px;
        border: 1px solid #888;
        width: 80%; /* Could be more or less, depending on screen size */
        max-width: 700px;
        border-radius: 10px;
        position: relative;
    }
    .close-button {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }
    .close-button:hover,
    .close-button:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
    .modal-content img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    .modal-content h2 {
        font-size: 1.8em;
        margin-top: 0;
    }
    .modal-content h3 {
        font-size: 1.3em;
        margin-top: 20px;
    }
    .modal-content ul,
    .modal-content p {
        font-size: 1.1em;
        line-height: 1.6;
    }
    .modal-content ul {
        list-style-type: disc;
        margin-left: 20px;
    }
    