footer{
    padding: 150px 0px 50px 0px;
    background-image: url(../../images/illustrations/Footer.svg);
    background-position: center;
    background-repeat: no-repeat;
}

footer .social-medias{
    display: flex;
    grid-gap: 1em;
    justify-content: center;
}

footer .social-medias a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid transparent;
    transition: 0.3s ease;
}

footer .social-medias a:nth-child(1) {
    background-color: #3B5998;
}
footer .social-medias a:nth-child(2) {
    background-color: #515BD4;
}
footer .social-medias a:nth-child(3) {
    background-color: var(--color-secondary);
}
footer .social-medias a:nth-child(1):hover {
    border-color: #3B5998;
    color: #3B5998;
    background-color: transparent;
}
footer .social-medias a:nth-child(2):hover {
    border-color: #515BD4;
    color: #515BD4;
    background-color: transparent;
}
footer .social-medias a:nth-child(3):hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    background-color: transparent;
}

.copyright{
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 1em;
}

footer ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    grid-gap: 1rem;
    padding: 0;
    width: 30%;
}

footer ul li a{
    color: var(--color-text-grey);
    font-size: 14px
}
footer ul li a:hover {
    color: var(--color-primary)
}

#footer-links{
    display: flex;
    padding-top: 170px
}
#footer-links div:nth-child(1){
    width: 65%;
    display: flex;
    grid-gap: 2rem;
    flex-wrap: wrap;
}
#footer-links div:nth-child(2){
    width: 35%;
}
#footer-links div:nth-child(1) div{
    width: 100%;
    display: flex;
    align-items: center;
}

footer small a:nth-child(2){
    color: var(--color-secondary) !important
}
footer small a:nth-child(3){
    color: var(--color-primary) !important
}

@media(max-width: 991px){
    footer{
        padding: 10px 0px
    }
    footer .social-medias {
        justify-content: end;
        margin-top: 2rem;
    }
    footer ul{
        width: 100%;
    }
    #footer-links {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    #footer-links div:nth-child(1){
        width: 100%;
    }
    #footer-links div:nth-child(2){
        width: 100%;
        margin-bottom: 5rem;
    }
    #footer-links {
        padding-top: 40px;
    }
    footer h2{
        font-size: 18px !important;
    }
}