@font-face {
    font-family: 'Isadora bold';
    src: url("../fonts/1IsadoraMBold.ttf");
}
@font-face {
    font-family: 'Rubik';
    src: url("../fonts/Rubik-Regular.ttf");
}
@font-face {
    font-family: 'Rubik SemiBold';
    src: url("../fonts/Rubik-SemiBold.ttf");
}
@font-face {
    font-family: 'Rubik Medium';
    src: url("../fonts/Rubik-Medium.ttf");
}
@font-face {
    font-family: 'Rubik Light';
    src: url("../fonts/Rubik-Light.ttf");
}

:root {
    --fs: calc(.2rem + .6vw);
}

* {
    font-family: "Rubik";
    padding: 0;
    margin: 0;
}

body {
    max-width: 100vw;
}
header {
    display: flex;
    padding: 3% 3%;
    align-items: center;
    background: #f9e7d3;
    justify-content: space-between;
}

#company {
    display: flex;
    align-items: center;
    width: 60%;
    justify-content: start;
    text-decoration: initial;
}

#company_name {
    margin-left: 35px;
    font-size: calc(var(--fs) * 1.5);
    color: black;
    text-decoration: initial;
}

#logo {
    width: 20%;
    height: 104px;
    background-image: url("../img/logo.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#company_name {
    font-family: "Isadora bold";
    margin-top: -5px;
    width: 60%;
}

#contacts {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 50%;
    box-sizing: border-box;
}
#number {
    font-family: "Rubik SemiBold";
    font-size: calc(var(--fs) * 1.5);
    letter-spacing: calc(var(--fs) * .2);
    /*all-space-treatment: 3px;*/
}
a#number {
 color: black;
 text-decoration: initial;
}
.button {
    background: #212121;
    cursor: pointer;
    border: none;
    padding: 20px 35px;
    border-radius: 50px;
    color: white;
    box-sizing: border-box;
    font-family: "Rubik SemiBold";
    font-size: calc(var(--fs) * 1.2);
}
#menu_button {
    border: none;
    background: none;
    font-size: 3rem;
    margin-left: 15px;
    cursor: pointer;
}

#first_section {
    position: relative;
    display: flex;
    background: #f9e7d3;
    overflow: hidden;
    padding: 3% 5%;
    flex-direction: column;
}
#background {
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: url("../img/1block_bg.png");
    background-size: contain;
    background-position: 15%;
    background-repeat: no-repeat;
    left: 50%;
    top: 0;
}
#banner_title {
    font-size: calc(var(--fs) * 8);
    font-family: "Rubik Light";
    width: 50%;
    line-height: calc(var(--fs) * 7.5);
}
#banner_title b {
    font-family: "Rubik SemiBold";
}
#banner_text {
    width: 50%;
    font-size: calc(var(--fs) * 2);
    margin-top: 30px;
    font-family: "Rubik Light";
    letter-spacing: calc(var(--fs) * .2);
}
#bottom_panel {
    display: flex;
    align-items: center;
    margin-top: 5%;
}
.banner_list {
    display: flex;
    justify-content: space-between;
    width: 10%;
    margin-left: 5%;
}
.banner_list_item {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: calc(var(--fs) * .25);
    transform: rotate(45deg);
    /*box-sizing: border-box;*/
}
.banner_list_item_point {
    width: calc(var(--fs) * .8);
    height: calc(var(--fs) * .8);
    /*margin-top: calc(var(--fs) * .18);*/
    /*margin-left: calc(var(--fs) * .175);*/
    background: #212121;
    border-radius: 50%;
}
.banner_list_item.active {
    border:  calc(var(--fs) * .2) solid #cbbdad;
    border-top-color: #212121;
}

#second_section, #third_section, #fourth_section, #fifth_section, #sixth_section, #seventh_section {
    position: relative;
    display: flex;
    overflow: hidden;
    padding: calc(var(--fs) * 4) 5%;
    flex-direction: column;
    box-sizing: border-box;
}
#fourth_section {
    padding-top: 0;
    box-sizing: border-box;
}

#fifth_section {
    width: 90%;
    left: 5%;
    border-radius: 35px;
    padding: calc(var(--fs) * 4) 2%;
    flex-direction: row;
    border: #b6b6b6 1px solid;
    justify-content: space-between;
    align-items: center;
    padding-left: 5%;
}

#seventh_section {
    align-items: center;
}

.title_block {
    position: relative;
    font-family: "Rubik SemiBold";
    font-size: calc(var(--fs) * 5);
    /*line-height: 120%;*/
    align-items: start;
    padding-left: 1.5ch;
    display: flex;
    padding-bottom: calc(var(--fs) * 1);
}
.title_number {
    position: absolute;
    top: .5ch;
    left: 0;
    font-size: calc(var(--fs) * 2);
    font-family: "Rubik SemiBold";
    color: #bbb;
}

#product_list {
    display: flex;
    flex-wrap: wrap;
}
.product_list_item {
    background: #f9e7d3;
    width: calc(50% - 30px);
    margin-left: 60px;
    margin-top: 60px;
    min-height: 100px;
    border-radius: 15px;
    padding: 45px 3% 20px 3%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product_list_item:nth-child(2n - 1) {
    margin-left: 0;
}
.product_list_title {
    font-size: calc(var(--fs) * 3.5);
    font-family: "Rubik SemiBold";
    width: 100%;
}
.product_list_image {
    /*width: 100%;*/
    margin-top: 35px;
    padding: 0 10%;
    max-width: 100%;
    max-height: 100%;
}

#reason_list {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 35px;
}

.reason_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 0 0;
    min-width: 250px;
    padding: 0 5%;
    box-sizing: border-box;
}
.reason_image {
    min-height: 70px;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.reason_text {
    text-align: center;
    padding: 15px 0;
    font-family: "Rubik";
    color: #212121;
    box-sizing: border-box;
}

#slider {
    width: 100%;
    height: 30%;
    min-height: calc(var(--fs) * 7);
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0 10%;
    box-sizing: border-box;
    overflow: hidden;
    margin-top: 30px;
}
#slides {
    display: flex;
    justify-content: space-between;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}
#slide_move {
    display: flex;
    justify-content: space-between;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    box-sizing: border-box;
    transform: translateX(-20%);
}
.controls {
    position: absolute;
    top: 50%;
    width: 90%;
    left: 5%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

#product {
    display: flex;
    justify-content: space-between;
    height: 100%;
    margin-top: 20px;
}
#category {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    width: 15%;
    justify-content: space-between;
    padding: 2% 0;
    box-sizing: border-box;
    margin-top: 25px;
}
.category_controls {
    position: absolute;
    left: 50%;
    width: 90%;
    top: -5%;
    display: flex;
    justify-content: space-between;
    transform: translateX(-50%);
    height: 100%;
    flex-direction: column;
}
.category_control {
    color: #212121;
    border: none;
    cursor: pointer;
    margin: -15px;
    background: none;
    font-size: calc(var(--fs) * 3);
    display: flex;
    justify-content: center;
}
#bottomBtn {
     margin-top: 15px !important;
 }
#categories_list {
    overflow: hidden;
    height: 100%;
}
#category_move {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-20%);
}
.category_item {
    min-height: 20%;
    text-align: center;
    font-size: calc(var(--fs) * 1.5);
    font-family: "Rubik Medium";
}
#bottomBtn {
    transform: rotate(180deg);
}
.slide {
    min-width: calc(20% - 30px);
    padding: 2% 3.5%;
    box-sizing: border-box;
    background: #f9e7d3;
    margin: 0 15px;
    border-radius: calc(var(--fs) * 2.5);
    display: flex;
    align-items: center;
    transition: .5s all linear;
}
.slide img {
    width: 100%;
}

#nextBtn img {
    transform: rotate(180deg);
}

.control {
    color: #212121;
    border: none;
    cursor: pointer;
    padding: 10px;
    background: none;
    font-size: 120%;
}
.slide.active {
    background: #efcba7;
}
#product {
    padding: 2% 0;
    box-sizing: border-box;
}
#product_image_block, #product_properties {
    width: 37.5%;
    min-height: 100%;
    padding: 0 2%;
    box-sizing: border-box;
}

#product_image_block {
    width: 47.5%;
    padding: 2% 0;
}
#product_image {
    height: 100%;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#category_name {
    font-family: "Rubik SemiBold";
    text-transform: uppercase;
    color: #b6b6b6;
    font-size: calc(var(--fs) * 1.5);
    letter-spacing: 2px;
}

#product_name {
    font-family: "Rubik SemiBold";
    font-size: calc(var(--fs) * 2.5);
}

.product_block {
    width: 100%;
    display: flex;
    margin-top: 15px;
    align-items: end;
}
.product_icon {
    align-self: start;
    width: 5%;
    min-height: calc(var(--fs) * 2);
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.product_property {
    font-size: calc(var(--fs) * 2);
    line-height: calc(var(--fs) * 2);
    margin-left: 15px;
}
.product_secondary {
    font-size: calc(var(--fs) * 1.2);
    color: #a6a6a6;
    margin-left: 5px;
}

#product_opinion {
    margin-top: 15px;
    font-size: calc(var(--fs) * 1.2);
    line-height: calc(var(--fs) * 1.7);
    color: #666;
    min-height: calc(var(--fs) * 5.1);
    max-width: 80%;
}
#product_panel {
    display: flex;
    width: 80%;
    margin-top: 30px;
    justify-content: space-between;
    align-items: center;
}
#product_cost {
    font-size: calc(var(--fs) * 3);
    font-family: "Rubik Light";
}

#order_button {
    cursor: pointer;
    background: #212121;
    border-radius: 50px;
    padding: 5% 12%;
    font-size: calc(var(--fs) * 1.4);
    border: none;
    color: #fff;
    font-family: "Rubik Medium";
    box-sizing: border-box;
}

#fifth_section .left {
    width: 75%;
}

#fifth_section .right {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#order_button2 {
    width: calc(var(--fs) * 17);
    height: calc(var(--fs) * 17);
    border-radius: 50%;
    border: none;
    background: #ffc321;
    font-size: calc(var(--fs) * 1.2);
    font-family: "Rubik Medium";
    cursor: pointer;
}

#order_text {
    padding-left: calc(var(--fs) * 5);
    color: #666;
    font-size: calc(var(--fs) * 1.7);
    line-height: calc(var(--fs) * 2);
    max-width: 90%;
    font-family: "Rubik Light";
}

#proizv_content {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#sixth_section .left {
    width: calc(70% - 15px);
    padding: 120px 2%;
    border: 1px solid #b6b6b6;
    box-sizing: border-box;
    border-radius: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#sixth_section .right {
    width: calc(30% - 15px);
    padding: 2% 2%;
    border: 1px solid #b6b6b6;
    box-sizing: border-box;
    border-radius: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.button_6section {
    position: absolute;
    top: 7.5%;
    max-height: 70px;
    height: 45%;
    padding: 10px 45px;
    box-sizing: border-box;
    background: #212121;
    border: none;
    color: #fff;
    border-radius: 50px;
    font-size: calc(var(--fs) * 1.2);
    font-family: "Rubik Medium";
}
#proizv_title {
    font-size: calc(var(--fs) * 2.5);
    font-family: "Rubik SemiBold";
}
#proizv_text {
    color: #666;
    font-size: calc(var(--fs) * 1.7);
    line-height: calc(var(--fs) * 2.5);
    width: 90%;
    margin-top: 15px;
}

#seventh_section form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

label {
    font-size: calc(var(--fs) * 2);
    margin-top: -15px;
    color: #999;
}

input[type=email] {
    width: 80%;
    padding: 20px 15px;
    text-align: center;
    border: 1px solid #a6a6a6;
    border-radius: 15px;
    font-size: calc(var(--fs) * 2.2);
    color: #666;
    margin-top: 25px;
}
input:focus {
    outline: 1px solid #666666;
}

.agreement {
    font-size: var(--fs);
    line-height: 14px;
    margin-left: 10px;
    color: #666666;
}
.agreement b {
    color: #212121;
}
input[type=checkbox] {
    height: var(--fs);
    width: var(--fs);
}

input[type="checkbox"]:checked {
    background-color: #212121;
}


#reply {
    width: calc(var(--fs) * 20);
    height: calc(var(--fs) * 20);
    border-radius: 50%;
    border: none;
    background: #212121;
    color: white;
    margin-top: 35px;
    font-size: calc(var(--fs) * 1.2);
    font-family: "Rubik Medium";
    cursor: pointer;
}

footer {
    padding: calc(var(--fs) * 4) 5%;
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    flex-wrap: wrap;
}

.foo_block {
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 2% 2%;
    box-sizing: border-box;
}

.foo_block:first-child {
    width: 16%;
    padding: 0;
}

#foo_logo {
    width: 100%;
    min-height: calc(var(--fs) * 10);
    background-image: url("../img/logo.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.foo_title {
    font-family: "Rubik Medium";
    color: #c9c9c9;
    display: flex;
    align-items: center;
}

.foo_icon {
    height: calc(var(--fs) * 1.5);
    width: calc(var(--fs) * 1.5);
    background-size: contain;
    background-position: center left;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.foo_text {
    font-size: calc(var(--fs) * 1.5);
    line-height: calc(var(--fs) * 2.2);
    margin-top: 10px;
}
a.foo_text {
    color: black;
    text-decoration: initial;
}

#contact_us {
    background: #212121;
    color: white;
    padding: 20px 25px;
    border: none;
    border-radius: 50px;
    font-family: "Rubik Medium";
    font-size: calc(var(--fs) * 1.2);
    cursor: pointer;
}
#bottom {
    box-sizing: border-box;
    padding: 0 5% 10px 5%;
}
.panel {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #b6b6b6;
    box-sizing: border-box;
    padding: 10px 0;
}
#bottom div * {
    color: #999999;
}
@media (max-width: 986px){
    #first_section {
        flex-direction: column;
    }
    #background {
    }
    #product_list {
        flex-direction: column;
    }
    .product_list_item {
        margin-left: 0;
        width: 100%;
    }
    #reason_list {
        margin-top: 25px;
    }
    .reason_item {
        margin-top: 15px;
    }
    .reason_image {
        min-height: 100px;
    }
    .reason_text {
        height: 30%;
        padding: 15px 15px;
        /*font-size: 110%;*/
    }
    .agreement {
         font-size: calc(var(--fs) * 1.5);
         color: #212121;
     }
    input[type=checkbox] {
        height: calc(var(--fs) * 1.5);
        width: calc(var(--fs) * 1.5);
    }
    .foo_block {
        /*align-items: center;*/
        width: 33%;
    }
    .foo_block:first-child {
        width: 33%;
        align-items: center;
        background-position: center;
    }
    #foo_logo {
        background-position: 40%;
    }
    footer {
        justify-content: center;
    }
    .button_6section {
        height: 10%;
        padding: 10px 24px;
    }
    #sixth_section .left {
        width: 100%;
    }
    #sixth_section .right {
        width: 100%;
        display: flex;
        align-items: center;
        margin-top: 15px;
    }
    #proizv_content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #sixth_section .right img{
        width: 40%;
        max-height: 40vh;
    }
    #document_button {
        left: 15px;
    }
    .category_control {
        margin: 0;
        height: 7%;
    }
    #bottomBtn {
        margin: 0 !important;
    }
    .category_controls {
        width: 30%;
    }
    .category_controls * img {
        width: 100%;
        height: 100%;
    }
}

.header-overlay {
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100vh;
    right: -100%;
    cursor: pointer;
    top: 0%;
    background-color: rgba(0, 0, 0, 0.65);
}

.header-overlay__active {
    right: 0;
}
.header-nav {
    list-style: none;
    padding-left: 0;
    display: flex;
    align-items: center;
    grid-gap: 46px;
}
.header-nav {
    transform: translateX(100%);
    transition: 0.5s all;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    width: auto;
    top: 0px;
    width: 70%;
    max-width: 350px;
    grid-gap: 10px;
    height: 100%;
    justify-content: flex-start;
    padding: 24px;
    padding-right: 70px;
    padding-top: 30px;
    background-color: white;
    z-index: 4;
}
.show {
    transform: translateX(0%);
    display: flex;
    z-index: 4;
}
.header-nav__link {
    font-size: 16px;
    color: rgb(0, 0, 0);
    line-height: 1.2;
    font-weight: 400;
    transition: 0.3s all;
    text-decoration: initial;
}
.header-nav__link:hover {
    text-decoration: underline;
    transition: 0.2s all;
}
.header-close {
    display: inline-block;
    position: absolute;
    top: 15px;
    right: 20px;
    width: 20px;
    cursor: pointer;
}