
.bg-pale-violet-gradient-image::after {
    opacity: 0.6;
}

.home .hero {
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 60px;
    opacity: 0;
    animation: heroFadeIn 0.8s ease-out forwards;
}

/* fade-in animacija */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.home .hero .overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient( 0deg, #353142 0%, rgba(53, 49, 66, 0) 60% ) !important;
}

@media (max-width: 575px) {
    .home .hero .overlay {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        opacity: 1;
        background: linear-gradient( 0deg, #353142 0%, rgba(53, 49, 66, 0) 60% ) !important;
    }
}


.hero-img-desktop,
.hero-img-pad,
.hero-img-mobile {
    z-index: 0;
}

.home .hero .overlay {
    z-index: 1;
}

.home .hero .container {
    position: relative;
    z-index: 2;
}


.hero-img-desktop {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.hero-img-pad,
.hero-img-mobile {
    display: none;
}


@media (min-width: 1369px) {
    .home .hero {
        min-height: 520px;
    }

    .desktopTop {
        margin-top: 140px;
    }
}

@media (max-width: 1040px) and (min-width: 576px) {
    .hero-img-desktop {
        display: none;
    }

    .hero-img-pad {
        display: block;
        position: relative;
        width: 100%;
        aspect-ratio: 2 / 1;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        margin: 0 auto 30px;
    }

    .home .hero {
        min-height: auto;
        padding-top: 00px;
        padding-bottom: 40px;
    }

    .desktopTop {
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .hero-img-desktop,
    .hero-img-pad {
        display: none;
    }

    .hero-img-mobile {
        display: block;
        position: relative;
        width: 100%;
        aspect-ratio: 3 / 2; /* 680 x 480 */
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        margin: 0 auto 30px;
    }

    .home .hero {
        min-height: auto;
        padding-top: 0px;
        padding-bottom: 30px;
    }

    .desktopTop {
        margin-top: 0;
    }
}
