@font-face {
    font-family: "Roboto-Regular";
    src: url("fonts/Roboto-Regular.ttf");
    font-weight: 400; /*Regular*/
    font-style: normal;
}

@font-face {
    font-family: "Roboto-Medium";
    src: url("fonts/Roboto-Medium.ttf");
    font-weight: 500; /*Medium*/
    font-style: normal;
}

@font-face {
    font-family: "Roboto-Bold";
    src: url("fonts/Roboto-Bold.ttf");
    font-weight: 700; /*Bold*/
    font-style: normal;
}

:root {
    --color_orange: #F5A728;
    --color_blue: #2B3A6B;
    --color_white: #FFFFFF;
    --color_black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto-Regular", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.regular {
    font-family: "Roboto-Regular", sans-serif;
    font-weight: 400;
}

.medium {
    font-family: "Roboto-Medium", sans-serif;
    font-weight: 500;
}

.bold {
    font-family: "Roboto-Bold", sans-serif;
    font-weight: 700;
}

.wrapper {
    max-width: 1045px;
    width: 100%;
}

.body {
    margin: 0 auto;
    background-image: url("images/background.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    padding-top: 24px;
    padding-left: 20px;
    display: flex;
    justify-content: flex-end;
    max-width: 1140px;
}

.head {
    background-image: url("images/Rectangle 4.png");
    background-position: center right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 7px 12px 7px 0;
    color: var(--color_white);
}

.text_side {
    padding: 48px 0 24px 0;
    color: var(--color_white);
    display: flex;
    flex-direction: column;
    row-gap: 32px;
    max-width: 416px;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 28px;
    line-height: 33px;

    nobr {
        font-size: 28px;
    }
}

h3 {
    font-size: 18px;
    line-height: 22px;
    color: var(--color_orange);

    nobr {
        font-size: 18px;
    }
}

h4 {
    font-size: 14px;
    line-height: 16px;
}

.text_block {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.button {
    background-color: var(--color_orange);
    color: var(--color_white) !important;
    border: none;
    border-radius: 4px;
    padding: 10px 36px;
    font-size: 16px;
    line-height: 19px;
	transition: .5s;
	cursor: pointer;
}
.button:hover{
	background-color: #324482;
}

.mob_img {
    display: none;
}

.down_side {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.contacts {
    max-width: 224px;
    width: 100%;
}

.contacts_mob {
    display: none;
}

.button_mob {
    display: none;
}

.menu_items {
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
    width: 100%;
    height: 102px;
}

.item {
    font-size: 12px;
    line-height: 14px;
    color: var(--color_white) !important;
    width: 100%;
    position: relative;
}

.number_item {
    background-color: var(--color_orange) !important;
    height: 40px;
    width: 40px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1;
}

.text_item {
    background-color: rgba(43, 58, 107, 0.7);
    max-width: 160px;
    height: 82px;
    width: 100%;
    padding: 27px 20px;
    font-size: 14px;
    line-height: 14px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    position: absolute;
    top: 20px;
    left: 20px;
}

.contacts_phone, .contacts_address {
    font-size: 12px;
    line-height: 16px;
    color: var(--color_white) !important;
}

.separator {
    padding: 0;
    margin: 0;
    max-width: 1140px;
    width: 100%;
}

.footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: 10px;
    font-size: 10px;
    line-height: 12px;
    color: var(--color_orange) !important;
    padding-bottom: 10px;
}

@media screen and (max-width: 900px) {
    .wrapper {
        max-width: unset;
        margin: unset !important;
    }

    .wrapper_mob_without_auto_margin {
        max-width: 536px;
        margin: 0;
    }

    .wrapper_mob {
        max-width: 536px;
        margin: 0 auto;
    }

    .body {
        background-image: url("images/background_900.png");
        padding-left: 0;
    }

    .text_side {
        max-width: unset;
    }

    h1, h2 {
        text-align: center;
    }

    h1 {
        font-size: 42px;
        line-height: 49px;
    }

    h3 {
        font-size: 16px;
        line-height: 20px;

        nobr {
            font-size: 16px;
        }
    }

    .button {
        /*display: none;*/
    }

    .mob_img {
        display: flex;
        width: 100%;
    }

    .down_side {
        flex-direction: column-reverse;
        padding-top: 16px;
    }

    .menu_items {
        flex-direction: column;
        row-gap: 66px;
        height: unset !important;
        padding: 0 52px 90px 32px;
    }

    .text_item {
        max-width: unset;
        padding: 13px 0;
        height: unset;
        font-size: 16px;
    }

    .button_mob {
        display: flex;
        background-color: var(--color_orange) !important;
        color: var(--color_white) !important;
        border: none;
        border-radius: 4px;
        padding: 10px 36px;
        font-size: 16px;
        line-height: 19px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .contacts {
        display: none;
    }

    .contacts_mob {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 32px;
    }

    .copyright {
        font-size: 10px;
    }

}

@media screen and (max-width: 600px) {
    .wrapper_mob_without_auto_margin {
        max-width: 368px;
        margin: 0;
    }

    .wrapper_mob {
        max-width: 328px;
        margin: 0 auto;
    }

    .phone, .address {
        font-size: 12px;
        line-height: 16px;
		text-decoration: none;
    }

    h1 {
        font-size: 38px;
        line-height: 40px;
    }

    h2 {
        font-size: 24px;
        line-height: 33px;

        nobr {
            font-size: 24px;
        }
    }

    .text_item {
        font-size: 12px;
    }
}

.modal {
      position: fixed;
      /* фиксированное положение */
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: rgba(0, 0, 0, 0.5);
      /* цвет фона */
      z-index: 1050;
      opacity: 0;
      /* по умолчанию модальное окно прозрачно */
      -webkit-transition: opacity 400ms ease-in;
      -moz-transition: opacity 400ms ease-in;
      transition: opacity 400ms ease-in;
      /* анимация перехода */
      pointer-events: none;
      /* элемент невидим для событий мыши */
    }

    /* при отображении модального окно */
    .modal:target {
      opacity: 1;
      pointer-events: auto;
      overflow-y: auto;
    }

    /* ширина модального окна и его отступы от экрана */
    .modal-dialog {
      position: relative;
      width: auto;
      margin: 10px;
    }

    @media (min-width: 576px) {
      .modal-dialog {
        max-width: 500px;
        margin: 30px auto;
      }
    }

    /* свойства для блока, содержащего контент модального окна */
    .modal-content {
      position: relative;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -webkit-flex-direction: column;
      -ms-flex-direction: column;
      flex-direction: column;
      background-color: #fff;
      -webkit-background-clip: padding-box;
      background-clip: padding-box;
      border: 1px solid rgba(0, 0, 0, .2);
      border-radius: .3rem;
      outline: 0;
    }

    @media (min-width: 768px) {
      .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
      }
    }

    /* свойства для заголовка модального окна */
    .modal-header {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -webkit-align-items: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-pack: justify;
      -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
      justify-content: space-between;
      padding: 15px;
      border-bottom: 1px solid #eceeef;
    }

    .modal-title {
      margin-top: 0;
      margin-bottom: 0;
      line-height: 1.5;
      font-size: 1.25rem;
      font-weight: 500;
    }

    /* свойства для кнопки "Закрыть" */
    .close {
      float: right;
      font-family: sans-serif;
      font-size: 24px;
      font-weight: 700;
      line-height: 1;
      color: #000;
      text-shadow: 0 1px 0 #fff;
      opacity: .5;
      text-decoration: none;
    }

    /* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
    .close:focus,
    .close:hover {
      color: #000;
      text-decoration: none;
      cursor: pointer;
      opacity: .75;
    }

    /* свойства для блока, содержащего основное содержимое окна */
    .modal-body {
      position: relative;
      -webkit-box-flex: 1;
      -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
      flex: 1 1 auto;
      padding: 15px;
      overflow: auto;
    }