h1 {
    font-size: 1em;
    color: white;
}

.nieuw {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1900px;
    margin: 0.5rem auto;
    padding: 0 .5rem .5rem .5rem;
}

.artikel {
    flex-basis: 95%;
    margin: 1.8rem .1rem 0 0.1rem;
    position: relative;
}

.artikel-datum {
    font-family: 'Kalam', cursive;
    display: block;
    position: absolute;
    right: 0;
    top: -1.5rem;
    width: 110px;
    background-color: #fbeba3;
    text-align: right;
    line-height: 1.5rem;
    color: black;
    font-size: 1rem;
    padding-right: 0.5rem;
}

.artikel-groep {
    border: 2px solid #fbeba3;
    display: grid;
    grid-template-rows: 55% 15% 15% 15%;
    
    aspect-ratio: 3/2;
}

.artikel-groep img {
    display: block;
    width: 100%;
}

.artikel-meer-titel1 {
    font-family: 'Kalam', cursive;
    font-size: 1.1rem;
    line-height: 2.3rem;
    font-weight: 700;
    text-align: right;
    grid-row: 2/3;
    background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(251,235,163,1));
    width: 90%;
    justify-self: end;
    margin: 0 0.5rem 0.5rem 0.5rem;
    padding: 0 1rem 0 0.5rem;
    transition: color ease-in-out 0.3s;
}

.artikel-meer-titel2 {
    font-family: 'Kalam', cursive;
    font-size: 1.1rem;
    line-height: 2.3rem;
    font-weight: 700;
    text-align: right;
    grid-row: 3/4;
    background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(251,235,163,1));
    width: 90%;
    justify-self: end;
    margin: 0 0.5rem 0.5rem 0.5rem;
    padding: 0 1rem 0 0.5rem;
    transition: color ease-in-out 0.3s;
}
.artikel-meer-titel3 {
    font-family: 'Kalam', cursive;
    font-size: 1.1rem;
    line-height: 2.3rem;
    font-weight: 700;
    text-align: right;
    grid-row: 4/5;
    background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(251,235,163,1));
    width: 90%;
    justify-self: end;
    margin: 0 0.5rem 0.5rem 0.5rem;
    padding: 0 1rem 0 0.5rem;
    transition: color ease-in-out 0.3s;
}

.artikel:hover {
    cursor: pointer;
}

.artikel:hover .artikel-meer-titel1 {
    color: #eee;
    background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));
}

.artikel:hover .artikel-meer-titel2 {
    color: #eee;
    background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));
}

.artikel:hover .artikel-meer-titel3 {
    color: #eee;
    background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));
}

.foto-bolletjes-keuze {
    display: flex;
    justify-content: space-between;
    margin: 10px auto 20px auto;
    width: 50px;
}

.nieuw-bolletjes-keuze {
    display: flex;
    justify-content: space-between;
    margin: 10px auto 20px auto;
    width: 85px;
}

.bolletje-groot {
    display: inline-block;
    background-color: red;
    height: 15px;
    width: 15px;
    border-radius: 15px;
}

.bolletje-klein {
    display: inline-block;
    background-color: white;
    height: 15px;
    width: 15px;
    border-radius: 15px;
    opacity: 0.7;
}

.bolletje-klein:hover {
    opacity: 1; 
    transition: opacity 0.5s;
    cursor: pointer;
}

.kleur {
    margin: 10px auto;
    width: 100px;
    background-color: blue;
}


@media (min-width: 890px) {
    .artikel {
        flex-basis: auto;
    }

    .artikel-groep {
        max-width: 420px;
    }
}