﻿.animation-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: auto;
}

.animated-arrow {
    position: absolute;
    animation: slide-in-out 4s infinite;
}

.animated-arrow-left {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 0s;
}

.animated-arrow-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.animated-arrow-right {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.animated-arrow-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

@keyframes slide-in-out {
    0%, 100% {
        opacity: 0;
        transform: translate(0, 0);
    }

    25%, 75% {
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%);
    }
}
