.homeSlide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeZoomIn 24s infinite;
}

.homeSlide:nth-child(1) {
    animation: fadeZoomIn 24s infinite;
    animation-delay: 0s;
}

.homeSlide:nth-child(2) {
    animation: fadeZoomOut 24s infinite;
    animation-delay: 6s;
}

.homeSlide:nth-child(3) {
    animation: fadeZoomIn 24s infinite;
    animation-delay: 12s;
}

.homeSlide:nth-child(4) {
    animation: fadeZoomOut 24s infinite;
    animation-delay: 18s;
}


@keyframes fadeZoomIn {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    2% {
        opacity: 1;
        transform: scale(1);
    }
    27% {
        opacity: 1;
        transform: scale(1.1);
    }
    29% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes fadeZoomOut {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    2% {
        opacity: 1;
        transform: scale(1.1);
    }
    27% {
        opacity: 1;
        transform: scale(1);
    }
    29% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}