
/* SITE FOOTER */
footer {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    width: 100%;
    height: auto;
    padding: 0 0 5rem 0;
    margin: var(--tight) 0 0 0;
    box-shadow: var(--shadow);
    font-weight: 400;
    font-size: .9rem;
    letter-spacing: .05em;
    color: black;
    background: white;
}

#copyright {
    order: 3;
    flex: 0 0 100%;
    display: block;
    text-align: center;
    padding: .5rem 2rem;
    margin: 0 0 1rem 0;
}

#legal {
    order: 2;
    flex: 0 0 100%;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
}

#social {
    order: 1;
    flex: 0 0 100%;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    margin: 0;
}

@media screen and (min-width:1000px)
{
    footer {
        flex-direction: row;
        padding: 0;
    }

    #copyright {
        order: 1;
        flex: 0 0 auto;
        justify-content: flex-start;
        padding: 1rem 2rem;
        margin: 0;
        border-right: 1px solid;
    }

    #legal {
        order: 2;
        flex: 0 0 auto;
        justify-content: flex-start;
        padding: 0 1rem;
        flex-direction: row;
    }

    #social {
        order: 3;
        flex: 1 0 auto;
        justify-content: flex-end;
        padding: 0 2rem;
    }
}




/* SITE FOOTER - legal links */
#legal li {
    list-style-type: none;
    display: inline-block;
    padding: 0;
    margin: 0;
}

#legal a,
#legal a:visited {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: .5em 2em;
    font-weight: 400;
}

#legal a:hover,
#legal a:active {
    color: var(--drc-red);
    text-decoration: none;
}

@media screen and (min-width:1000px)
{
    #legal a {
        padding: .5em 1em;
    }
}




/* SITE FOOTER - social links */
#social li {
    list-style-type: none;
    display: block;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    margin: 1rem .25rem 0 .25rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

@media screen and (min-width:1000px)
{
    #social li {
        width: 1.8rem;
        height: 1.8rem;
        margin: 0 0 0 .8rem;
    }
}

.facebook {
    background-color: rgb(66,103,178);
}

.instagram {
    background-image: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    background-size: 100%;
}

.linkedin {
    background-color: rgb(40,103,178);
}

.twitter {
    background-color: rgb(29,161,242);
}

.youtube {
    background-color: rgb(255,0,0);
}

.vimeo {
    background-color: rgb(26,183,234);
}

.website {
    background-color: var(--drc-red);
}

.newsletter {
    background-color: var(--drc-red);
}

.social a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--fast);
}

.social a:hover {
    background-color: transparent;
}

.facebook a {
    background-image: url('/media/g2rjznnr/facebook.svg');
    background-size: 33%;
}

.instagram a {
    background-image: url('/media/2dlf0yis/instagram.svg');
    background-size: 50%;
}

.linkedin a {
    background-image: url('/media/uowjjh3s/linkedin.svg');
    background-size: 50%;
}

.twitter a {
    background-image: url('/media/at0fvxid/twitter.svg');
    background-size: 50%;
}

.youtube a {
    background-image: url('/media/f0onszcs/youtube.svg');
    background-size: 50%;
}

.vimeo a {
    background-image: url('/media/inho33sv/vimeo.svg');
    background-size: 50%;
}

.website a {
    background-image: url("../svg/social-website.svg");
    background-size: 50%;
}

.newsletter a {
    background-image: url("../svg/social-newsletter.svg");
    background-size: 50%;
}
