@media screen and (max-width: 1439px) {
  .cart_item_3 {
    width: 216px;
    height: 250px;
    top: 0;
  }

  .cart_item_4 {
    width: 422px;
    height: 491px;
    margin-top: 120px;
    margin-left: 234px;
    margin-right: 84px;
  }

  .cart_item_5 {
    width: 360px;
    height: 416px;
    top: 0px;
    position: relative;
  }

  .cart_item_6 {
    margin-left: 140px;
  }
}

@media screen and (max-width: 1199px) {
  .cart_item_1 {
    width: 220px;
    height: auto;
    margin-right: 41px;
    margin-left: 0px;
  }

  .cart_item_2 {
    width: 220px;
    height: auto;
    margin-right: 90px;
    margin-left: 0px;
  }

  .cart_item_2 a {
    transform: rotate(0deg);
  }

  .cart_item_3 {
    width: 220px;
    height: auto;
    margin-right: 0px;
    margin-left: 0px;
  }

  .cart_item_4 {
    width: 220px;
    height: auto;
    margin-right: 50px;
    margin-left: 0px;
  }

  .cart_item_5 {
    width: 220px;
    height: auto;
    margin-right: 50px;
    margin-left: 0px;
  }

  .cart_item_6 {
    width: 220px;
    height: auto;
    margin-right: 0px;
    margin-left: 0px;
  }

  .bg_stars {
    height: auto;
    padding-bottom: 600px;
  }
}

@media screen and (max-width: 991px) {
  .carts {
    display: none;
  }
  .success_pp h3 {
    font-size: 42px;
    line-height: 50px;
  }
  .step-second .arrow,
  .step-first .arrow,
  .step-third .arrow,
  .step-fourth .arrow {
    display: none;
  }

  .footer_item a {
    font-size: 24px;
  }
  .mobile_carts {
    display: block;
  }
  .cart_carousel .item img {
    width: 246px;
    margin: 0 auto;
  }
  .popup_content {
    position: relative;
    width: 600px;
  }

}
@media screen and (max-width: 768px) {
  .footer_item {
    max-width: 290px;
    margin: 0 auto 36px;
  }
  .footer_item.end {
    float: inherit;
  }
  .success_pp .btn_success {
    width: 240px;
    font-size: 20px;
  }
  .footer_item {
    margin: 0 auto;
    width: auto;
  }
  .popup_content {
    position: relative;
    width: 400px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .popup_cart {
    margin: 0 auto;
    width: 360px;
  }

  .side_bar {
    padding: 37px 30px;
    width: 300px;
    background: #00244b;
    height: 100vh;
    position: fixed;
    right: -300px;
    top: 0;
    margin: 0;
    z-index: 999;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .side_bar_menu li a {
    list-style: none;
    font-family: Arno Pro;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 22px;
    color: #e9a849;
  }
  .side_bar.active {
    right: 0;
    transition: all 0.3s;
  }
  .close_this span,
  .back_to span {
    font-size: 12px;
    line-height: 14px;
  }
  .close_this {
    top: 12px;
    right: 7px;
  }
  .back_to {
    top: 12px;
    left: 7px;
  }
  .close_this img {
    width: 13px;
  }
  .back_to img {
    width: 15px;
  }
  .item span{
    font-family: Arno Pro;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    display: block;
    width: 246px;
    margin: 10px auto;
    color: #FFFFFF;
  }
}
@media screen and (max-width: 425px) {
  .navbar_item.lang_mobile{
    display: block;
  }
  * {
    box-sizing: border-box;
  }
  .arrow_mini {
    display: block;
  }
  .step-third .arrow {
    display: block;
  }
  .step {
    margin-bottom: 24px;
    width: 220px;
    margin-left: auto;
    margin-right: auto;
  }
  .step_title {
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
  }
  .step-third .arrow {
    position: absolute;
    bottom: -72px;
    right: -14px;
    width: 112px;
    transform: rotate(7deg);
  }
  .step-first .arrow_mini {
    position: absolute;
    bottom: -75px;
    right: -14px;
    width: 32px;
    transform: rotate(0deg);
  }
  .step-second .arrow_mini {
    position: absolute;
    bottom: -42px;
    left: -35px;
    width: 25px;
    transform: rotate(7deg);
  }
  .step p {
    font-size: 18px;
    line-height: 22px;
  }
  footer p {
    font-weight: normal;
    font-size: 18px;
    line-height: 22px;
  }
  #form .form-group {
    margin-bottom: 5px !important;
  }
  .bg_red .form-control::placeholder {
    font-size: 14px;
    line-height: 17px;
  }
  .success_pp {
    justify-content: center;
  }
  .success_pp img {
    display: none;
  }
  .success_pp {
    padding: 60px;
    height: 100vh;
  }
  .success_pp h3 {
    font-size: 24px;
    line-height: 26px;
    margin-bottom: 24px;
  }

  .success_pp {
    background: url(../images/mobile_pp_bg.png) no-repeat center;
    background-size: cover;
  }
  .mobile_pp .close_link {
    display: flex;
    font-size: 12px;
    line-height: 14px;
    color: #ffffff;
  }
  .success_pp .btn_success {
    width: 143px;
    height: 23px;
    font-size: 12px;
    line-height: 5px;
  }
  .success_pp p a {
    font-size: 12px;
    line-height: 22px;
  }
  .success_pp p, .success_pp p span {
    font-size: 12px;
    line-height: 22px;
  }
  .bg_red label {
    font-size: 12px;
    line-height: 14px;
  }
  .m_none {
    display: none;
  }
  .m_block {
    display: block;
  }
  footer p {
    margin-bottom: 15px;
  }
  .popup_cart button.btn {
    margin-top: 24px;
    padding: 14px 0px;
    font-size: 18px;
    line-height: 8px;
  }
  .bg_red {
    padding: 32px 16px 32px;
    background: #b61616;
  }
  .popup_content {
    position: relative;
    width: 326px;
  }
  .popup_content.mobile_pp {
    position: relative;
    width: 100%;
  }
  .popup_cart {
    margin: 0 auto;
    width: 246px;
  }
  .img_block {
    width: 100%;
  }
  .navbar_item.lang {
    display: none;
  }

  .navbar_logo {
    width: 104px;
  }

  .btn_menu {
    width: 23px;
    height: 30px;
    display: flex;
    align-items: center;
  }
  .navbar{
    padding-right: 20px;
    padding-left: 20px;
  }
  .btn_menu_line {
    position: relative;
    width: 23px;
    height: 2px;
    background: #e4ad4b;
  }

  .btn_menu_line:before {
    content: "";
    width: 23px;
    height: 2px;
    background: #e4ad4b;
    position: absolute;
    top: 8px;
  }

  .btn_menu_line:after {
    content: "";
    width: 23px;
    height: 2px;
    background: #e4ad4b;
    position: absolute;
    top: -8px;
  }

  .banner_left h2 {
    font-size: 32px;
    line-height: 38px;
    max-width: 300px;
    margin-bottom: 26px;
  }

  .banner {
    background-position: top;
    background-size: auto;
    height: inherit;
    margin-top: 52px;
  }

  .banner_left img {
    margin: 20px auto 26px;
    width: 58px;
    display: block;
  }

  .banner_right img {
    height: 320px;
    object-fit: cover;
  }

  body {
    padding-top: 30px;
  }

  .title_section h3 {
    font-size: 30px;
    line-height: 36px;
    text-align: center;
    max-width: 220px;
  }

  .title_section {
    margin-top: 88px;
  }

  .steps {
    margin-top: 30px;
    margin-bottom: 0px;
  }

  .step-second,
  .step-fourth {
    float: inherit;
  }

  .footer_item {
    text-align: center;
  }
  .footer_item span {
    font-size: 18px;
    line-height: 22px;
  }
  .footer_item_3 {
    margin-bottom: 40px;
    margin-top: 30px;
  }
  .footer_item_3 {
    font-size: 14px;
    line-height: 17px;
  }
  .footer_item {
    max-width: 290px;
    margin: 0 auto 36px;
  }

  .footer_item a {
    font-size: 22px;
    line-height: 26px;
  }
  .footer_item a.conf {
    font-size: 14px;
    line-height: 17px;
  }

  footer {
    margin-top: -500px !important;
    height: auto;
    padding-bottom: 90px;
    background: url(../images/m_footer.png) no-repeat bottom;
  }

  .bg_stars {
    height: auto;
    padding-top: 30px;
  }

  .cart_carousel .item img {
    width: 246px;
    margin: 0 auto;
  }
  .bg_red .form-control {
    font-size: 14px;
    line-height: 17px;
  }
  .change_color .form_btn {
    font-size: 10px;
    line-height: 12px;
    padding: 4px 0 8px;
  }
  .bg_red .form-group span {
    font-size: 12px;
    line-height: 14px;
  }
  .popup_link_box .form-control {
    width: 243px;
    height: 26px;
    font-size: 15px;
    line-height: 18px;
  }
  .popup_link {
    margin: 20px 0;
  }
  .popup_link_title {
    font-size: 15px;
    line-height: 19px;
  }
  .popup_link_box {
    margin-top: 24px;
  }
  .popup_link_box button.btn {
    padding: 5px 20px;
    margin-top: 10px;
    font-size: 15px;
    line-height: 18px;
    width: auto;
    height: 24px;
  }
  .popup_link_back {
    margin-top: 24px;
    font-size: 15px;
    line-height: 17px;
  }
  .popup_link_info {
    margin-top: 10px;
    font-size: 11px;
    line-height: 13px;
  }

  .postcard img {
    width: 163px;
    height: 35.24px;
  }
  .bg_red.form_2.pre_final {
    padding: 14px 28px;
  }
  .text_to {
    height: 38px;
  }
  .text_text {
    height: 48px;
  }
  .text_from {
    height: 22px;
    min-height: 22px !important;
  }
  .change_color {
    margin-top: 12px;
  }
  .form_2 {
    padding: 7px 12px 15px 12px !important;
  }
  .postcard_name {
    padding-top: 7px;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 15px;
  }
  .postcard_body {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 17px;
  }
  .error_text{
    font-size: 11px;
    line-height: 22px;
  }
  .item span{
    font-family: Arno Pro;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    display: block;
    width: 246px;
    margin: 10px auto;
    color: #FFFFFF;
  }
}
