body {
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: black;
    font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", Arial, sans-serif;
    color: white;
}

.hero-animation {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

video {
    max-width: 150%;
    max-height: 150%;
    width: auto;
    height: auto;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

/* PNG Image animation */
.animated-image {
    position: absolute;
    top: 45%;
    left: 5%; /* Position it slightly inside the left side */
    width: 65%; /* Increase the size of the image */
    height: auto;
    border-radius: 10px; /* Slightly round the corners */
    opacity: 100;
    animation: slideInFromLeft 3s ease-out forwards, moveBackAndForth 4s ease-in-out infinite;
}

@keyframes slideInFromLeft {
    0% {
        left: -50%; /* Start off-screen */
        opacity: 0;
    }
    50% {
        left: 5%; /* Position slightly inside the screen */
        opacity: 0.5;
    }
    100% {
        left: 5%; /* Stay at the left side with some padding */
        opacity: 1;
    }
}

@keyframes moveBackAndForth {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px); /* Adjust the distance to your preference */
    }
    100% {
        transform: translateX(0);
    }
}
