:root {
    --image-width: 300px;
    --image-gap: 25px;
}

.vv-value-image-container {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 12px;
    content: "";
    display: block;
    height: 300px;
    margin-top: 30px;
}

@media screen and (max-width: 1199px) {
    .vv-value-image-container {
        border-radius: calc(12 / 1200 * 100vw);
        height: calc(220 / 1200 * 100vw);
        margin-top: calc(30 / 1200 * 100vw);
    }
}

@media screen and (max-width: 767px) {
    .vv-value-image-container {
        border-radius: calc(12 / 375 * 100vw);
        height: calc(184 / 375 * 100vw);
        margin-top: calc(20 / 375 * 100vw);
    }
}

.vv-slider-container {
    overflow: hidden;
    position: relative;
}

.vv-slider,
.vv-slider-reverse {
    display: flex;
    width: calc((var(--image-width) * 20) + ((var(--image-gap)) * 20 - 1));
    column-gap: var(--image-gap);
    box-sizing: border-box;
    animation: vv-slide 30s linear infinite;
}

.vv-slider-reverse {
    animation-name: vv-slide-reverse;
}

.vv-slider p,
.vv-slider-reverse p {
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
}

.vv-slider p img,
.vv-slider-reverse p img {
    width: 300px;
    object-fit: cover;
}

@keyframes vv-slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(var(--image-width) * 10 * -1));
    }
}

@keyframes vv-slide-reverse {
    0% {
        transform: translateX(calc(var(--image-width) * 10 * -1));
    }

    100% {
        transform: translateX(0);
    }
}

#values.p-vv__content {
    background-size: 100vw !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}


#values-head {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
    margin: 0 auto;
}

#values-container {
    display: flex;
    gap: 40px;
    flex-direction: column;
    margin: 200px auto 300px;
    padding-top: 120px;
    padding-bottom: 180px;
    z-index: 10;;
    max-width: 800px;
}

.values-item {
    margin-left: 0;
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 40px;
    grid-template-rows: 1fr;
}

.values-item .image-container {
    display: flex;
}

.values-item .image-container img {
    width: 170px;
    height: 170px;
    object-fit: contain;
}

.values-item .text-container {
    display: flex;
    flex-direction: column;
    color: white;
    justify-content: center;
}

.values-item h3 {
    font-size: 80px;
    font-weight: 700;
    line-height: 80px;
    white-space: nowrap;
}

.values-item h5 {
    font-size: 20px;
}

@media screen and (max-width: 767px) {
    .values-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .values-item .image-container,
    .values-item .text-container {
        justify-content: center;
        gap: 10px;
    }

    .values-item {
        gap: 0px;
    }

    .values-item .text-container h5,
    .values-item .text-container h3 {
        text-align: center;
    }

    .values-item h3 {
        font-size: 40px;
    }

    .values-item .text-container p {
        text-align: left;
    }

    #values.p-vv__content {
        background-size: 1000% !important;
    }
}