:root {
    --bg-page-primary: #d9f7ff;
    --color-page-primary: #1e8fc8;
}

.hero-scr {
    margin-bottom: 30px;
    padding: 30px 110px;
    min-height: 402px;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--bg-page-primary);
    background-image: url(/images/opencart/hero-mask.png);
    background-position: center top;
}
.hero-scr__content {
    width: 50%;
}
.hero-scr__title {
    font-size: 42px;
    font-weight: 600;
    color: var(--color-page-primary);
}
.hero-scr__subtitle {
    font-size: 18px;
    color: var(--color-page-primary);
}
.hero-scr__image-wrap {
    width: 50%;
}
.hero-scr__image-wrap img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 991.98px) {
    .hero-scr {
        padding-inline: 20px;
    }
}
@media (max-width: 575.98px) {
    .hero-scr {
        min-height: unset;
        flex-direction: column;
    }
    .hero-scr__content,
    .hero-scr__image-wrap {
        width: 100%;
    }
    .hero-scr__title {
        font-size: 22px;
    }
}

.peculiar-title {
    margin-top: 120px;
    margin-bottom: 35px;
}

.peculiar {
    container-type: inline-size;
    container-name: perculiar;
}
.peculiar__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.peculiar__item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding: 35px 55px 60px;
    min-height: 400px;
    background-color: var(--bg-page-primary);
}
.peculiar__item-title {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-page-primary);
}
.peculiar__item-title a {
    color: inherit;
}
.peculiar__item-text {
    position: relative;
    z-index: 2;
    font-size: 15px;
    color: #2c657e;
}
.peculiar__item-img {
    position: absolute;
    bottom: -60px;
    right: 10px;
}
@container perculiar (max-width: 1000px) {
    .peculiar__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .peculiar__item {
        padding: 30px 30px 80px;
    }
}
@container perculiar (max-width: 700px) {
    .peculiar__item {
        padding: 20px 20px 80px;
    }
}
@container perculiar (max-width: 480px) {
    .peculiar__grid {
        grid-template-columns: 1fr;
    }
}


.worth-ordering-title {
    margin-top: 215px;
    margin-bottom: 50px;
}

@property --scrollbar {
    syntax: "<length>";
    inherits: true;
    initial-value: 0px; 
}
body {
    --scrollbar: calc(100vw - 100cqw);
  /* 
     100cqw is the html width  
     100vw  is the viewport width 
     the difference is the scrollbar width 🤩
  */
}


.b-pg-scroll-container {
    container: worth-ordering-container / inline-size;
}
.b-pg-scroll {
    position: relative;
    min-height: 100vh;

    /* timeline-scope: --one, --two, --three; */
}
.b-pg-scroll__divider {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.b-pg-scroll__divider-left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 38%;
    background-color: var(--bg-page-primary);
    border-radius: 0 8px 8px 0;
}
.b-pg-scroll__container {
    position: relative;
    width: var(--main-container-width);
    margin-inline: auto;
    display: flex;
    gap: 140px;
    padding-block: 65px;
}
.b-pg-scroll__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 160px;
    padding-bottom: 160px;
    min-height: 550px;
    height: 100vh;
}

.b-pg-scroll__img-container {
    position: sticky;
    top: 0;
    height: 100vh;
    flex-shrink: 0;
    flex-basis: 42%;
    
    /* animation-timeline: view(); */
}
.b-pg-scroll__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* transition-property: opacity;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .3s; */
    opacity: 0;

    /* animation: the-scroll-animation; */
}

/* .b-pg-scroll__item:nth-child(1) {
    view-timeline: --one;
}
.b-pg-scroll__item:nth-child(2) {
    view-timeline: --two;
}
.b-pg-scroll__item:nth-child(3) {
    view-timeline: --three;
}

.b-pg-scroll__img:nth-child(1) {
    animation-timeline: --one;
}
.b-pg-scroll__img:nth-child(2) {
    animation-timeline: --two;
}
.b-pg-scroll__img:nth-child(3) {
    animation-timeline: --three;
} */

@keyframes the-scroll-animation {
    entry 0% {
        opacity: 0;
    }

    entry 100% {
        opacity: 1;
    }

    exit 0% {
        opacity: 1;
    }

    exit 100% {
        opacity: 0
    }
}

.b-pg-scroll__marquee-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.b-pg-scroll__marquee {
    position: sticky;
    top: 0;
    width: 100%;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 120px;
}
.b-pg-scroll__marquee-inner {
    display: flex;
}
.b-pg-scroll__marquee-text {
    font-size: 148px;
    font-weight: 800;
    color: #f2fcff;
}

.b-worth-ordering__title {
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: var(--color-page-primary);
}
.b-worth-ordering__text ul {
    margin: 0;
    padding: 0;
}
.b-worth-ordering__text ul li {
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
    font-size: 16px;
    line-height: 1.38;
    color: #808080;
}
.b-worth-ordering__text ul li::before {
    content: "●";
    margin-right: 20px;
}
.b-worth-ordering__btn-wrap {
    margin-top: 80px;
}

@media (max-width: 1450px) {
    .b-pg-scroll__container {
        padding-inline: 40px;
    }
}
@media (max-width: 991.98px) {
    .worth-ordering-title {
        margin-top: 100px;
    }

    .b-pg-scroll__container {
        padding-block: 0;
    }
    .b-pg-scroll__divider {
        display: none;
    }
    .b-pg-scroll__img-container {
        display: none;
    }
    .b-pg-scroll__item {
        height: auto;
        min-height: unset;
        padding-top: 0;
    }
    .b-pg-scroll__marquee-container {
        display: none;
    }
}