/* Main block */
.main-image {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 120vh;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    animation: zoomLoop 20s ease-in-out infinite;
    transform-origin: center;
}

@keyframes zoomLoop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.main-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    -webkit-text-stroke: 2px grey;
    text-stroke: 1px grey;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.main-text h1 {
    font-size: 8rem;
    margin: 0;
    white-space: nowrap;
    letter-spacing: 2px;
}

.main-text h2 {
    font-size: 4rem;
    margin: 10px 0 0;
    white-space: nowrap;
    letter-spacing: 1px;
}


@media (max-width: 768px) {
    .main-text {
        -webkit-text-stroke: 1px grey;
        text-stroke: 1px grey;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    }

    .main-text h1 {
        font-size: 4rem;
        white-space: normal;
        text-align: center;
    }

    .main-text h2 {
        font-size: 2rem;
        white-space: normal;
        text-align: center;
    }
}

.image-fade-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 100%);
    pointer-events: none;
    z-index: 2;
}