@charset "UTF-8";

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #fff;
    background: url(/images/fon_ishodnye_produkty-3.webp) rgba(0, 0, 0, .6);
    background-blend-mode: darken;
    background-size: cover;
    background-attachment: fixed;
}

* {
    -webkit-tap-highlight-color: transparent !important;
}

*,
::before,
::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

p {
    font-size: 18px;
}

a,
a:hover {
    text-decoration: none;
    transition-duration: .4s;
}

ul li {
    list-style: none;
}

ul {
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}

button,
button:hover {
    transition-duration: .4s;
}

figure {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

img {
    vertical-align: middle;
    transition-duration: .3s;
}

img:hover {
    transition-duration: .3s;
}

h1,
h2,
h3 {
    /* font-family: 'Alegreya Sans SC', sans-serif; */
    font-weight: 900;
    font-size: 160%;
    text-transform: uppercase;
    text-align: center;
    color: #ffa362;
    margin: 1em .5em;
}

q,
i,
span {
    /* font-family: 'Alegreya Sans SC', sans-serif; */
    color: #ffa362;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: royalblue;
}

hr {
    color: #fff;
    width: 50%;
    height: 0;
    border-width: 1px;
}

header figure {
    display: flex;
    align-items: center;
    height: inherit;

}

section figure img {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

/* --- */
footer {
    background: rgb(0 0 0 / 90%);
    width: 100%;
    padding: .5em;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 80%;
}

footer ul li {
    color: #999;
}

footer ul li a {
    color: #ffa362;
}

footer ul li a:hover {
    color: #2196f3;
}

/* *** */

.item {
    height: 0;
    visibility: hidden;
    opacity: 0;
    font-size: 0;
}

.section-1 {
    width: 100%;
    padding: 2em;
}

.section-1 figure {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 1440px;
    max-height: calc(100vh - 50px - 2em - 2em);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
    -webkit-animation-name: animated-1-figure;
    animation-name: animated-1-figure;
    -webkit-animation-duration: 8s;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, .9);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, .9);
}

@keyframes animated-1-figure {
    0% {
        background: url(/images/photo_ishodnye_produkty-656.webp) rgba(0, 0, 0, .6);
        background-blend-mode: darken;
        background-position: center;
        background-size: 120%;
    }

    30% {
        background: url(/images/photo_ishodnye_produkty-656.webp) rgba(0, 0, 0, .6);
        background-position: center;
        background-size: 100%;
    }

    85% {
        background: url(/images/photo_ishodnye_produkty-656.webp) rgba(0, 0, 0, .1);
        background-position: center;
        background-size: 120%;
    }

    100% {
        background: url(/images/photo_ishodnye_produkty-656.webp) rgba(0, 0, 0, .6);
        background-position: center;
        background-size: 120%;
    }
}

.section-1 figure img {
    width: 100%;
    aspect-ratio: auto 767 / 492;
    height: auto;
    pointer-events: auto;
    animation-name: animated-1-img;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, .9);
}

@keyframes animated-1-img {
    0% {
        opacity: 1;
        -webkit-filter: brightness(.5);
        filter: brightness(.5);
    }

    30% {
        opacity: 1;
        -webkit-filter: brightness(.7);
        filter: brightness(.7);
        -webkit-transform: scale(1.4);
        -moz-transform: scale(1.4);
        -ms-transform: scale(1.4);
        -o-transform: scale(1.4);
        transform: scale(1.4);
    }

    60% {
        opacity: 0;
        -webkit-filter: brightness(.5);
        filter: brightness(.5);
        -webkit-transform: scale(1.4);
        -moz-transform: scale(1.4);
        -ms-transform: scale(1.4);
        -o-transform: scale(1.4);
        transform: scale(1.4);
    }

    100% {
        opacity: 1;
        -webkit-filter: brightness(.5);
        filter: brightness(.5);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

.section-1 .section-1_text {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    padding: 3em;
    pointer-events: none;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    z-index: 1;
}

.section-1 .section-1_text :nth-child(n) {
    display: block;
    text-align: center;
    text-shadow: 0 0 5px #000;
}

.section-1_text h2 {
    /* font-family: 'Oswald', sans-serif; */
    font-size: calc(23px + 23 * ((100vw - 320px) / 1440));
    line-height: 1;
}

.section-1 h3 {
    max-width: 1024px;
    margin: 1em auto;
    font-size: calc(20px + 30 * ((100vw - 320px) / 1440));
}

.section-1-p {
    max-width: 1024px;
    font-size: calc(16px + 26 * ((100vw - 320px) / 1440));
    line-height: 1.4;
    font-weight: 600;
    text-transform: uppercase;
    margin: 1.2em auto;
    text-align: center;
}

.section-1 span {
    display: block;
    margin: 0 auto;
    padding: 1em;
    text-align: center;
    font-size: 150%;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.section-1 .flex-banner {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
}

.section-1 .flex-banner>div {
    margin: 0 1em;
}

@media (max-width:767px) {
    .flex-banner {
        flex-direction: column;
    }

    .section-1 .flex-banner> :nth-child(1) {
        margin: 0 0 .5em 0;
    }

    .section-1 .flex-banner> :nth-child(2) {
        margin: .5em 0 0 0;
    }
}

.flex-banner>div,
.section-3 .flex-banner {
    width: 400px;
    max-width: 95vw;
    margin: 1em auto;
    padding: .5em;
    text-align: center;
    text-transform: uppercase;
    background: #ffa3623b;
    border-radius: .3em;
    -webkit-border-radius: .3em;
    -moz-border-radius: .3em;
    -ms-border-radius: .3em;
    -o-border-radius: .3em;
}

.banner,
.banner>div {
    opacity: 0;
    transition-duration: .9s;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

.visible,
.visible>div {
    opacity: 1 !important;
    transition-duration: .9s;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.section-2 {
    overflow: hidden;
    width: 100%;
    height: auto;
    margin: 0 auto;
    background: url(/images/fon_publika_mir_snekov.webp) rgba(0, 0, 0, .7);
    background-blend-mode: darken;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.section-2_text {
    margin: 0 auto;
    max-width: 1024px;
    padding: 1em;
    margin-bottom: 3em;
}

.section-3 {
    padding-bottom: 2em;
}

.section-3 .banner {
    display: block;
    margin: 1em auto;
    text-align: center;
    width: fit-content;
    padding: 1em 2em;
}

.section-2_text q {
    padding-left: 1em;
    border-left: 3px solid red;
}

.section-4 h2,
.section-2_text h2 {
    text-align: center;
    font-size: calc(20px + 27 * ((100vw - 320px) / 1440));
}

.section-4 {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

/* ------- */
.section-n {
    display: flex;
    align-items: center;
    max-width: 1024px;
    width: 100%;
    margin: 1em auto 0;
    padding: 1em;
}

.section-n figure {
    width: 100%;
}

.section-n figure img {
    width: 100%;
}

.left figure,
.right figure {
    text-align: center;
    border: 1px dotted #777;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
}

.left figure img,
.right figure img {
    max-width: 300px;
    height: 600px;
    opacity: .2;
}

.text {
    padding: 1em;
}

.text q {
    display: block;
    border-left: 3px solid red;
    padding-left: 1em;
}

.text i {
    font-weight: 600;
    font-size: 140%;
}

.right {
    flex-direction: row;
}

.right .text {
    border-right: 1px solid #777;
}

.left {
    flex-direction: row-reverse;
}

.left .text {
    border-left: 1px solid #777;
}

.column {
    flex-direction: column;
}

.column figure img {
    -webkit-filter: brightness(.8);
    filter: brightness(.8);
}

.column .text {
    padding: 0;
}

.column .text i {
    display: block;
    margin-top: 1em;
}

.end .text p span {
    display: block;
    font-size: calc(16px + 15 * ((100vw - 320px) / 1440));
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    margin: 0 auto;
    text-transform: uppercase;
    background: rgb(0 0 0 / 60%);
    padding: 1em;
}

.end .text i {
    margin: 0 0 .5em 0;
}

.end_figure {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 1em;
}

.end figure {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.end_figure> :nth-child(1) {
    margin-right: .5em;
}

.end_figure> :nth-child(2) {
    margin-left: .5em;
}

.end_figure figure img {
    display: block;
    width: 100%;
    aspect-ratio: auto 1024 / 656;
    height: auto;
    cursor: pointer;
    -webkit-filter: none;
    filter: none;
    transition-duration: .5s;
}

.end_figure figure img:not(.modal-content figure img):hover {
    -webkit-filter: blur(2px);
    filter: blur(2px);
    transition-duration: .5s;
}

.end_figure figure .view {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: max-content;
    background: rgb(0 0 0 / .5);
    padding: .5em 1em;
    text-align: center;
    cursor: pointer;
    pointer-events: none;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    opacity: 0;
    transition-duration: .5s;
}

.end_figure figure:hover .view {
    opacity: 1;
    transition-duration: .5s;
}

/* MAX-WIDTH:767px */

@media (max-width:767px) {
    body {
        background-attachment: scroll;
        background-size: auto;
    }

    .section-1 {
        padding: .5em;
    }

    .section-1 .section-1_text {
        padding: 1em;
    }

    .section-2 {
        background-attachment: scroll;
    }

    .section-n {
        flex-direction: column;
    }

    .section-n figure img {
        width: 100%;
        max-height: none;
    }

    .text {
        padding: 0;
    }

    .section-n .text {
        width: 100%;
        border: none;
    }

    .left figure img,
    .right figure img {
        width: 100%;
    }

    .end_figure {
        flex-direction: column;
    }

    .end_figure> :nth-child(1) {
        margin-right: 0;
        margin-bottom: .5em;
    }

    .end_figure> :nth-child(2) {
        margin-left: 0;
        margin-top: .5em;
    }

    .left figure,
    .right figure {
        width: 100%;
    }

    .left figure img,
    .right figure img {
        width: 100%;
        max-width: 100%;
    }
}

/* MODAL WINDOWS  */
/*ATmodal.css ver:3.2*/

@media (min-width:768px) {
    .html_fixed {
        overflow-y: hidden;
        padding-right: 8px;
    }
}

@media (max-width:767px) {
    .html_fixed {
        overflow-y: hidden;
    }
}

.modal {
    display: none;
    position: fixed;
    align-items: center;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / .8) url(/images/photo_ishodnye_produkty-656.webp);
    background-blend-mode: overlay;
    background-size: 250%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 100;
}

.modal-content {
    margin: 0 auto;
    padding: 1em;
    border-radius: 5px;
    animation-name: scaleA;
    animation-duration: .5s;
    z-index: 100;
}

.modal-content>div {
    width: 100%;
    height: auto;
    max-width: 1280px;
    margin: 0 auto;
    pointer-events: auto;
}

.end_figure .modal {
    margin: 0;
}

.modal-content figure img {
    height: auto;
    max-height: 95vh;
    pointer-events: auto;
    cursor: default;
}

@media (max-width:767px) {
    .modal {
        background-size: cover;
    }

    .modal-content>div {
        max-width: 98vw;
        margin: 0 auto;
        padding: .5em;
    }
}

@media (min-width:768px) {
    .modal-content>div {
        padding: 1em;
    }


}

@keyframes scaleA {
    from {
        opacity: 0;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0);
    }

    to {
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 8px;
    right: 8px;
    fill: #fff;
    pointer-events: auto !important;
    transition-duration: .3s;
    z-index: 101;
}

.close svg {
    width: 2em;
}

.close:hover,
.close:focus {
    fill: #edd78a;
    cursor: pointer;
    pointer-events: auto !important;
    transition-duration: .3s;
}

/* HEADER & TO TOP BTN  */

/* Header */
.main {
    display: block;
    margin-top: 50px;
}

.nav li {
    list-style: none;
    vertical-align: middle;
}

.nav li a {
    font-weight: 600;
    vertical-align: middle;
}

.nav li a:hover {
    color: #ffa362;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 50px;
    background-color: #000;
    box-shadow: 0 4px 12px rgb(255 255 255 / 15%);
    z-index: 10;
}

.site-header-to {
    animation-name: navSticky2;
    animation-duration: 1s;
}

.site-header-inner {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1em;
}

.sticky-header {
    position: fixed;
    top: 0;
    height: 45px;
    box-shadow: 0 4px 12px rgb(255 255 255 / 40%);
    animation-name: navSticky;
    animation-duration: 1s;
    opacity: .9;
}

@keyframes navSticky {
    from {
        opacity: 0;
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        -o-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    to {
        opacity: .9;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes navSticky2 {
    from {
        /*opacity: 0;*/
        -webkit-transform: translateY(-10%);
        -moz-transform: translateY(-10%);
        -ms-transform: translateY(-10%);
        -o-transform: translateY(-10%);
        transform: translateY(-10px);
    }

    to {
        /*opacity: .9;*/
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

.site-logo {
    height: auto;
}

.site-logo span a {
    font: inherit;
    color: #fff;
    font-size: 1.5em;
    font-weight: 600;
    line-height: 0;
    text-transform: uppercase;
}

.site-logo span a img {
    width: 100%;
    aspect-ratio: auto 170 / 29;
    height: auto;
}

.site-logo span a img:hover {
    opacity: .7;
}

@media (max-width:767px) {
    .nav {
        position: absolute;
        overflow: hidden;
        top: 100%;
        right: 0;
        width: 100%;
        height: auto;
        color: #fff;
        background-color: #000;
        box-shadow: 0 4px 12px rgb(255 255 255 / 20%);
        -webkit-transform: scaleY(0);
        -moz-transform: scaleY(0);
        -ms-transform: scaleY(0);
        -o-transform: scaleY(0);
        transform: scaleY(0);
        transform-origin: top;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -ms-transition: .3s;
        -o-transition: .3s;
        transition: .3s;
        opacity: .95;
    }

    .nav-open {
        -webkit-transform: scaleY(1);
        -moz-transform: scaleY(1);
        -ms-transform: scaleY(1);
        -o-transform: scaleY(1);
        transform: scaleY(1);
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -ms-transition: .3s;
        -o-transition: .3s;
        transition: .3s;
    }


    .nav ul {
        display: flex;
        min-height: 50vh;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: stretch;
    }

    .nav ul,
    ul li {
        margin: 0;
    }

    .nav ul li {
        padding: .7em 1em;
        text-align: center;
    }

    .nav ul li a {
        border: 2px solid #fff;
        border-radius: .4em;
        padding: 1em;
        -webkit-border-radius: .4em;
        -moz-border-radius: .4em;
        -ms-border-radius: .4em;
        -o-border-radius: .4em;
    }

    .nav-icon {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

    .nav-icon-open {
        transform: rotate(180deg);
        transition: .4s;
        transition-delay: .3s;
    }

    .nav-icon :nth-child(n) {
        position: absolute;
        display: block;
        width: 100%;
        border-bottom: #fff 4px solid;
        -webkit-transition: all .2s;
        -moz-transition: all .2s;
        -ms-transition: all .2s;
        -o-transition: all .2s;
        transition: all .2s;
    }

    .nav-icon-open :nth-child(n) {
        -webkit-transition: all .1s;
        -moz-transition: all .1s;
        -ms-transition: all .1s;
        -o-transition: all .1s;
        transition: .1s;
        animation-duration: .4s;
        animation-fill-mode: both;
    }

    @keyframes animChild1 {
        0% {
            transform: translateY(-10px);
        }

        50% {
            transform: translateY(0px);
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(45deg);
            transform-origin: center;
            -webkit-transform-origin: center;
        }
    }

    .nav-icon :nth-child(1) {
        transform: translateY(-10px);
        animation-name: animItem1;
    }

    .nav-icon-open :nth-child(1) {
        animation-name: animChild1;
    }

    .nav-icon-open :nth-child(2) {
        transform: scale(0);
        transition-delay: .2s;
    }

    @keyframes animChild2 {
        0% {
            transform: translateY(10px);
        }

        50% {
            transform: translateY(0px);
            transform: rotate(0px);
        }

        100% {
            transform: rotate(-45deg);
            transform-origin: center;
            -webkit-transform-origin: center;
        }
    }

    .nav-icon :nth-child(3) {
        transform: translateY(10px);
    }

    .nav-icon-open :nth-child(3) {
        animation-name: animChild2;
    }
}

@media (min-width:768px) {
    .nav ul {
        display: flex;
        align-items: center;
        margin: 0;
    }

    .nav ul li {
        float: left;
        margin-left: 2em;
        line-height: 1;
    }

    .nav-icon {
        display: none;
    }

    .nav li a {
        line-height: 1.5;
    }
}

/* To Top Btn */
#toTopBtn {
    display: none;
    position: fixed;
    /*justify-content: center;*/
    /*align-items: center;    */
    width: 55px;
    height: 55px;
    bottom: 25px;
    left: 25px;
    line-height: 0;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: rgb(57 57 57 / .8);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}

#toTopBtn:hover {
    background-color: rgb(90 90 90);
}

#toTopBtn span {
    display: inline-block;
}

#toTopBtn span svg {
    fill: #fff;
    width: 50%;
    vertical-align: middle;
}