footer {
    margin-top: 5rem;
    background-color: #292929;
    color: white;
    padding: 20px 10%;
    font-family: Ubuntu, sans-serif;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 10px;
    width: 100vw;
    height: fit-content;
}

.footer-links {
    font-weight: 500;
    grid-column: 1/3;
    grid-row: 1/2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    height: fit-content;
    width: 100%;
}


.social-links {
    font-weight: 500;
    grid-column: 3/5;
    grid-row: 1/2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    height: fit-content;
}


.actief {
    text-decoration: underline;
}


.footer-links a:nth-child(5) {
    grid-column: 1/3;
}



.footer-links a:nth-child(5){
}

.algemene-voorwaarden {
    font-style: italic;
}

.footer-links a, .social-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    margin: 0;
    padding: 0;
}

.footer-links a:hover, .social-links a:hover {
    color: #ff8c00;
}

.footer-center {
    font-size: 1rem;
    color: #bbb;
    text-align: center;
    grid-column: 1/5;
    align-self: end;
}

.footer-links .actief {
    text-decoration: underline;
    text-underline-offset: 4px;
}



@media only screen and (max-width: 1142px){
    footer {
        padding: 20px 7% 20px 7%;
        height: fit-content;
    }
    .footer-links {
        height: fit-content;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(10, 1fr);
        width: 100%;
    }

    .footer-links a:nth-child(5) {
        grid-column: 1/2;
    }
}


@media (max-width: 867px) {
    .footer-links {
        grid-column: 1/4;
    }
}