 .moving-image {
            position: absolute;
            width: 200px; /* Adjust size as needed */
            height: 200px;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            animation: moveAround 10s linear, rotateImage 10s linear infinite reverse;
        }

        @keyframes moveAround {
            0% { top: 0; left: 50%; transform: translateX(-50%); }
            25% { top: 50%; left: 100%; transform: translateX(-100%); }
            50% { top: 100%; left: 50%; transform: translateX(-50%) translateY(-100%); }
            75% { top: 50%; left: 0; transform: translateY(-50%); }
            100% { top: 0; left: 50%; transform: translateX(-50%); }
        }

        @keyframes rotateImage {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(-360deg); }
        }

@keyframes blink-shake {
  0% { transform: rotate(0deg); color: red; }
  25% { transform: rotate(5deg); color: black; }
  50% { transform: rotate(0eg); color:red; }
  75% { transform: rotate(-5deg); color:black; }
  100% { transform: rotate(0deg); color:red; }
}

.blink-shake-animation {
  animation: blink-shake 0.5s cubic-bezier(.36, .07, .19, .97) both infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
  display: inline-block;
}
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #111;
    font-family: 'Roboto Mono', monospace;
    color: #303633;
    position: relative;
    overflow: hidden;
}

.container {
    text-align: center;
}

.animation h1 {
    font-size: 4em;
    margin: 0;
    position: relative;
    display: inline-block;
    vertical-align: bottom;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.cursor {
    display: inline-block;
    animation: blink 1s steps(10, start) infinite, colorChange 8s infinite;
    position: relative;
    top: -0.1em;
}

@keyframes colorChange {
    0% { color: #00ffcc; }
    25% { color: #1abc9c; }
    50% { color: #3498db; }
    75% { color: #9b59b6; }
    100% { color: #00ffcc; }
}

.blink {
    display: inline-block;
    animation: colorChange 8s infinite;
    white-space: pre-wrap;
    transform: rotate(0deg);
}

@keyframes colorChangeCat {
    0% { opacity: 1; }
    25% { opacity: .8; }
    50% { opacity: .6 }
    75% { opacity: .4 }
    100% { opacity: .2; }
}

.blink-cat{
    display: inline-block;
    animation: colorChangeCat 8s infinite;
    white-space: pre-wrap;
    transform: rotate(0deg);
}


@media (max-width: 600px) {
    .animation h1 {
        font-size: 2.5em;
    }
}
