:root{
    --black: #000000;
    --main_bg: #171717;
    --btn_gray: #333335;
    --btn_red: #8e001f;
    --card_bg: #c4c4c4;
    --stroke: #86868B;

    --white_head: #f6f6f6;
    --white: #ffffff;
    --input_bg: #EDF5F4;
    --blue: #2f65fd;
    --gray: #707070;
    --light_blue: rgb(123, 170, 190);
    --gray_blue: #596577;
    --link: #2f65fd;
    --link_hover: #6990ff;
    --radius035: 0.35rem;
    --page_width: 1200px;
    --yellow: #E8CC54;
    --error: #ff2c2c;
    --no_gradient: rgba(128, 128, 128, 0.5);

    --button_radius: 23px;
    --window_radius: 18px;
    --input_radius: 6px;

    --border: 2px solid #86868B;
}

@font-face{
    font-family: 'Gilroy';
    src: local('Gilroy'),
    url('../fonts/Gilroy-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face{
    font-family: 'Gilroy';
    src: local('Gilroy'),
    url('../fonts/Gilroy-SemiBold.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face{
    font-family: 'Gilroy';
    src: local('Gilroy'),
    url('../fonts/Gilroy-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

*{
    box-sizing: border-box;
    font-family: 'Gilroy', sans-serif;
    margin: 0;
    border: 0;
    outline: none;
    font-weight: 400;
    font-size: 16px;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    border: 0;
}

html {
    position: relative;
    min-height: 100vh;
    font-size: 16px;
}

body {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: var(--main_bg);
    color: var(--white);
    scroll-behavior: smooth;
}

img{
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: inherit;
}

img{
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: inherit;
}

button, .button{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    white-space: nowrap;
    word-break: keep-all;
    padding: 0.9rem 2rem;
    min-width: 215px;
    border-radius: var(--button_radius);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 150ms ease;
}

button:hover, .button:hover{
    filter: brightness(1.1);
}

form{
    position: relative;
}

input[type="text"], input[type="password"], input[type="number"], input[type="email"], select{
    line-height: 2.66rem;
    height: 2.66rem;
    /*width: 100%;*/
    max-width: 700px;
    background-color: var(--input_bg);
    color: var(--black);
    border: none;
    border-radius: var(--input_radius);
    margin: 1rem 0;
    padding: 0 0.6rem;
    outline: none;
}

input[type="text"].margin0, input[type="number"].margin0, input[type="number"].margin0, input[type="email"].margin0, select.margin0{
    margin: 0;
}

input[type="checkbox"]{
    cursor: pointer;
}

label{
    font-size: 13px;
    cursor: pointer;
}

h1, .h1{
    font-size: 70px;
    line-height: 1;
}

h2, .h2{
    font-size: 50px;
}

h3, .h3{
    font-size: 40px;
}

a{
    color: var(--white);
    text-decoration: none;
    transition: color 0.1s ease;
    cursor: pointer;
}

a:active{
    text-decoration: underline;
}

a:visited{
    color: var(--white);
}

a:hover{
    text-decoration: underline;
}

.btn_white{
    background-color: var(--white);
    border: 1px solid var(--black);
}

.btn_blue{
    background-color: var(--blue);
    color: var(--white);
}

.btn_red{
    background-color: var(--btn_red);
    color: var(--white);
}

.btn_black{
    background-color: var(--black);
    color: var(--white);
}

.btn_gray{
    background-color: var(--gray);
    color: var(--white);
}

.btn_wide{
    min-width: 220px;
}

.bg_black{
    background-color: var(--black);
    color: var(--white);
}

.bg_white{
    background-color: var(--white);
    color: var(--black);
}

.bg_white_head{
    background-color: var(--white_head);
    color: var(--black);
}

.bg_gray{
    background-color: var(--gray);
    color: var(--white);
}

.bg_light_blue{
    background-color: var(--main_bg);
    color: var(--white);
}

.bg_gray_blue{
    background-color: var(--gray_blue);
    color: var(--white);
}

.bg_blue{
    background-color: var(--blue);
    color: var(--white);
}

.width100{
    width: 100%;
}

.w100{
    width: 100%;
}

.width50{
    width: 50%;
}

.relative{
    position: relative;
}

.margin0auto{
    margin: 0 auto;
}

.center_text{
    text-align: center;
}

.padding_vert2rem{
    padding: 4rem 0;
}
.padding_2rem{
    padding: 4rem 0;
}

.padding_vert4rem{
    padding: 4rem 0;
}

/* flex */

.flex{
    display: flex;
}

.flex_row{
    flex-direction: row;
}

.flex_column{
    flex-direction: column;
}

.justify_content_center{
    justify-content: center;
}

.align_items_center{
    align-items: center;
}

/* flex end */

.breadcrumbs {
    margin: 1.5rem 0 4.5rem;
    padding-left: 5rem;
}

.breadcrumbs__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs__item {
    display: inline-block;
}

.breadcrumbs__item:not(:last-child)::after {
    display: inline-block;
    width: .6rem;
    height: 1rem;
    margin: 0 .7em;
    background-image: url(/img/breadcrumbs_arrow.svg);
    content: "";
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.breadcrumbs__link {
    padding: 1.5rem 0;
    font-weight: 600;
    font-size: 1.4rem;
}

.breadcrumbs__link--current, .breadcrumbs__link:active {
    opacity: .55;
}

.breadcrumbs__name{
    margin: 0;
}

/* checkbox + label */

.custom-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

/* для элемента label, связанного с .custom-checkbox */
.custom-checkbox+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
}

/* создание в label псевдоэлемента before со следующими стилями */
.custom-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #ffffff;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

/* стили при наведении курсора на checkbox */
.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
    border-color: #ffffff;
}

/* стили для активного чекбокса (при нажатии на него) */
.custom-checkbox:not(:disabled):active+label::before {
    background-color: rgba(255, 255, 255, 0);
    border-color: #ffffff;
}

/* стили для чекбокса, находящегося в фокусе */
.custom-checkbox:focus+label::before {
    /*box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);*/
}

/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.custom-checkbox:focus:not(:checked)+label::before {
    border-color: #ffffff;
}

/* стили для чекбокса, находящегося в состоянии checked */
.custom-checkbox:checked+label::before {
    border-color: #ffffff;
    background-color: rgba(11, 118, 239, 0);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* стили для чекбокса, находящегося в состоянии disabled */
.custom-checkbox:disabled+label::before {
    background-color: #6f6f6f;
}

/* div в котором чекбокс и label */
.checkbox{
    margin: 1rem 0;
}

/* end checkbox + label */

/* modal */

.hidden_div{
    margin: 0;
    padding: 0;
    outline: none;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden;
}

.overlay_div{
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    /*cursor: pointer;*/
    z-index: 9999;
}

.modal_div{
    position: relative;
    max-width: 420px;
    width: 100%;
    max-height: 100vh;
    /*min-height: 400px;*/
    overflow-y: auto;
    padding: 2rem;
    margin: 0.5rem;
    color: var(--white);
    background-color: var(--no_gradient);
    background: radial-gradient(148.27% 162.3% at 15.08% -36.41%, rgba(255, 255, 255, 0.5) 0%, rgba(4, 4, 4, 0) 100%);
    /*background: radial-gradient(148.27% 162.3% at 15.08% -36.41%, rgba(255, 255, 255, 0.5) 0%, rgba(18, 102, 102, 0.51) 100%);*/
    border: var(--border);
    border-radius: var(--window_radius);
    /*box-shadow: 0 5px 15px #aaa;*/
    transform: translateY(100%);
    transform-origin: left top;
    -webkit-transform: translateY(100%);
    -webkit-transform-origin: left top;
    opacity: 0;
    /*transition: 200ms ease;*/
    will-change: transform, opacity;
    cursor: initial;
}

.modal_active{
    transform-origin: left top;
    -webkit-transform-origin: left top;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    opacity: 1;
    animation: 0.3s ease show_popup;
}

.modal_hide{
    animation: 0.3s ease hide_popup;
}

.spinner_div{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.7);
}

.spinner_img{
    width: 120px;
}

.modal_title, .thanks_title{
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.thanks_title{
    text-align: center;
    margin: 2rem 0;
}

.thanks_text{
    font-size: 1.2rem;
    margin: 0 0 2rem 0;
    text-align: center;
}

.modal_form{
    position: relative;
    width: 100%;
}

.close_btn{
    position: absolute;
    right: 10px;
    top: 10px;
    width: 18px;
    height: 18px;
}

.close_button{
    display: block;
    filter: invert();
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.error_div{
    color: #fff;
    background-color: var(--error);
    padding: 1rem;
}

.error{
    background-color: #fda6a6 !important;
}

.label_error{
    color: #fda6a6 !important;
}

@keyframes show_popup {
    from {
        transform: translateY(100%);
        -webkit-transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        -webkit-transform: translateY(0);
        opacity: 1;
    }
}

@keyframes hide_popup {
    from {
        transform: translateY(0);
        -webkit-transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        -webkit-transform: translateY(100%);
        opacity: 0;
    }
}

/* end modal */

.phone{
    white-space: nowrap;
    word-break: keep-all;
}

/* OTHER STYLES */

.app{
    position: relative;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--main_bg);
    color: var(--white);
}

.header {
    position: fixed;
    display: flex;
    width: 100%;
    min-height: 38px;
    border-bottom: var(--border);
    top: 0;
    z-index: 10;
    background-color: var(--main_bg);
}

.header_flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.content {
    display: flex;
    position: relative;
    width: 100%;
    flex: 1;
    flex-direction: column;
}

.footer {
    width: 100%;
    position: relative;
    display: flex;
    min-height: 38px;
}

section{
    position: relative;
    width: 100%;
}

.section_inner{
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 1212px;
}

.header_addresses{
    display: flex;
    justify-content: space-between;
}

.header_item{
    display: flex;
    flex-direction: column;
    margin-right: 2rem;
}

.addr_title{
    font-size: inherit;
}
.addr_hide{
    font-size: inherit;
}

.text_bold{
    font-weight: 600;
}

.mi01{
    padding: 4rem 0;
}

.wide_img_round{
    display: block;
    border-radius: 44px;
    overflow: hidden;
    width: 100%;
}

.text_gray{
    color: var(--stroke);
}

.text25{
    font-size: 25px;
}

.top2rem{
    margin-top: 2rem;
}

.padding6hor{
    padding-right: 6rem;
    padding-left: 6rem;
}

.span_div1, .span_div2{
    display: block;
}

.text_left{
    text-align: left;
}

.brands_container, .route_container{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    margin-top: 4rem;
}
.route_container{
    margin-top: 3rem;
}

.brand_item, .route_item{
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 31%;
    width: 100%;
}
.route_item{
    font-size: 25px;
}

.brand_name{
    font-size: 40px;
    text-align: center;
    margin-bottom: 2rem;
}

.brand_img{
    display: block;
    width: 100%;
}

.brand_text{
    text-align: left;
    padding: 2rem 0;
    flex: 1;
}

.brand_price{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    border-top: var(--border);
    border-bottom: var(--border);
}

.div40_underline{
    margin-top: 4rem;
    text-align: left;
    font-size: 40px;
    padding-bottom: 1rem;
    border-bottom: var(--border);
}

.button_container{
    margin: 4rem auto 2rem;
}

.big_btn{
    padding: 1.1rem 3rem !important;
    border-radius: 50px !important;
    font-size: 25px;
    text-transform: none;
}

.text20days_container{
    max-height: 250px;
    overflow-y: visible;
}

.text20days{
    text-align: left;
    max-width: 590px;
    width: 100%;
}

.ny_descr_div{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
}

.ny_img_container{
    max-width: 820px;
    width: 100%;
}

.addresses_container{
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
}

.address_item{
    background-color: var(--main_bg);
    display: block;
    text-align: left;
    width: 22%;
    transition: transform 140ms ease;
}
.address_item:hover{
    filter: brightness(1.1);
    transform: scale(1.03);
}

.addr_logo_div{
    background-color: var(--card_bg);
    background-image: url("/img/logos01.png");
    background-position: 50%;
    background-repeat: no-repeat;
    min-height: 100px;
}

.last_div{
    position: relative;
    margin-top: 4rem;
}

.last_flex{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.last_head{
    max-width: 960px;
    width: 100%;
}

.first_section{
    margin-top: 110px;
}

@media (max-width: 1230px){
    .content {
        padding: 0 1rem;
    }
    .header_flex{
        padding: 1rem 1rem;
        max-width: initial;
        width: 100%;
    }
    .padding_2rem{
        padding: 0;
    }
    .last_div{
        margin-top: 0;
        margin-bottom: 4rem;
    }
    .bg_black{
        background-color: var(--main_bg);
    }
}

@media (max-width: 1100px){
    .header_item{
        font-size: 14px;
    }
    .first_section{
        margin-top: 90px;
    }
    h1, .h1 {
        font-size: 60px;
        line-height: 1;
    }
    .text25 {
        font-size: 20px;
    }
    .route_item {
        font-size: 20px;
    }
    .big_btn {
        font-size: 20px;
    }
}

@media (max-width: 1020px){
    .addr_hide{
        display: none !important;
    }
    .header_addresses{
        position: relative;
        flex-direction: column;
        max-width: 240px;
        width: 100%;
    }
    .header_item{
        flex-direction: row;
        margin-right: 0;
        width: 100%;
        justify-content: space-between;
    }

    h1, .h1 {
        font-size: 50px;
        line-height: 1;
    }
    h2, .h2 {
        font-size: 40px;
    }
    .brand_name{
        font-size: 35px;
    }
    .text25 {
        font-size: 18px;
    }
    .route_item {
        font-size: 18px;
    }
    .big_btn {
        font-size: 18px;
    }
    .text20days {
        text-align: center;
        max-width: 100%;
        width: 100%;
        margin-bottom: 4rem;
        margin-top: 4rem;
    }
    .ny_descr_div{
        flex-direction: column;
        align-items: center;
    }
    .to_order{
        margin-top: 4rem;
        order: 2;
    }
    .ny_img_container{
        order: 1;
        max-width: 100%;
    }
    .padding6hor{
        padding-right: 2rem;
        padding-left: 2rem;
    }
    .padding_vert2rem{
        padding-bottom: 0;
    }
    .div40_underline{
        margin-top: 2rem;
    }
    .last_div{
        margin-top: 2rem;
    }
}

@media (max-width: 900px){
    .addresses_container{
        flex-direction: column;
        max-width: 400px;
        width: 100%;
        margin: 4rem auto 0 auto;
    }
    .address_item{
        width: 100%;
        margin-bottom: 2rem;
    }
    .span_div2{
        display: inline;
    }
    .brands_container{
        flex-direction: column;
        max-width: 305px;
        width: 100%;
        margin: 2rem auto 0 auto;
    }
    .brand_item{
        max-width: 305px;
        margin-bottom: 2rem;
    }

    .route_container{
        flex-direction: column;
        margin-top: 1rem;
    }
    .route_item{
        text-align: left;
        max-width: 100%;
    }
    h1, .h1 {
        font-size: 40px;
        line-height: 1;
    }
    h2, .h2 {
        font-size: 34px;
    }
    .div40_underline{
        font-size: 30px;
    }
}

@media (max-width: 640px){
    .header_addresses{
        display: none;
    }
    .first_section{
        margin-top: 70px;
    }
    .header_flex{
        justify-content: center;
    }
    .button_container {
        margin: 2rem auto 1rem;
    }
    .wide_img_round{
        border-radius: 10px;
    }
}

@media (max-width: 570px){
    h1, .h1 {
        font-size: 30px;
        line-height: 1;
    }
    h2, .h2 {
        font-size: 24px;
    }
    .brand_name{
        font-size: 27px;
    }
    .padding6hor {
        padding-right: 0;
        padding-left: 0;
    }
    .last_flex{
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 400px) {
    .brands_container {
        max-width: 100%;
    }
    .brand_item {
        max-width: 100%;
    }
    .brand_price {
        font-size: 23px !important;
    }
}