@font-face {
    font-family: "DIN medium";
    src: url("../fonts/DIN-Medium.woff2") format("woff2"),
         url("../fonts/DIN-Medium.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "DIN bold";
    src: url("../fonts/DIN-Black.woff2") format("woff2"),
         url("../fonts/DIN-Black.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "DRUKCYR-Heavy";
    src: url("../fonts/DRUKCYR-Heavy.woff2") format("woff2"),
         url("../fonts/DRUKCYR-Heavy.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

:root {
    font-family: "DIN medium", sans-serif;
    font-size: calc(100vw / 1920);
    overflow-x: hidden;
    background-color: #F4E5CE;
}

b {
    font-family: "DIN bold", sans-serif;
}

p,
body {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    opacity: 1;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

.wrapper {
    width: calc(100% - 80rem);
    max-width: 1374rem;
    margin: 0 auto;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16rem;
}

.logo {
    display: flex;
}

.logo img {
    width: 206rem;
    height: auto;
}

.hero {
    background-image: url('../images/hero-bg-top-1x.webp'), url('../images/hero-bg-bottom-1x.webp');
    background-image:
        image-set(url('../images/hero-bg-top-1x.webp') 1x, url('../images/hero-bg-top.webp') 2x),
        image-set(url('../images/hero-bg-bottom-1x.webp') 1x, url('../images/hero-bg-bottom.webp') 2x);
    background-repeat: no-repeat;
    background-position: center top, center bottom;
    background-size: 100% auto, 100% auto;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 356rem;
    padding-bottom: 533rem;
    position: relative;
}

.hero__new {
    width: 1312rem;
    height: auto;
    position: absolute;
    top: 209rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero_packs {
    width: 1112rem;
    height: auto;
    transform: translateX(4%);
    position: relative;
    z-index: 1;
}

.about {
    margin-top: -420rem;
    background-image: url('../images/about-bg-top-1x.webp'), url('../images/about-bg-bottom-1x.webp');
    background-image:
        image-set(url('../images/about-bg-top-1x.webp') 1x, url('../images/about-bg-top.webp') 2x),
        image-set(url('../images/about-bg-bottom-1x.webp') 1x, url('../images/about-bg-bottom.webp') 2x);
    background-repeat: no-repeat;
    background-position: center top, center bottom;
    background-size: 100% auto, 100% auto;
}

.about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 96rem;
    padding-top: 110rem;
    padding-bottom: 2739rem;
}

.about__title {
    width: 1346rem;
    height: auto;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 38rem;
    font-size: 34rem;
    line-height: 1.2;
    width: 100%;
}

.classic {
    margin-top: -2243rem;
    background-image: url("../images/classic-bg-top-1x.webp"), url("../images/classic-bg-middle-1x.webp");
    background-image:
        image-set(url("../images/classic-bg-top-1x.webp") 1x, url("../images/classic-bg-top.webp") 2x),
        image-set(url("../images/classic-bg-middle-1x.webp") 1x, url("../images/classic-bg-middle.webp") 2x);
    background-repeat: no-repeat;
    background-position: center top, 91% center;
    background-size: 100% auto, auto calc(100% - 210rem);
}

.classic__content {
    display: flex;
    flex-direction: column;
    gap: 168rem;
    padding-top: 160rem;
    padding-bottom: 239rem;
}

.classic__title {
    width: 630rem;
    height: auto;
}

.classic__products {
    display: flex;
    align-items: flex-start;
    gap: 96rem;
}

.products__col--vertical {
    display: flex;
    flex-direction: column;
    gap: 40rem;
}

.products__col--horizontal {
    display: flex;
    flex-direction: row;
    gap: 200rem;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16rem;
    width: 100%;
    max-width: 370rem;
}

.product--compact {
    max-width: 320rem;
    justify-content: flex-end;
}

.product--compact .product__img {
    flex: 0 0 auto;
}

.product--compact .product__new img {
    top: auto;
    bottom: -8rem;
    transform: translateX(-45%);
}

.product__new {
    width: 100%;
    height: 160rem;
    display: flex;
    position: relative;
}

.product__new img {
    width: 135%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%);
}

.product__img {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex: 1;
}

.product__img img {
    width: 100%;
    height: auto;
}

.product__text {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    width: max-content;
}

.product__title {
    font-size: 79rem;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 700;
    font-family: "DRUKCYR-Heavy", sans-serif;
}

.product__info {
    font-size: 42rem;
    line-height: 1.1;
    width: stretch;
}

.aroma {
    margin-top: -239rem;
    background-image: url("../images/aroma-bg-top-1x.webp"), url("../images/aroma-bg-1-1x.webp"), url("../images/aroma-bg-2-1x.webp"), url("../images/aroma-bg-3-1x.webp");
    background-image:
        image-set(url("../images/aroma-bg-top-1x.webp") 1x, url("../images/aroma-bg-top.webp") 2x),
        image-set(url("../images/aroma-bg-1-1x.webp") 1x, url("../images/aroma-bg-1.webp") 2x),
        image-set(url("../images/aroma-bg-2-1x.webp") 1x, url("../images/aroma-bg-2.webp") 2x),
        image-set(url("../images/aroma-bg-3-1x.webp") 1x, url("../images/aroma-bg-3.webp") 2x);
    background-repeat: no-repeat;
    background-position: center top, -75rem 411rem, calc(50% - 120rem) calc(50% - -194rem), calc(100% - 63rem) calc(100% - 88rem);
    background-size: 100% auto, auto 535rem, auto 560rem, auto 540rem;
}

.aroma__content {
    display: flex;
    flex-direction: column;
    gap: 145rem;
    padding-top: 232rem;
    padding-bottom: 239rem;
}

.aroma__title {
    width: 530rem;
    height: auto;
}

.aroma__products {
    display: flex;
    align-items: flex-start;
    gap: 400rem;
    padding: 0 30rem;
}

.crush {
    margin-top: -55rem;
    background-image: url("../images/crush-bg-top-1x.webp"), url("../images/crush-bg-bottom-1x.webp");
    background-image:
        image-set(url("../images/crush-bg-top-1x.webp") 1x, url("../images/crush-bg-top.webp") 2x),
        image-set(url("../images/crush-bg-bottom-1x.webp") 1x, url("../images/crush-bg-bottom.webp") 2x);
    background-repeat: no-repeat;
    background-position: center top, center calc(100% + 400rem);
    background-size: 100% auto, 100% auto;
}

.crush__title {
    width: 900rem;
    height: auto;
}

.crush__content {
    display: flex;
    flex-direction: column;
    gap: 245rem;
    padding-top: 120rem;
    padding-bottom: 630rem;
}

.crush__products {
    display: flex;
    gap: 40rem;
    padding: 0 30rem;
}

.crush__products .product:nth-child(3) {
    max-width: 430rem;
    margin-left: 57rem;
}

.crush__products .product:nth-child(3) .product__img {
    max-width: 340rem;
}

.footer {
    margin-top: -405rem;
    background-image: url("../images/footer-bg-1x.webp");
    background-image: image-set(url("../images/footer-bg-1x.webp") 1x, url("../images/footer-bg.webp") 2x);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100rem;
    padding-top: 580rem;
    padding-bottom: 120rem;
}

.footer__logo {
    display: flex;
}

.footer__logo img {
    width: 364rem;
    height: auto;
}

.footer__text {
    display: flex;
    flex-direction: column;
    gap: 63rem;
    color: #FFFFFF;
    font-size: 25rem;
    line-height: 1.16;
    text-align: left;
    letter-spacing: 1%;
}

.footer__links {
    display: flex;
    flex-direction: column;
}

.footer__links a {
    font-size: 23rem;
}

.js .hero__new,
.js .hero_packs,
.js .about__title,
.js .about__text,
.js .classic__title,
.js .classic__products .product,
.js .aroma__title,
.js .aroma__products .product,
.js .crush__title,
.js .crush__products .product,
.js .footer__logo,
.js .footer__text {
    opacity: 0;
    translate: 0 70rem;
    transition:
        opacity 800ms ease,
        translate 800ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.js .is-revealed.is-revealed {
    opacity: 1;
    translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
    .js .hero__new,
    .js .hero_packs,
    .js .about__title,
    .js .about__text,
    .js .classic__title,
    .js .classic__products .product,
    .js .aroma__title,
    .js .aroma__products .product,
    .js .crush__title,
    .js .crush__products .product,
    .js .footer__logo,
    .js .footer__text {
        opacity: 1;
        translate: none;
        transition: none;
    }
}

@media screen and (min-width: 1670px) {
    :root {
        font-size: 0.87px;
    }

    .hero {
        background-size: 100% 394rem, 100% 1310rem;
    }

    .about {
        background-size: 100% 599rem, 100% 2963rem;
    }

    .classic {
        background-size: 100% 504rem, auto calc(100% - 210rem);
    }

    .aroma {
        background-size: 100% 502rem, auto 535rem, auto 560rem, auto 540rem;
    }

    .crush {
        background-size: 100% 543rem, 100% 1512rem;
    }

    .footer {
        background-size: 100% 1299rem;
    }
}

@media screen and (max-width: 767px) {
    :root {
        font-size: calc(100vw / 767);
    }

    .hero {
        background-image: url('../images/mob/hero-bg-top.webp'), url('../images/mob/hero-bg-bottom.webp');
        background-size: 250% auto, 200% auto;
    }

    .hero__new {
        width: 670rem;
    }

    .hero_packs {
        width: 679rem;
        transform: translateX(1%);
    }

    .hero__content {
        padding-top: 295rem;
        padding-bottom: 480rem;
    }

    .about {
        background-image: url('../images/mob/about-bg-top.webp'), url('../images/mob/about-bg-bottom.webp');
        background-size: 100% auto, 210% auto;
    }

    .about__content {
        gap: 140rem;
        padding-top: 90rem;
        padding-bottom: 2350rem;
    }
    .about__title {
        width: 680rem;
    }

    .classic {
        margin-top: -2060rem;
        background-image: url("../images/mob/classic-bg-top.webp"), url("../images/mob/classic-bg-middle.webp");
        background-position: center top, 260% center;
        background-size: 200% auto, auto calc(100% - 210rem);
    }

    .classic__content {
        display: flex;
        padding-top: 101rem;
    }

    .classic__title {
        width: 460rem;
    }

    .products__col--horizontal {
        flex-direction: column;
        gap: 40rem;
    }

    .product {
        max-width: 270rem;
    }

    .product--compact {
        max-width: 250rem;
    }

    .product__title {
        font-size: 60rem;
    }

    .product__info {
        font-size: 32rem;
    }

    .aroma {
        background-image: url("../images/mob/aroma-bg-top.webp"), url("../images/mob/aroma-bg-1.webp"), url("../images/mob/aroma-bg-2.webp"), url("../images/mob/aroma-bg-3.webp");
        background-position: center top, -42rem 324rem, calc(50% - 33rem) calc(50% - -106rem), calc(100% - -26rem) calc(100% - 68rem);
        background-size: 200% auto, auto 300rem, auto 260rem, auto 276rem;
    }

    .aroma__content {
        padding-top: 200rem;
    }

    .aroma__title {
        width: 400rem;
    }

    .aroma__products {
        gap: 120rem;
        padding: 0;
    }

    .crush {
        background-image: url("../images/mob/crush-bg-top.webp"), url("../images/mob/crush-bg-bottom.webp");
        background-size: 200% auto, 100% auto;
    }

    .crush__content {
        gap: 140rem;
        padding-bottom: 300rem;
    }

    .crush__title {
        width: 600rem;
    }

    .crush__products {
        gap: 80rem 120rem;
        padding: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .crush__products .product:nth-child(3) {
        max-width: 280rem;
        margin-left: 0;
    }

    .footer {
        background-image: url("../images/mob/footer-bg.webp");
    }

    .footer__logo img {
        width: 320rem;
    }
}
