/* Algemene body */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    justify-content: space-between;
    background-color: #f2c14e;
}

/* Linkerkant menu */
.menu-list {
    width: 30%;
    background-color: #f2c14e;
    padding: 20px;
    height: 100vh;
    overflow-y: auto;
}

.menu-item {
    background-color: #fff;
    padding: 20px;
    margin: 10px 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background-color: #f59e42;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Productweergave in een grid */
.product-display {
    width: 70%;
    flex-wrap: wrap;
    padding: 20px;
    justify-content: space-around;
}

.product-box {
    width: 200px;
    margin: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-box:hover {
    transform: scale(1.05);
}

.product-box img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
}

/* Modaal venster */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
}

.modal img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 20px 0;
}

.close {
    color: red;
    position: absolute;
    top: 80px;
    right: 450px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Winkelmandje */
.cart {
    width: 25%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cart ul {
    list-style-type: none;
    padding: 0;
}

.cart li {
    margin-bottom: 10px;
}

#add-to-cart {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

#add-to-cart:hover {
    background-color: #45a049;
}

