.new-slider{
    width: 100%;
    aspect-ratio: 19/9;
    position: relative;
    overflow: hidden;
}


.slide{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active{
    opacity: 1;
}


.text-slider{
    position: absolute;
    top: 45%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    max-width: 40%;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    z-index: 2;
}



.arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(12, 12, 12);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    z-index: 3;
}

.left-arrow{
    left: 20px;
}

.right-arrow{
    right: 20px;
}

.arrow:hover{
    opacity: 0.7;
}

.slide::after{
    content: none !important;
}

#services-products{
   background:url('./uslugi-produkty1.jpg') no-repeat center top / contain;min-height:927px;min-height:48.281vw;

}



@media (max-width: 1000px) {
    .text-slider h2{
        font-size: 1.3em;
        line-height: 50px;
    }
}

@media (max-width: 768px) {
    .text-slider h2{
        font-size: 0.8em;
        line-height: 40px;
    }

    .arrow{

    font-size: 1rem;   
    }
     .menu-open .social {
            display:none;           
        }
}

