
/* Media query for medium screens and above */
@media (min-width: 768px) {
    section {
        display: flex; 
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px; /* Space between the elements */
    }

    .popular_cake, .bento_cake, .cup_cakes {
        width: 32%;  /* Each section takes up 1/3 of the available space */
        height: auto;
        box-shadow: 0 0 50px rgba(0,0,0,0.1); 
        display: flex;
        flex-direction: column; /* Stack the heading above the content */
        align-items: center;
        justify-content: flex-start;
    }

    .popular_box video,
    .bento_cake img,
    .cup_cakes img {
        width: 100%;  /* Images and videos take up full width of their container */
        height: 300px; /* Set a fixed height for better consistency */
        object-fit: cover;
    }

    .popular_cake h2,
    .bento_cake h2,
    .cup_cakes h2 {
        margin-bottom: 15px; /* Space between heading and image/video */
        text-align: center;  /* Center the headings */
    
    }

    
    .custom-orders img {
        max-width: 50%; /* Medium screens */

    }

    .custom-orders {
        display: block;
        background-color: white;
    }
    
    .order-button-custom {
        display: block;
        width: 500px;
        margin: 20px auto;
        padding: 10px 20px;
        margin-top: 15px;
        background-color:#c8b6ff;
        color: white;
        text-decoration: none;
        font-weight: bold;
        font-size: 20px;
        border-radius: 5px;
        transition: background 0.3s ease;
    }
    
    .order-button-custom:hover {
        background-color:#a88ff3 ;
    }

    #contact-container {
        max-width: 100%;
        text-align: center;
    }
}