@media all and (max-width: 1024px) {
  .header {
    max-width: 1024px;
  }
  .navbar {
    max-width: 1024px;
  }
  .navbar_content {
    max-width: 1024px;
    width: 90%;
  }
  .header_main {
    max-width: 1024px;
    width: 90%;
  }
  .header_main h1 {
    width: 50%;
    font-size: 40px;
  }
  .header_main p {
    font-size: 15px;
  }
  .service {
    max-width: 1024px;
    width: 90%;
  }
  .advantages ul {
    max-width: 1024px;
    width: 90%;
    margin-right: 40px;
  }
  .smart_system {
    max-width: 1024px;
    width: 90%;
  }
  .smart_system1 {
    justify-content: center;
    flex-wrap: wrap;
  }
  .smart_system2 {
    flex-wrap: wrap;
    justify-content: center;
  }
  .smart_system2_content {
    position: absolute;
    left: 20px;
    bottom: 46px;
  }
  .smart_system2_content h3 {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .smart_system2_content p {
    font-size: 14px;
  }
  .smart_system3 {
    flex-wrap: wrap;
    justify-content: center;
  }
  .smart_system3_content {
    position: absolute;
    left: 20px;
    bottom: 46px;
  }
  .smart_system3_content h3 {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .smart_system3_content p {
    font-size: 14px;
  }
  .threat {
    max-width: 1024px;
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    padding-top: 70px;
  }
  .portfolio_slider {
    max-width: 800px;
    margin-left: 57px;
  }
  .object_line {
    width: 500px;
    left: 55px;
  }
  .slider-progress {
    left: 55px;
    max-width: 500px;
  }
  .guard_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
  }
  .protection {
    max-width: 1024px;
    width: 90%;
  }
  .protection_left {
    width: 60%;
  }
  .min_effort_content {
    max-width: 1024px;
    width: 90%;
  }
  .security_control_content {
    max-width: 1024px;
    width: 90%;
  }
  .security_control_left ul {
    width: 100%;
  }
  .security_control_left li {
    width: 76%;
  }
}

@media all and (max-width: 768px) {
  .realta-logo {
    justify-content: flex-start;
    padding-left: 20px;
  }

  .md\:mb-\[20px\] {
    margin-bottom: 20px;
  }

  .h-\[44px\] {
    height: auto;
  }

  .safety_reward_mobile {
    padding: 0 20px;
  }

  .header_main h1 {
    width: 70%;
    font-size: 40px;
    padding-top: 285px;
  }
  .service ul {
    justify-content: center;
  }
  .advantages ul {
    justify-content: center;
  }
  .min_effort_content {
    flex-wrap: wrap;
    justify-content: center;
  }
  .min_effort_right {
    margin-top: 30px;
    width: 50%;
  }
  .portfolio_slider {
    max-width: 522px;
    margin-left: 57px;
  }
  .portfolio_slider_card {
    width: 298px;
    height: 419px;
  }
  .portfolio_slider_card img {
    width: 298px;
    height: 419px;
  }
  .object_line {
    width: 290px;
    left: 55px;
  }
  .slider-progress {
    left: 55px;
    max-width: 290px;
  }
  .advantages ul {
    justify-content: center;
    margin-right: 0;
  }
  .advantages ul li {
    width: 200px;
    margin-right: 0;
  }
  .advantages {
    height: 801px;
  }
}

@media all and (max-width: 500px) {
  .header {
    background-position: 75%;
    height: 667px;
  }
  .header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 667px;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  .header_main {
    position: relative;
    z-index: 5;
  }
  .header_main h1 {
    width: 100%;
    font-size: 30px;
    padding-top: 235px;
    z-index: 3;
    position: relative;
  }
  .header_main p {
    width: 100%;
    font-size: 14px;
    line-height: 180.705%;
    position: relative;
    z-index: 2;
  }
  .header_main button {
    width: 100%;
    position: relative;
    z-index: 3;
    color: black;
  }
  .navbar {
    display: none;
  }
  /*  */
  .navbar_item_mobile {
    max-width: 500px;
    width: 100%;
    position: fixed;
    top: 0;
    display: flex;
    height: 80px;
    margin: auto;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    padding: 20px;
    padding-top: 30px;
    background-color: white;
  }

  .menu {
    position: absolute;
    top: 0;
    left: 0;
    background-color: white;
    width: 80%;
    height: 1300px;
    flex-direction: column;
    padding: 31px 30px 0 30px;
    align-items: center;
    transform: translateX(-100%);
    transition: all ease-in 0.4s;
  }

  .menu.active {
    transform: translateX(0%);
  }
  .nav_logo img {
    width: 148px;
    height: 47px;
  }
  .burger-menu {
    width: 26px;
    height: 26px;

    border-radius: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 10px;
  }
  .bar1 {
    width: 24px;
    height: 6px;
    background-color: black;
    border-radius: 10px;
    margin-bottom: 4px;
  }
  .bar2 {
    width: 24px;
    height: 4px;
    background-color: black;
    border-radius: 10px;
    margin-bottom: 4px;
  }
  .bar3 {
    width: 24px;
    height: 3px;
    background-color: black;
    border-radius: 10px;
  }
  .burger-menu-close {
    /* width: 26px;
    height: 26px; */
    display: flex;
    /* flex-direction: column; */
    align-items: flex-end;
    cursor: pointer;
    margin-left: 10px;
    margin-top: -20px;
  }
  .bar-close {
    width: 100%;
    height: 3px;
    background-color: rgba(40, 40, 40, 1);
    border-radius: 10px;
  }
  .bar1-close {
    width: 50%;
    height: 3px;
    background-color: rgba(40, 40, 40, 1);
    border-radius: 10px;
  }
  .nav_menu_logo {
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: 73px;
    align-items: center;
  }
  .nav_menu_logo img {
    margin-top: -40px;
    width: 148px;
    height: 47px;
  }
  /* .burger-menu-close img {
    width: 18px;
    height: 18px;
  } */

  .nav_item_mobile .menu {
    display: none;
  }

  .nav_item_mobile_opened .menu {
    height: 1163px;
    display: flex;
    flex-direction: column;
  }

  .burger_adress {
    margin-top: 55px;
    display: flex;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 130.705%;
  }
  .burger_adress img {
    margin-right: 12px;
  }
  .burger_phone {
    margin-top: 30px;
    list-style-type: none;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 130.705%;
  }
  .burger_phone li {
    display: flex;
    align-items: center;
  }
  .burger_phone li img {
    margin-right: 12px;
  }
  .burger_social {
    width: 80%;
    display: flex;
    list-style-type: none;
    justify-content: space-between;
    margin-top: 34px;
  }
  .burger_social img {
    width: 28px;
    height: 28px;
  }
  .blur-div {
    display: none;
  }
  .blur-div.active {
    /* transform: translateX(100%); */
    display: flex;
    width: 100%;
    height: 800px;
    background-color: rgba(254, 253, 253, 0.5);
    backdrop-filter: blur(3px);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }

  .navbar_item_mobile a {
    text-decoration: none;
    color: white;
  }
  /* navbar_mobile */

  .service_cards {
    display: none !important;
  }
  .service_cards_mobile {
    display: block !important;
    width: 100%;
  }
  .service_cards_mobile .slick-prev:before {
    display: none;
  }
  .service_cards_mobile .slick-next {
    background-image: url(../img/service_mobile_arrows.svg);
    right: 19px;
    width: 24px;
    top: -35px;
  }
  .service_cards_mobile .slick-next:before {
    opacity: 0;
    content: "→";
  }
  .service h2 {
    font-size: 26px;
  }
  .service ul li {
    height: 623px;
  }
  .service li h3 {
    font-size: 20px;
  }
  .advantages {
    height: 100%;
  }
  .advantages h2 {
    font-size: 26px;
  }
  .advantages ul li {
    width: 119px;
    align-items: center;
    text-align: center;
  }
  .smart_system h2 {
    font-size: 26px;
    text-align: center;
  }
  .smart_system2 {
    max-width: 500px;
    width: 100%;
  }
  .smart_system2 li {
    height: 321px;
  }
  .smart_system2_content {
    position: absolute;
    bottom: 40px;
    left: 20px;
  }
  .smart_system3_content {
    position: absolute;
    /* bottom: 60px; */
    bottom: 30px;
    left: 20px;
  }
  .smart_system2 li img {
    max-width: 500px;
    width: 100%;
  }
  .smart_system3 {
    margin-top: 0;
    max-width: 500px;
    width: 100%;
  }
  .smart_system3 li {
    height: 321px;
  }
  .smart_system3 li img {
    max-width: 500px;
    width: 100%;
  }
  .threat h2 {
    font-size: 26px;
    text-align: center;
  }

  .portfolio_slider {
    max-width: 359px;
    margin-left: 8px;
  }
  .threat p {
    font-size: 14px;
    line-height: 140.386%;
  }
  .threat_content {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
  }
  .threat_left {
    width: 100%;
  }
  .threat_left li {
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-bottom: 20px;
  }
  .video-container {
    width: 100%;
  }
  .video-container {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 180.705%;
    margin-bottom: 50px;
  }
  .safety h2 {
    font-size: 26px;
  }
  .safety p {
    width: 93%;
    font-size: 14px;
    line-height: 147.7%;
  }
  .safety_main_img {
    margin-top: 50px;
    max-width: 500px;
    width: 90%;
  }
  .safety_reward {
    display: none !important;
  }
  .safety_reward_mobile {
    width: 90%;
    display: flex !important;
  }

  .safety_reward_mobile li {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
  }
  .guard h2 {
    font-size: 26px;
  }
  .guard p {
    font-size: 14px;
  }
  .guard ul {
    flex-wrap: wrap;
    font-size: 14px;
  }
  .guard li {
    margin-bottom: 26px;
  }
  .guard p {
    line-height: 180.705%;
  }
  .guard h3 {
    font-size: 16px;
    text-align: center;
  }
  .protection {
    display: none;
  }
  .min_effort_left {
    width: 100%;
  }
  .min_effort_left h2 {
    font-size: 26px;
  }
  .min_effort_left p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 180.705%;
  }
  .min_effort_right {
    margin-top: 30px;
    max-width: 500px;
    width: 100%;
  }
  .min_effort_right video {
    max-width: 500px;
    width: 100%;
  }
  .security_control_content {
    flex-wrap: wrap;
    justify-content: center;
  }
  .security_control_left {
    width: 100%;
  }
  .security_control_left h2 {
    width: 80%;
    font-size: 26px;
  }
  .security_control_left li {
    width: 100%;
    align-items: center;
  }
  .fast_start h2 {
    width: 80%;
    text-align: center;
  }
  .fast_start p {
    max-width: 100%;
    font-size: 14px;
  }
  .fast_start button {
    margin-bottom: 60px;
  }

  #video_container_main {
    height: 100%;
    overflow: hidden;
  }
  #startImage {
    width: 84px;
  }
  .footer_content {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .footer_logo {
    width: 100%;
    justify-content: center;
  }
  .footer_adress {
    font-size: 14px;
  }
  .footer_phone {
    max-width: 45%;
    width: 50%;
    margin-top: -50px;
    color: white;
    list-style-type: none;
    display: flex;
    flex-direction: column;
  }
  .footer_phone li {
    margin-bottom: 14px;
    width: 100%;
    font-size: 12px;
  }
  .footer_social {
    width: 45%;
  }
  .footer_phone li {
    width: 100%;
    font-size: 12px;
  }
  .footer_social {
    width: 50%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .footer_social li {
    margin-right: 20px;
    margin-bottom: 20px;
  }
}
