/* Style the footer */
footer {
    /* ToDo deze kleur weer gebruiken? */
    /*background-color: var(--footer-bg-color);*/
    background-color: #003C28;
    color: var(--footer-text-color);
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 2fr 1fr;
    min-height: 124px;
    z-index: 1;
}

.footer-curve {
    position: relative;
    z-index: -1;
    width: 100%;
    margin-bottom: -10vw;
    margin-top: 32vw;
    min-height: 20vw;
}

footer p {
    margin: 0;
}

.footer-logo {
    width: 5rem;
}

.footer-rights {
    display: flex;
    margin-top: 1rem;
}

.footer-rights p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.icons {
    background-color: var(--social-bg-color);
    color: var(--social-text-color);
}

.icons:hover {
    color: var(--social-hover-bg-color);
}

.social {
    background-color: var(--social-bg-color);
    color: var(--social-text-color);
    margin: 0 10px;
    font-size: 2rem;
}

.social :hover {
    color: var(--social-hover-bg-color);
}

.social-container {
    margin-top: 0.5rem;
}

/* Smallest is 240 x 320 */
@media only screen and (max-width: 200px) {
    .footer-curve {
        margin-bottom: -14rem;
        margin-top: -10vw;
    }
}

@media only screen and (min-width: 201px) and (max-width: 300px) {
    .footer-curve {
        margin-bottom: -11rem;
        margin-top: -10vw;
    }
}

@media only screen and (min-width: 301px) and (max-width: 400px) {
    .footer-curve {
        margin-bottom: -10rem;
        margin-top: -10vw;
    }
}

@media only screen and (min-width: 401px) and (max-width: 500px) {
    .footer-curve {
        margin-bottom: -10rem;
        margin-top: -10vw;
    }
}

@media only screen and (min-width: 501px) and (max-width: 600px) {
    .footer-curve {
        margin-bottom: -10rem;
        margin-top: -10vw;
    }
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
    .footer-curve {
        margin-bottom: -9rem;
        margin-top: -10vw;
    }
}

@media only screen and (min-width: 769px) and (max-width: 900px) {
    .footer-curve {
        margin-bottom: -8rem;
        margin-top: 0;
    }
}

@media only screen and (min-width: 901px) and (max-width: 1100px) {
    .footer-curve {
        margin-bottom: -8rem;
        margin-top: 0;
    }
}

@media only screen and (min-width: 1101px) and (max-width: 1500px) {
    .footer-curve {
        margin-bottom: -8vw;
        margin-top: 0;
    }
}

@media only screen and (min-width: 1501px) and (max-width: 1600px) {
    .footer-curve {
        margin-bottom: -4vw;
        margin-top: 4vw;
    }
}


@media only screen and (min-width: 1601px) and (max-width: 1800px) {
    .footer-curve {
        margin-bottom: -4vw;
        margin-top: 4vw;
    }
}

@media only screen and (min-width: 1801px) and (max-width: 2000px) {
    .footer-curve {
        margin-bottom: -4vw;
        margin-top: 4vw;
    }
}

@media only screen and (min-width: 2001px) {
    .footer-curve {
        margin-bottom: -4vw;
        margin-top: 4vw;
    }
}

@media only screen and (max-width: 768px) {
    footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    footer div {
        justify-content: center;
        text-align: center;
    }

    .footer-rights {
        order: 2;
    }
}
