/* Global settings */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: black;
    color: white;
}

.coffee-offer {
    text-align: center;
    padding: 50px 0;
    margin-top: 300px;
}

.coffee-offer h2 {
    color:  rgb(30, 179, 247);
    font-size: 36px;
    margin-bottom: 20px;
    
}

.offers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;  /* Allows items to wrap in smaller screens */
    gap: 20px;
}

.offer {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    max-width: 300px;
    text-align: center;
    overflow: hidden;
}

.offer img {
    width: 100%;
    border-radius: 10px;
}

.offer h3 {
    color: white;
    font-size: 18px;
    margin: 10px 0;
}

.offer p {
    color: white;
    font-size: 14px;
    text-align: center;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .coffee-offer{
        display: flow-root;
        margin-right: 20px;
        
    }
    .offers {
        flex-direction:row; /* Stacks the items vertically */
        /* align-items: center; */
        width: 100%;
        /* display: flow-root; */
        
    }

    .offer {
       
        max-width: 40%; 
        float: left;/* Increase the width to nearly full screen */
        margin: 20px;
       
    }

    .coffee-offer h2 {
        font-size: 28px; /* Reduce font size for smaller screens */
        text-align: center;
    }

    .offer h3 {
        font-size: 16px;
    }

    .offer p {
        font-size: 12px;
    }
}

/* Extra small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .coffee-offer{
        margin-left: 20px;
        
    }
    .coffee-offer h2 {
        font-size: 24px; /* Further reduce title size */
        text-align: center;
    }

    .offer {
        max-width: 65%; /* Nearly full screen width */
    }

    .offer h3 {
        font-size: 14px; /* Adjust font size for smaller screens */
    }

    .offer p {
        font-size: 12px;
    }
}
