#grid-producten {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    width: 70%;
    height: auto;
    margin: auto auto 8% auto;
    gap: 2vw;
    padding-top: 10vh;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    width: 100%;
    margin: auto;
    padding-bottom: 2vw;
    object-fit: contain;
    align-items: center;
    justify-content: center;
    background-color: #252525;
    box-shadow: #00000048 0 0 10px;
    transition: all 0.2s ease;
    row-gap: 1vw;
}

.product-card:hover {
    box-shadow: #000000c2 0 0 10px;
}

input {
    width: 40%;
}

.product-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.product-card h1 {
    font-size: 1.5rem;
    width: 90%;
    margin: auto;
}

.product-card p {
    font-size: 1.4rem;
    margin: auto;

    width: 90%;
}

form {
    width: 90%;
    margin: auto;
}

.product-card .button {
    margin: auto;
}

@media only screen and (max-width: 768px) {

    #grid-producten {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        margin: 8% auto 8% auto;
    }

    .product-card {
        row-gap: 3vw;
        padding-bottom: 3vw;
    }
}

@media only screen and (max-width: 480px) {
    #grid-producten {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, auto);
        margin: 8% auto 8% auto;
        row-gap: 8vw;
    }

    .product-card {
        row-gap: 6vw;
        padding-bottom: 6vw;
    }

    .product-card h1 {
        text-align: left;
    }

}