@media screen and (max-width: 1560px) {
  .port_inner {
    height: 510px;
  }
}

@media screen and (max-width: 1440px) {
  .port_inner {
    height: 460px;
  }
  .load_wrapper {
    height: 250px;
  }
}

@media screen and (max-width: 1240px) {
  .btn__round {
    font-size: 16px;
    padding: 6px 12px;
  }
  .btn__icon {
    margin-left: 20px;
    width: 25px !important;
    height: 25px !important;
  }
  .btn__icon svg {
    width: 25px !important;
    height: 25px !important;
  }
  .header__nav ul li a {
    font-size: 16px;
    margin: 0 8px;
  }
  h1 {
    font-size: 4rem;
    line-height: 50px;
  }
  h2 {
    font-size: 3rem;
    line-height: 50px;
  }
  .partners_content img {
    max-width: 120px !important;
  }
  .section {
    padding-top: 140px;
  }
  .port_inner {
    height: 410px;
  }
}

@media screen and (max-width: 1100px) {
  .header__nav, .header__action .header__lang {
    display: none;
  }
  .header_menu {
    display: block;
  }
  .header__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .video_descr {
    left: 50px;
    bottom: 30px;
  }
  .section {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  h2 {
    font-size: 2.6rem;
    line-height: 45px;
  }
  .port_item:nth-of-type(4n+1), .port_inner, .port_item:nth-of-type(4n+2), .port_item:nth-of-type(4n+3), .port_item.visible {
    width: calc(100%);
  }
  .port_item:nth-of-type(4n+2) {
    margin-left: 0;
  }
  .port_item {
    border-bottom: 1px solid #3d3d3d;
    padding-bottom: 30px;
  }
  .port_fig {
    position: relative;
    top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .port_item:nth-of-type(4n+3) {
    margin-right: 0;
  }
  .port_inner {
    top: 0;
    position: relative;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    margin-top: 0;
  }
  .port_fig svg {
    width: 18px;
    height: 18px;
  }
  .port_inner_content {
    height: 100%;
    position: relative;
    top: 0;
  }
  .portfolio_grids {
    display: -ms-grid;
    display: grid;
    gap: 30px;
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
  }
  .port_banner {
    border-radius: 1rem;
  }
  .port_title {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    margin-top: 12px;
  }
  .load_wrapper {
    width: 100%;
    height: 50px;
    left: 0;
    bottom: -100px;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 0;
  }
  .port_inner_content span {
    font-size: 60px;
  }
  .port_descr {
    font-size: 15px;
  }
  .porftolio_content {
    padding-bottom: 100px;
  }
  .adven_grids {
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
  }
  .serv_stacks {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .serv_stack_span {
    padding-left: 0px;
    margin-left: 0px;
    font-size: 16px;
  }
  .serv_stack_items {
    margin-top: 20px;
  }
  .serv_stack_item svg {
    width: 50px;
    height: 50px;
  }
}

@media screen and (max-width: 980px) {
  h1 {
    font-size: 3rem;
    line-height: 40px;
  }
  .offer_author a {
    font-size: 14px;
  }
  .partners_content img {
    max-width: 80px !important;
  }
  h2 {
    font-size: 2.4rem;
    line-height: 40px;
  }
  .serv_items_col a span {
    font-size: 24px;
  }
  .serv_items_col a {
    padding: 26px 16px;
  }
  .adven_item_descr {
    font-size: 20px;
  }
}

@media screen and (max-width: 740px) {
  h1 {
    font-size: 2.6rem;
    line-height: 30px;
  }
  .offer_content p {
    line-height: 20px;
  }
  :root {
    --fontSize-text: 15px;
  }
}

@media screen and (max-width: 630px) {
  .portfolio_grids {
    gap: 20px;
    -ms-grid-columns: (1fr)[1];
        grid-template-columns: repeat(1, 1fr);
  }
}
