.contact-footer {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    background-color: var(--dark-space-color);
    max-height: 162px;
    min-height: 162px;
}

.contact-footer h3 {
    margin: 30px 0 30px 0;
}

.contact-buttons {
    display: flex;
    flex-direction: row;
    height: clamp(40px, 6vw, 50px);
    margin: 0 0 0 0;
}

.contact-buttons div {
    border-radius: 5px;
    border: 2px solid var(--highlight-color-high);
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    margin: 0 10px 0 10px;
}

.contact-buttons a {
    border-radius: 5px;
    border: 2px solid var(--highlight-color-high);
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    margin: 0 clamp(4px, 2vw, 10px) 0 clamp(4px, 2vw, 10px);
    text-decoration: none;
    font-size: clamp(10px, 2vw, 16px);
}

.linkedin-button {
    transition:
        border-color 0.3s;
}

.email-button {
    transition:
        border-color 0.3s;
}

.contact-buttons img {
    width: 20px;
    height: auto;
    padding-right: 5px;
}

@media (max-width: 300px) {
    .contact-buttons p {
        display: none;
    }

    .contact-buttons img {
        padding-right: 0;
    }
}

@keyframes circle-up {
    from {
        background-size: 5%;
    }

    to {
        background-size: 800%;
    }
}

@keyframes bounce {
    0% {
        translate: 0px 0px;
    }

    30% {
        translate: 0px -10px;
        animation-timing-function: ease-in;
    }
    60% {
        translate: 0px 0px;
    }

    80% {
        translate: 0px -3px;
        animation-timing-function: ease-in;
    }

    100% {
        translate: 0px 0px;
    }
}

@keyframes fly {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(3px);
        animation-timing-function: ease-in-out;
    }

    100% {
        transform: translateX(0px);
    }
}

.linkedin-button:hover {
    animation-name: circle-up;
    animation-duration: 0.6s;
    background: radial-gradient(circle at 50% 50%, var(--linkedin-color) 20%, transparent 20%);
    background-position: center center;
    background-repeat: no-repeat;
    animation-fill-mode: forwards;
    border-color: var(--linkedin-color);
}

.email-button:hover {
    animation-name: circle-up;
    animation-duration: 0.6s;
    background: radial-gradient(circle at 50% 50%, var(--primary-color) 20%, transparent 20%);
    background-position: center center;
    background-repeat: no-repeat;
    animation-fill-mode: forwards;
    border-color: var(--primary-color);
}

.linkedin-button:hover img {
    animation-name: bounce;
    animation-duration: 0.8s;
}

.email-button:hover img {
    animation-name: fly;
    animation-duration: 1s;
}