section#categorieen{
    padding-bottom: 80px;
}

section#categorieen .catwrap{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

section#categorieen .catwrap img{
    padding: 20px 0;
    z-index: 1;
    height: 360px;
    width: 210px;
    object-fit: contain;
    object-position: right;
    padding-right: 30px;
    position: absolute;
    top: 0;
    transition: 0.2s ease-in-out all;
    box-sizing: border-box;
}

section#categorieen .catwrap a h2{ 
    margin: 0;
    color: #ffffff;
    font-size: 26px !important;
    line-height: 32px;
    width: 100%;
    padding: 15px 20px;
    background: #022f57;
    box-sizing: border-box;
    font-weight: 500;
    z-index: 2;
}

section#categorieen .catwrap a.categorie{
    background: white;
    border: 1px solid #dfdfdf;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    align-items: end;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
}

section#categorieen .catwrap a.categorie:hover img{
    top: -10px;
}


section#categorieen .catwrap a.categorie:after{
    content: '\f054';
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    font: var(--fa-font-solid);
    width: 30px;
    height: 30px;
    color: #ffffff;
    background: #e89513;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

section#categorieen .container > h2{
    font-size: 45px;
    line-height: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 900;
    margin: 0;
    color: #022f57;
    position: relative;
}

section#categorieen .container > h3{
    margin: 0;
}

@media only screen and (max-width: 1000px) {
    section#categorieen .container > h2{
        font-size: 40px;
        line-height: 44px;
    }

    section#categorieen .catwrap a h2{
        font-size: 20px !important;
        line-height: 22px;
    }
}

@media only screen and (max-width: 1100px) {
    section#categorieen .catwrap{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 650px) {
    section#categorieen .catwrap{
        grid-template-columns: 1fr 1fr;
    }

    section#categorieen .catwrap img{
        width: 100%;
        padding: 20px;
        height: 100%;
    }
}

@media only screen and (max-width: 480px) {
    section#categorieen .catwrap{
        grid-template-columns: 1fr;
    }
}