section#projecten {
	padding: 120px 0;
    position: relative;
    overflow: hidden;
}


section#projecten h2 {
    text-align: center;
    color: var(--subcolor);
    font-weight: 400;
    margin-top: 0!important;
}

.single-project img{
        width: 100%!important;
        height: 300px;
        object-fit: cover;
}

.secproj .single-project img{
    border-bottom-left-radius: 0!important;
    border-bottom-right-radius: 0!important;
}

.secproj .single-project .single-project-content{
    border-bottom-right-radius: 30px!important;
    border-bottom-left-radius: 30px!important;
    background-image: linear-gradient(to right, #353536 0%, #525252 51%, #353536 100%)!important;
    background-size: 200% auto!important;
    position: static!important;
    transition: 0.5s;
}

.secproj .single-project:hover .single-project-content{
    background-position: right center!important;
}

section#projecten h1 svg {
	font-size: 22px;
}

section#projecten .projects-list {
	display: flex;
    flex-wrap: wrap;
    gap: 2%;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}


section#projecten .projects-list .single-project {
    position: relative;
    flex: 0 0 32%;
    border-radius: 20px;
    overflow: hidden;
}

.post-type-archive section#projecten h1{
    margin: unset!important;
}

.category section#projecten h1{
    margin: unset!important;
}

.post-type-archive section#projecten .projects-list{
    margin-top: 20px!important;
}

.category section#projecten .projects-list{
    margin-top: 20px!important;
}

section#projecten .projects-list a:nth-child(n+4){
    margin-top: 2%;
}

section#projecten .categories{
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
    margin-top: 20px;
}

section#projecten .categories .singlecat a{
    color: var(--subcolor)!important;
    border: 2px solid var(--subcolor);
}

section#projecten .projects-list a{
    flex: 0 0 32%;
}

section#projecten .projects-list .single-project .single-project-content{
    
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

section#projecten .projects-list .single-project .single-project-content h3{
    color: #2D616D;
    text-align: center;
    margin: 0 auto;
}

body.home section#projecten .projects-list .single-project:nth-child(1n+5) {
    display: none;
}

section#projecten .projects-list .single-project:nth-child(1n+5) {
    margin-top: 1%;
}

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

    section#projecten .projects-list .single-project {
        flex: 0 0 49%;
    }

    section#projecten .projects-list .single-project:nth-child(even) {
        margin-right: 0;
    }

    section#projecten .projects-list .single-project:nth-child(1n+3) {
        margin-top: 2%;
    }

    section#projecten h1 {
        justify-content: center;
    }

}


section#projecten .projects-list .single-project:last-child {
	margin-right: 0;
}

section#projecten .projects-list .single-project h3 {
    color: #51b846;
    margin: 0;
    font-size: 26px;
}

section#projecten .projects-list .single-project a {
    color: var(--subcolor)!important;
    background: white;
}

section#projecten .projects-list .single-project a:hover {
    opacity: 0.80;
}