/*-------------------------------------*/
/* Fonts                               */
/*-------------------------------------*/

@font-face {
    font-family: 'Aeonik Pro';
    src: url('../fonts/AeonikPro-Bold.woff2') format('woff2'),
    url('../fonts/AeonikPro-Bold.woff') format('woff'),
    url('../fonts/AeonikPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: 'Aeonik Pro';
    src: url('../fonts/AeonikPro-Medium.woff2') format('woff2'),
    url('../fonts/AeonikPro-Medium.woff') format('woff'),
    url('../fonts/AeonikPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: 'Aeonik Pro';
    src: url('../fonts/AeonikPro-Regular.woff2') format('woff2'),
    url('../fonts/AeonikPro-Regular.woff') format('woff'),
    url('../fonts/AeonikPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: 'Balsamiq Sans';
    src: url('../fonts/BalsamiqSans-Regular.woff2') format('woff2'),
    url('../fonts/BalsamiqSans-Regular.woff') format('woff'),
    url('../fonts/BalsamiqSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: 'Balsamiq Sans';
    src: url('../fonts/BalsamiqSans-Bold.woff2') format('woff2'),
    url('../fonts/BalsamiqSans-Bold.woff') format('woff'),
    url('../fonts/BalsamiqSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: 'Balsamiq Sans';
    src: url('../fonts/BalsamiqSans-Italic.woff2') format('woff2'),
    url('../fonts/BalsamiqSans-Italic.woff') format('woff'),
    url('../fonts/BalsamiqSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: fallback;
}

@font-face {
    font-family: 'Balsamiq Sans';
    src: url('../fonts/BalsamiqSans-BoldItalic.woff2') format('woff2'),
    url('../fonts/BalsamiqSans-BoldItalic.woff') format('woff'),
    url('../fonts/BalsamiqSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: fallback;
}

/*-------------------------------------*/
/* Root                                */
/*-------------------------------------*/

:root {
    --color-main-primar: #0a2005;
    --color-main-accent: #059c2a;
    --color-main-second: #008322;
    --color-optn-accent: #a7f47b;
    --radius-main: 20px;
    --height-navbar: 94px;
}

@media (max-width: 992px) {
    :root {
        --height-navbar: 72px;
    }
}

/*-------------------------------------*/
/* Base                                */
/*-------------------------------------*/

body {
    color: #0a2005;
    background: #faf7ee;
    font-size: 16px;
    font-family: 'Aeonik Pro', sans-serif;
    line-height: 1.4;
    overflow-x: hidden;
}

body.overflow {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

hr {
    opacity: 0.9;
}

.container {
    max-width: 1440px!important;
}

.modal {
    --bs-modal-width: 600px;
    --bs-modal-border-radius: var(--radius-main);
}

.modal .modal-content {
    border: none;
    background: #faf7ee;
}

.modal.modal-shop {
    --bs-modal-width: 800px;
}

.modal.modal-myths .modal-header {
    border: none;
}

/*-------------------------------------*/
/* Buttons                             */
/*-------------------------------------*/

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    white-space: nowrap;
    border-radius: 60px;
}

.btn-green {
    font-size: 14px;
    height: 38px;
    color: #fff;
    background: var(--color-main-second);
}

.btn-green:hover {
    color: #fff;
    background: var(--color-main-accent);
}

.btn-buy {
    font-size: 18px;
    height: 48px;
}

.btn-prev,
.btn-next {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    color: #fff;
    background: var(--color-main-second);
}

.btn-prev:hover,
.btn-next:hover,
.btn-prev:active,
.btn-next:active {
    color: #fff;
    border: none;
    background: var(--color-main-accent)!important;
}

.accordion-button {
    box-shadow: none!important;
    background: none!important;
    font-size: 120%;
    color: #000!important;
}

@media (max-width: 992px) {
    .btn-buy {
        font-size: 14px;
        height: 38px;
    }
}

/*-------------------------------------*/
/* Navbar                              */
/*-------------------------------------*/

.navbar-main {
    box-sizing: border-box;
    height: var(--height-navbar);
    padding: 0;
    font-family: 'Balsamiq Sans', sans-serif;
    background: #faf7ee;
    border-bottom: 1px solid #00832233;
}

.navbar-brand {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    max-width: 64px;
}

.navbar-toggler {
    margin: 0;
    padding: 0;
    border: none;
    color: var(--color-main-second);
}

.offcanvas-header .navbar-brand img {
    position: relative;
    max-width: 48px;
}

.navbar-slogan {
    color: var(--color-main-second);
    font-family: 'Balsamiq Sans', sans-serif;
    font-size: 12px;
}

.navbar-menu {
    height: var(--height-navbar);
}

.navbar-menu .nav-link {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0 8px;
    padding: 0;
    color: #000;
    border-bottom: 2px solid transparent;
}

.navbar-menu .nav-link:hover {
    color: var(--color-main-accent);
}

.navbar-menu .nav-link.active {
    color: var(--color-main-accent);
    border-bottom: 2px solid var(--color-main-accent);
}

@media (max-width: 992px) {
    .navbar-brand {
        max-width: 54px;
    }
}

/*-------------------------------------*/
/* Header                              */
/*-------------------------------------*/

.header {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 120px 0 20px;
    z-index: 2;
}

.header__title {
    position: relative;
    z-index: 9;
}

.header__title h1 {
    color: var(--color-main-second);
    font-weight: 700;
    font-size: calc(1.2rem + 4.6vw);
    line-height: 1;
}

.header__first {
    color: var(--color-main-second);
    font-family: 'Balsamiq Sans', sans-serif;
}

.header__sertif {
    position: relative;
    z-index: 1;
}

.header__sertif span {
    display: block;
    position: absolute;
    box-sizing: border-box;
    top: -80px;
    right: 10%;
    max-width: 270px;
    margin: 0 auto;
    padding: 20px 30px;
    color: #fff;
    font-size: 12px;
    font-family: 'Balsamiq Sans', sans-serif;
    border-radius: 20px;
    background: #6c4492;
    transform: rotate(-15deg);
}

.header__descr {
    position: relative;
    color: var(--color-main-second);
    font-weight: 700;
    font-size: calc(1rem + 1vw);
    z-index: 3;
}

.ob-circle {
    position: absolute;
    width: 148px;
    height: 148px;
    left: 10%;
    bottom: 0;
}

.ob-circle__text {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/ob-circle-text.svg') no-repeat center;
    background-size: contain;
    animation: 8s infinite linear anim-circle-text;
}

@keyframes anim-circle-text {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ob-circle__arrow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/ob-circle-arrow.svg') no-repeat center;
}

@media (min-width: 1600px) {
    .header__title h1 {
        font-size: 128px;
    }

    .header__descr {
        font-size: 24px;
    }
}

@media (max-width: 992px) {
    .header {
        margin: 80px 0 30px;
    }

    .header__sertif span {
        position: relative;
        top: auto;
        right: auto;
        transform: rotate(0deg);
    }

    .ob-circle {
        bottom: -110px;
    }
}

@media (max-width: 576px) {
    .ob-circle {
        width: 100px;
        height: 100px;
    }
}

/*-------------------------------------*/
/* Section                             */
/*-------------------------------------*/

.section__title {
    padding: 128px 0 60px;
}

.section__title h2 {
    color: var(--color-main-second);
    font-weight: 500;
    font-size: calc(1.4rem + 2.4vw);
    line-height: 1.2;
}

.section__descr {
    color: var(--color-main-second);
    font-family: 'Balsamiq Sans', sans-serif;
    font-size: calc(1rem + 1vw);
}

@media (min-width: 1600px) {
    .section__title h2 {
        font-size: 70px;
    }

    .section__descr {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .section__title {
        padding: 80px 0 40px;
    }
}

/*------*/

.section-prefs__item {
    position: relative;
    box-sizing: border-box;
    min-height: 300px;
    margin-bottom: 60px;
}

.section-prefs__item.pad-left {
    padding-left: 5%;
}

.section-prefs__item.pad-right {
    padding-right: 5%;
}

@media (max-width: 768px) {
    .section-prefs__item {
        margin-bottom: 0;
    }

    .section-prefs__item.pad-left {
        padding-left: 10%;
    }

    .section-prefs__item.pad-right {
        padding-right: 10%;
    }
}

/*------*/

.section-why {
    background: #fff;
}

/*------*/

.section-product {
    position: sticky;
    box-sizing: border-box;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    min-height: 800px;
    max-height: 1024px;
    overflow-x: hidden;
}

/*------*/

.section-taste {
    position: relative;
    background: var(--color-main-second);
}

.section-taste .section__title h2 {
    color: #fff;
}

.section-taste__character {
    max-width: 350px;
}

.section-taste__back {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
}

.section-taste__back .bg-taste {
    position: relative;
    width: 100%;
    height: 540px;
    max-width: 1440px;
    margin: 0 auto;
    background: url('../images/bg-taste.svg') no-repeat 50% 100%;
    background-size: contain;
}

@media (max-width: 992px) {
    .section-taste__back .bg-taste {
        height: 400px;
        background-size: cover;
    }
}

/*------*/

.section-quiz {
    background: #fff;
}

.section-quiz::before {
    display: block;
    position: relative;
    content: '';
    width: 100%;
    height: 220px;
    background: url('../images/bg-milk-bottom.svg') no-repeat 50% 100%;
    background-size: cover;
}

.section-quiz::after {
    display: block;
    position: relative;
    content: '';
    width: 100%;
    height: 220px;
    background: url('../images/bg-milk-top.svg') no-repeat 50% 0;
    background-size: cover;
}

.section-quiz .section__title {
    padding-top: 20px;
}

/*------*/

.section-family .section__title {
    padding-top: 20px;
}

.section-family__back {
    position: relative;
    height: 1024px;
    background: url('../images/bg-family.webp') no-repeat center var(--color-main-second);
    background-size: cover;
}

/*------*/

.section-review {
    position: relative;
    background: var(--color-main-second);
}

.section-review::before {
    display: block;
    position: relative;
    content: '';
    width: 100%;
    height: 220px;
    background: url('../images/bg-milk-bottom.svg') no-repeat 50% 100%;
    background-size: cover;
}

.section-review .section__title {
    padding-top: 20px;
}

.section-review .section__title h2 {
    color: #fff;
}

/*------*/

.section-myths {
    background: #fff;
}

/*-------------------------------------*/
/* Product                             */
/*-------------------------------------*/

.main {
    view-timeline-name: --section-main;
    view-timeline-axis: block;
}

.product__milk {
    position: relative;
    max-width: 210px;
}

.product__hand_parent {
    position: relative;
    left: -50%;
    max-width: 475px;
    animation: linear hand-parent-anim both;
    animation-timeline: --section-main;
    animation-range: entry 30% cover 30%;
}

@keyframes hand-parent-anim {
    from {
        left: -50%;
    }
    to {
        left: 0;
    }
}

.product__hand_child {
    position: relative;
    right: -50%;
    max-width: 312px;
    animation: linear hand-child-anim both;
    animation-timeline: --section-main;
    animation-range: entry 30% cover 30%;
}

@keyframes hand-child-anim {
    from {
        right: -50%;
    }
    to {
        right: 0;
    }
}

.milk-text {
    position: absolute;
    color: var(--color-main-second);
    font-family: 'Balsamiq Sans', sans-serif;
    font-size: calc(1rem + 0.6vw);
}

.milk-text::before {
    position: absolute;
    content: '';
    width: 48px;
    height: 48px;
    top: 10px;
}

.milk-text__parent {
    top: 20%;
    left: -202px;
}

.milk-text__parent::before {
    right: -64px;
    background: url('../images/ob-arrow-left.svg') no-repeat center;
}

.milk-text__child {
    bottom: 20%;
    right: -182px;
}

.milk-text__child::before {
    left: -64px;
    background: url('../images/ob-arrow-right.svg') no-repeat center;
}

@media (min-width: 992px) {
    .milk-text {
        font-size: 24px;
    }
}

/*-------------------------------------*/
/* Sliders                             */
/*-------------------------------------*/

.slider .tns-nav {
    margin-top: 20px;
    text-align: center;
}

.slider .tns-nav button {
    box-sizing: border-box;
    border: none;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    border-radius: 40px;
    background: var(--color-main-primar);
}

.slider .tns-nav button.tns-nav-active {
    background: var(--color-main-accent);
}

/*------*/

.slider-whom {
    display: none;
    position: relative;
}

.slider-whom__controls {
    z-index: 999;
}

/*------*/

.slider-review {
    display: none;
    position: relative;
}

.slider-review__controls {
    z-index: 999;
}

.slider-review .slider-review__prev,
.slider-review .slider-review__next {
    background: #fff;
}

.slider-review .slider-review__prev path,
.slider-review .slider-review__next path {
    stroke: var(--color-main-second);
}

.slider-review .slider-review__prev:hover path,
.slider-review .slider-review__next:hover path {
    stroke: #fff;
}

/*-------------------------------------*/
/* Footer                              */
/*-------------------------------------*/

.footer {
    border-radius: var(--radius-main) var(--radius-main) 0 0;
    background: var(--color-optn-accent);
}

.footer__wrapper {
    color: #fff;
    border-radius: var(--radius-main);
    background: url('../images/bg-footer.webp') var(--color-main-second) no-repeat 50% 0;
    background-size: contain;
}

.footer__panel {
    color: var(--color-main-second);
    border-radius: var(--radius-main);
    background: var(--color-optn-accent);
}

.brand__nav a {
    padding-left: 0;
    font-weight: 700;
    font-size: 28px;
    color: #fff;
}

.brand__nav a:hover {
    color: var(--color-optn-accent);
}

.footer__nav a {
    padding-left: 0;
    color: #fff;
}

.footer__nav a:hover {
    color: var(--color-optn-accent);
}

.footer .email-main,
.footer .site-main {
    color: #fff;
    text-decoration: none;
}

.footer .email-main:hover,
.footer .site-main:hover {
    color: var(--color-optn-accent);
}

.footer__toolbar {
    color: var(--color-main-second);
    font-size: 12px;
}

.running-lines {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 40px 0;
}

.running-lines__items {
    display: inline-block;
    animation: running-lines 20s linear infinite;
}

.running-lines__items span {
    display: inline-block;
    padding: 0 20px;
    color: var(--color-main-second);
    font-weight: 700;
    font-size: 128px;
    line-height: 1;
}

@keyframes running-lines {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .running-lines {
        padding: 20px 0;
    }

    .running-lines__items span {
        font-size: 64px;
    }
}

/*-------------------------------------*/
/* Animate                             */
/*-------------------------------------*/

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.animate__fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
.animate__fadeInDown {
    animation-name: fadeInDown;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
.animate__fadeInUp {
    animation-name: fadeInUp;
}