footer {
    color: var(--dark);
    align-items: flex-start !important;
}

footer h1 {
    font-size: 50px;
    font-weight: 500;
    width: 550px;

}


footer p {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 2rem;
}
/* 
footer .mail {
    color: var(--purple);
    font-size: 25px;
} */

/* footer .no {
    color: var(--purple);
    font-size: 20px;
} */

footer .reach_me {
    display: flex;
    flex-direction: column;
    /* line-height: 45px; */
}

.contacts p span {
    text-decoration: underline;
}

footer .reach_me a:nth-child(1) {
    color: var(--purple);
    font-size: 25px;
}

footer .reach_me a:nth-child(2) {
    color: var(--purple);
    font-size: 20px;
}

footer .social {
    margin-left: 5rem;
    width: 100%;
}

footer .social a {
    font-size: 25px;
    color: var(--dark);
    text-decoration: underline;
    margin-right: 3rem;
    line-height: 5rem;
    transition: opacity 1s ease-in-out;
}

footer .social a:hover {
    opacity: 0.5;
}

footer .social-links {
    width: 500px;
}

footer .animation_wrapper {
    width: 90%;
    height: 400px;
    position: relative;
    overflow: hidden;
    margin-left: 10%;
}

footer .animation_wrapper img {
    width: 200px;
    position: absolute;
}

footer .animation_wrapper img:nth-child(1) {
    left: 0;
    transform: rotate(16deg);
}

footer .animation_wrapper img:nth-child(2) {
    left: 25%;
    top: 12%;
    transform: rotate(150deg);
}

footer .animation_wrapper img:nth-child(3) {
    top: 35%;
    left: 42%;
    width: 150px;
}

footer .animation_wrapper img:nth-child(4) {
    right: 0;
}

.move0{
    animation: move0 2s linear infinite alternate;
}

.move1{
    animation: move1 1.3s linear infinite alternate;
}

.move2{
    animation: move2 3s linear infinite alternate;
}

.move3{
    animation: move3 2s linear infinite alternate;
}

.end {
    animation-iteration-count: 2;
}

.endline {
    width: 100%;
    height: 20px;
    background-color: var(--dark);
}

@keyframes move0 {
    0% {
        transform: translateX(0px) translateY(0px) rotate(16deg);
    }

    80% {
        transform: translateX(25px) translateY(95px) rotate(25deg);
    }

    100% {
        transform: translateX(25px) translateY(117px) rotate(16deg);
    }
}



@keyframes move1 {
    0% {
        transform: translateX(0px) translateY(0px) rotate(150deg);
    }

    100% {
        transform: translateX(-18px) translateY(171px) rotate(100deg);
    }
}


@keyframes move2 {
    0% {
        transform: translateX(0px) translateY(0px) rotate(0deg);
    }

    100% {
        transform: translateX(13px) translateY(81px) rotate(15deg);
    }
}


@keyframes move3 {
    0% {
        transform: translateX(0px) translateY(0px) rotate(16deg);
    }

    66% {
        transform: translateX(-61px) translateY(48px) rotate(-15deg);
    }

    100% {
        transform: translateX(-69px) translateY(113px) rotate(-10deg);
    }
}



/* ********** Responsive ******** */


@media screen and (max-width: 1200px) {
    footer {
        position: relative;
    }

    footer .animation_wrapper {
        display: none;
    }

    footer h1 {
        width: 500px;
    }

    footer p {
        width: 300px;
    }

    footer .social-links {
        position: absolute;
        width: 430px;
        right: 0;
        top: 50%;
        zoom: 1.1;
    }
}

@media screen and (max-width: 640px) {
    footer {
        flex-direction: column;
        margin-top: 2rem !important;
    }

    footer h1 {
        width: 100%;
    }

    footer .social-links {
        top: 52%;
        width: -moz-fit-content;
        width: fit-content;
        zoom: 1.3;
    }

    footer .social a {
        margin-right: 1rem;
        line-height: 3rem;
    }

    footer .reach_me {
        /* bottom: 50%; */
        top: 0;
        /* margin-top: 5rem; */
        margin-bottom: 2rem;
        zoom: 1.2;
        width: 300px;
    }

    
    footer .reach_me .mail {
        margin-top: 20rem;
    }

    footer .reach_me a {
        margin: 0;
    }


    footer p {
        margin-bottom: 1rem;
    }
}