.space {
    padding: 4vh 0;
}


.background {
    width: 100%;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: right;
    transition: background-color 0.5s;
    gap: 5rem;
}

h2 {
    font-family: "Mallory Compact", sans-serif;
    font-size: 48px;
    font-weight: 900;
    text-align: center;
}

.opis {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    font-size: 22px;
    margin: 1rem 0;
    line-height: 150%;
    color: rgba(0, 0, 0, 0.8)
}


.background-img img {
    object-fit: cover;
    transition: opacity 0.5s;
}

.product {
    background: #F5F5F7;
    width: 35vw;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 20px;
    border-left: 2px solid rgba(0, 0, 0, 0.15);
}

.white {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    font-size: 22px;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.20);
}

.staty {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}


.nazwa-koloru {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    font-size: 26px;
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
    transition: opacity 0.5s, color 0.5s;
}


.kolor-p {
    border-radius: 50%;
    height: 35px;
    width: 35px;
    flex-shrink: 0;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: filter 0.5s;
}

.kolor-p:hover {
    filter: brightness(170%);
    border: 2px solid rgba(0, 0, 0, 1);
}

.kolor-p.active {
    border: 2px solid black;
}


.brand-logo {
    display: flex;
    justify-content: center;

}

.kolory-wrapper-p {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}



.gallery-mosaic {
    width: 100%;
    overflow: hidden;
    border-top: 2px solid rgba(0, 0, 0, 0.15);
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: carouselMove 60s linear infinite;
    
}



.carousel-track img {
    width: 35vw;
    height: 80vh;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    border-right: 2px solid rgba(0, 0, 0, 0.15);
   
}



.reveal-carousel {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal-carousel.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes carouselMove {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

