/* @media (max-width: 1900px) {
  .footer_up_side > a img {
    height: 60px;
  }
} */
@media (max-width: 1450px) {
  /* nav {
    gap: 0;
  } */
  .nav_top .container {
    justify-content: space-between;
  }
  /* .nav_middle {
    padding-top: 20px;
  } */

  header {
    background-position: 80% 50%;
  }

  header .container {
    justify-content: flex-start;
    gap: 80px;
  }
  .header_text h1 {
    font-size: 1.4rem;
  }
  .header_text {
    width: 40%;
  }
  .header_text p {
    font-size: 10px;
    font-weight: 200;
  }
  .header_text a {
    font-size: 12px;
    padding: 10px;
  }
  .header_image img {
    height: 350px;
    width: 350px;
  }

  .about_services_left img,
  .about_services_right img {
    height: 30px;
    width: 30px;
  }
  .about_services_left p,
  .about_services_right p {
    font-size: 12px;
  }
  h2 {
    font-size: 1.1rem;
  }

  .laws_cart_second_section h3 {
    font-size: 12px;
  }
  .law_cart_text p {
    font-size: 12px;
  }
  .law_cart_text a {
    font-size: 12px;
  }
  .section_second_carts {
    gap: 50px;
  }
  .section_threth_items img {
    height: 100px;
    width: 100px;
  }

  /* .footer_up_side > a img {
    height: 45px;
  } */

  .footer_up_right {
    gap: 20px;
  }
  .footer_up_right h3 {
    font-size: 16px;
  }
  .footer_up_right .footer_contacts {
    gap: 20px;
  }
  .footer_up_right p img {
    height: 16px;
  }
  .footer_up_right p {
    font-size: 10px;
  }
  .footer_down_side p {
    font-size: 12px;
  }

  .our_team_header {
    background-position: 450px 50%;
  }
  .our_team_head_text h1 {
    font-size: 1.5rem;
  }
  .our_team_head_text p {
    font-size: 14px;
  }
  .our_team_header_leader h3 {
    font-size: 17px;
  }

  .hashv_header {
    height: 520px;
  }
}

@media (max-width: 1280px) {
  .section_our_tean .section_our_tean_persons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .our_team_header {
    background-position: 350px 50%;
  }
  /* .person {
    width: 30%;
  } */

  .karyera_job {
    flex-direction: column;
  }
  .karyera_job img {
    object-fit: cover;
  }
}

@media (max-width: 950px) {
  header {
    background-position: 200px;
  }
  .about_services {
    gap: 20px;
  }
  .section_second_carts {
    gap: 20px;
  }

  .about_us_header {
    background-position: -300px center;
  }

  .about_us_section .container p {
    width: 80%;
  }

  .our_team_header {
    background-position: 140px 50%;
  }

  .person {
    width: 100%;
    box-sizing: border-box;
  }

  .pdf_wrapper {
    width: 100vw;
  }

  .news_section {
    background-image: url(./images/karyera/kareyeraThree.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px 0;
    position: relative;
    z-index: 0;
  }
  .news_section::after {
    content: "";
    position: absolute;
    background-color: rgba(0, 0, 0, 0.87);
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 1;
  }
  .news_section .container img {
    display: none;
  }

  .news_section .container .news_section_texts {
    text-align: left;
    color: white;
    position: relative;
    z-index: 2;
    font-size: 14px;
    font-weight: 100;
    line-height: 1.6;
  }
  .news_section .container .news_section_texts h2 {
    font-size: 20px;
    color: #b2dcff;
    font-weight: 600;
  }
}

@media (max-width: 850px) {
  .about_services {
    grid-template-columns: 1fr;
  }
  .section_second_carts {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    flex-wrap: wrap;
  }
}

/* Burger menu: mobile/tablet layout up to and including 800px */
@media (max-width: 800px) {
  .nav_bot .container {
    justify-content: space-between;
    gap: 16px;
    padding: 12px 3%;
    min-height: 60px;
  }

  .nav_bot .container .nav_logo {
    margin-right: auto;
  }

  .nav_bot .container .nav_logo img {
    width: 105px;
    height: auto;
  }

  .nav_bot #burger_menu {
    display: block;
    width: 30px;
    height: auto;
    flex: 0 0 auto;
    cursor: pointer;
    position: relative;
    z-index: 1001;
  }

  .nav_bot ul.hidden_menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    width: min(340px, 85vw);
    height: 100vh;
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px 15px;
    background: #fff;
    box-shadow: 10px 3px 12px rgba(0, 0, 0, 0.267);
    z-index: 1002;
    transform: translateX(-105%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .nav_bot ul.hidden_menu.show_menu {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav_bot ul.hidden_menu > li {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
  }

  .nav_bot ul.hidden_menu > li > a {
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid #d0d0d3;
    border-radius: 0 !important;
  }

  .nav_bot ul.hidden_menu > li > a:hover {
    border-radius: 0 !important;
  }

  .nav_bot ul.hidden_menu > li > ul {
    position: static !important;
    display: none !important;
    visibility: hidden;
    opacity: 1;
    transform: none !important;
    width: 100% !important;
    box-shadow: none !important;
  }

  .nav_bot ul.hidden_menu > li > ul.dropdow_about_us {
    display: none !important;
    flex-direction: column;
    visibility: visible;
    opacity: 1;
    transform: none !important;
  }

  .nav_bot ul.hidden_menu > li.submenu-open > ul {
    display: flex !important;
    flex-direction: column;
    visibility: visible;
    opacity: 1;
    transform: none !important;
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
  }

  .nav_bot ul.hidden_menu > li > ul li {
    display: block;
    width: 100%;
  }

  .nav_bot ul.hidden_menu > li > ul li a {
    display: flex;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #d0d0d3;
  }

  .nav_bot ul.hidden_menu .close_menu {
    display: block;
    align-self: flex-end;
    height: 30px;
    margin: 0 0 18px;
    cursor: pointer;
  }

  .section_our_tean .section_our_tean_persons {
    grid-template-columns: 1fr;
  }
}

/* Desktop navigation from 801px and wider */
@media (min-width: 801px) {
  .nav_bot #burger_menu {
    display: none;
  }

  .nav_bot ul.hidden_menu {
    display: flex;
    position: static;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
  }

  .nav_bot .close_menu {
    display: none;
  }
}

@media (max-width: 750px) {
  .header_text h1 {
    font-size: 1.2rem;
  }
  h2 {
    font-size: 1rem;
  }
  .nav_bot .container ul {
    gap: 15px;
  }
  .header_image img {
    height: 300px;
    width: 300px;
  }
  .header_text {
    max-width: 100%;
  }

  .about_services_left img,
  .about_services_right img {
    width: 25px;
    height: 25px;
  }
  .about_services_left p,
  .about_services_right p {
    font-size: 12px;
  }
  .laws_cart_second_section h3 {
    font-size: 14px;
  }

  /* .footer_up_side > a img {
    height: 100px;
  } */
  .footer_up_right h3 {
    font-size: 16px;
  }
  .footer_up_right p img {
    height: 16px;
  }
  .footer_up_right p {
    font-size: 10px;
    gap: 10px;
  }
  .footer_down_side p {
    font-size: 11px;
  }

  .history_header .container {
    width: 100%;
  }

  .history_section .container ul {
    width: 100%;
    padding: 0 20px;
  }

  .about_us_section .container p {
    text-align: left;
  }

  .our_team_header {
    background-position: 29px 50%;
  }

  .our_team_header_leader img {
    height: 270px;
    width: 270px;
  }

  .media_zone_images_bottom {
    grid-template-columns: 1fr 1fr;
  }

  .statements_items .statement_item .pdf_wrapper {
    width: 100vw;
  }
}

@media (max-width: 620px) {
  .nav_top .container h2 a {
    font-size: 22px;
  }
  .nav_top_language img {
    height: 12px;
  }
  a #cont {
    height: 15px;
    object-fit: cover;
  }
  .social {
    height: 14px !important;
  }

  .nav_middle .container a img {
    height: 50px;
  }

  .nav_middle .container h2 {
    font-size: 24px;
  }

  header {
    background-position: 50% -150px;
  }

  header .container,
  .about_us_header .container {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .header_image img {
    height: 500px;
    width: 500px;
    border: 10px solid #d0d0d3;
    box-shadow: 12px 5px 12px rgba(0, 0, 0, 0.452);
  }
  .header_text {
    width: 100%;
  }

  h2 {
    font-size: 1.6rem;
  }
  .about_services {
    gap: 10px;
  }

  .section_second {
    padding: 60px 0;
  }

  .laws_cart_second_section h3 {
    font-size: 14px;
  }

  .about_services_left,
  .about_services_right {
    gap: 10px;
  }

  .about_services_left img,
  .about_services_right img {
    width: 35px;
    height: 35px;
  }
  .about_services_left p,
  .about_services_right p {
    font-size: 12px;
  }

  .our_team_header {
    background-position: top;
  }

  .our_team_header .container {
    flex-wrap: wrap;
    gap: 20px;
  }

  /* Burger styles are defined once in the max-width: 800px rules above. */

  .section_second_carts {
    gap: 10px;
  }

  /* .footer_up_side > a img {
    height: 35px;
  } */

  .footer_up_right h3 {
    font-size: 20px;
  }
  .footer_up_right p img {
    height: 20px;
  }
  .footer_up_right p {
    font-size: 12px;
  }

  .media_zone_images_top,
  .media_zone_images_bottom {
    grid-template-columns: 1fr;
  }

  .hashv_header {
    height: 250px;
  }
  .karyera_section .container {
    grid-template-columns: 1fr;
  }

  .news_section .container .news_section_texts {
    width: 80%;
  }
}

@media (max-width: 570px) {
  .person .person_text p {
    white-space: wrap;
  }

  .person {
    width: 100%;
    border: none;
  }
}

@media (max-width: 530px) {
  .header_image img {
    height: 400px;
    width: 400px;
    border: none;
  }
  /* .footer_up_side > a img {
    height: 35px;
  } */

  .header_media_page {
    height: 50vh;
  }

  .news_section .container .news_section_texts {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .header_image img {
    height: 250px;
    width: 250px;
  }
  .section_second_carts {
    grid-template-columns: 1fr;
    padding: 40px 5%;
  }
  .section_threth_items {
    gap: 0;
  }

  .footer_up_side {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .footer_up_right {
    width: 100%;
    align-items: center;
  }

  .footer_up_side > a {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer_up_side > a img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .about_us_header {
    background-position: bottom;
  }

  .about_us_section .container p {
    width: 90%;
  }

  .hashv_header {
    height: 200px;
  }

  .karyera_header .container > h1 {
    font-size: 1.4rem;
  }

  .news_header .container h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 320px) {
  .media_zone_images_bottom img:last-child {
    object-position: right;
  }
}
