.links__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1.4rem;
    margin-bottom: 2.5rem;
}

.links__container a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    width: 30rem;
    height: 5rem;
    padding: 20px;
    text-decoration: none;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 1.6rem;
    line-height: 2.4rem;
    text-transform: uppercase;
    color: white;
    border-radius: 3.0rem;
    transition: 200ms;
    opacity: 0;
}

.links__container a:nth-child(even) {
    animation: slideLeft ease-in-out 1s forwards;
}

.links__container a:nth-child(odd) {
    animation: slideRight ease-in-out 1s forwards;
}

.links__container a:nth-child(1) {
    animation-delay: 1s;
}

.links__container a:nth-child(2) {
    animation-delay: 1.5s;
}

.links__container a:nth-child(3) {
    animation-delay: 2s;
}

.links__container a:nth-child(4) {
    animation-delay: 2.5s;
}



.links__container a:hover {
    transform: translateY(-.5rem);
    cursor: pointer;
    background: var(--mainColor);
    color: white;
}

.links__container a svg {
    width: 25px;
    fill: white;
}

.linkedin {
    background-color: #0A66C2;
}

.github {
    background-color: black;
}

.portfolio {
    background-color: #1F97CB;
}

.instagram {
    background: rgb(255,196,45);
    background: linear-gradient(45deg, rgba(255,196,45,1) 0%, rgba(255,153,0,1) 32%, rgba(211,61,205,1) 71%, rgba(82,0,255,1) 84%, rgba(0,102,255,1) 99%);
}

@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(-10rem);
    }

    100% {
        opacity: 1;
        transform: translateX(0rem);
    }
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(10rem);
    }

    100% {
        opacity: 1;
        transform: translateX(0rem);
    }
}