@media screen and (max-width: 1840px) {
  h1, .h1 {
    font-size: 6.8rem;
  }
}

@media screen and (max-width: 1599px) {
  h1, .h1 {
    font-size: 6rem;
  }


  .footer_header {

    & > * {
      width: 46%;
    }
  }

  .footer_form {
    padding: 3rem 2rem;
  }
}

@media screen and (max-width: 1440px) {

  h1, .h1 {
    font-size: 5.2rem;
  }

  .home_services_content__item {
    padding: 5rem 6rem;
  }
  .home_services_content__item_big {
    padding-top: 20rem;

    h3 {
      font-size: 4rem;
    }
  }

  .footer {

    padding: 5rem 4rem 0;

    h2, .h2 {
      font-size: 2.5rem;
    }
  }

  .footer_form {

    padding: 2rem 3rem 3rem;

    .btn {
      position: relative;
      top: 0;
      margin-top: 1rem;
    }
  }

  .footer_phone {
    a {
      font-size: 2rem;
    }
  }

  .footer_social {
    gap: 1rem;

    img {
      height: 30px;
    }
  }

  .footer_copy {
    width: 100%;
  }

  .references_item__text {
    p {
      width: 80%;
    }
  }
}



@media screen and (max-width: 1199px) {
  
  body {
    font-size: 1.2rem;
  }

  h1, .h1 {
    font-size: 4.3rem;
  }

  h2, .h2 {
    font-size: 4rem;
  }

  h3 {
    font-size: 2rem;
  }

  .main_title {
    max-width: 70%;
  }
  
  .section_text {
    font-size: 2rem;
  }

 /* solutions */

  .solutions_content {
    padding: 8rem 6rem;
  }

  .solutions_content__inner {
    flex-direction: column;
  }

  .solutions_content__items {
    margin-top: 2rem;
    width: 100%;
  }

  .solutions_content__button {
    width: 100%;
    margin: 0;
  }

  /* home_services */

  .home_services_content__item {
    padding: 5rem 4rem;
    h3 {
      font-size: 2.5rem;
    }
  }

  .home_services_content__item_big {
    padding-top: 20rem;
  }

  .references_item__text {
    h3 {
      left: 0;
    }
  }

}

@media screen and (max-width: 991px) {
  
  body {
    font-size: 1.1rem;
  }

  h1, .h1 {
    font-size: 4rem;
  }

  h2, .h2 {
    font-size: 3rem;
  }

  h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }

  p {
    margin-top: 0.5rem;
  }

  .section_text {
    font-size: 1.6rem;
  }

  .menu_links {
    display: none;
  }
  
  .menu_logo {  
    svg {
      width: 200px;
      height: 45px;
    }
  }

  .home_services_content {
    gap: 1rem;
  }

  .home_services_content__items {
    width: 100%;
    gap: 1rem;
  }

  .home_services_content__inner {
    flex-direction: column;
    gap: 1rem;
  }

  .home_services_content__item {
    width: 100%;
    padding: 4rem;
  }

  .menu_hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }

  .menu_hamburger span {
      width: 100%;
      height: 2px;
      background: var(--primary-color);
  }

  #logos {
    padding: 6rem var(--padding-from-sides);
  }

  #main {
    .btn {
      display: none;
    }
    .main_title  {
      p {
        margin-bottom: 0;
      }
    }
  }

  .footer_phone {
    a {
      font-size: 1.5rem;
    }
  }

  .footer_header {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
  }

  .footer_bottom {
    flex-wrap: wrap;
    & > div {

      margin-bottom: 2rem;

      &:nth-child(1) {
        width: 50%;
      }
      &:nth-child(2) {
        width: 50%;
      }
      &:nth-child(3) {
        width: 100%;

        ul {
          display: flex;
          justify-content: space-between;
          flex-wrap: wrap;
          li {
            width: 50%;
            padding-bottom: 0.5rem;
          }
        }
      }
      
    }
  }

  .cta {
    width: 100vw;
  }

  .cta_form {
    width: 100%;
  }

  /* services */ 

  .services_item {
    padding: 3rem 4rem;
  }

  .services_item_text {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5%;
    
    h3 {
      width: 85%;
    }

    p {
      margin-top: 1rem;
      width: 100%;
    }
  }

}

@media screen and (max-width: 768px) {

  #main {
    canvas {
      height: 45dvh;
    }
  }

  h1, .h1 {
    font-size: 3rem;
  }

  .main_title {

    max-width: 90%;

    h1, .h1 {
      margin-bottom: 1rem;
    }

    p {
      max-width: 70%;
    }
    
  }

  .main_arrow {
    width: 100px;
    height: 100px;
  }

  .mezzo_section {
    padding: 6rem 4rem 3rem;
    display: flex;
    flex-direction: column;
  }

  .section_heading {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .section_text {
    width: 100%;
  }
  
  .solutions_content {
    padding: 6rem 4rem;
  }

  .solutions_content__items {
    grid-template-columns: 1fr 1fr;
  }

  .solutions_content__footer {
    margin-top: 5rem;
  }

  .solutions_content__item {
    &:nth-child(3) {
      border-top: 1px solid var(--gray);
    }
  }

  #logos {
    padding: 4rem var(--padding-from-sides);
  }

  .logos_items {
    gap: 5vw;
  }
  
  .logos_item {
    width: 18vw;
  }

  .references_item__inner {
    height: auto;
    padding: 3rem 2rem;
    gap: 1rem;
  }

  .references_item__text {
    p {
      width: 100%;
    }
    
  }

  .references_item__icons {
    gap: 2rem;
  }

  .footer_header {
    flex-direction: column;
    gap: 2rem;

    & > * {
      width: 100%;
    }
  }

  .footer_bottom {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    justify-content: center;

    & > div {
      width: 100% !important;
      margin-bottom: 0;

      &:nth-child(3) {
        
        ul {
          display: flex;
          flex-direction: column;
          flex-wrap: nowrap;
          li {
            width: 100%;
            padding-bottom: 0;
          }
        }
      }
    }
  }

  .footer_social {
    justify-content: center;
  }

  .footer_copy {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 2rem 2rem 0.5rem;
  }

  .services_item {
    padding: 1rem;
  }

  .services_item_text {
    gap: 0;

    h3 {
      width: 100%;
    }
    
  }
    
  .services_item_number {
    display: none;
  }

}

@media screen and (max-width: 500px) {

  h1, .h1 {
    font-size: 2rem;
  }

  #main {
    canvas {
      height: 50dvh;
    }
  }

  .main_title {
    p {
      display: none;
    }

    .btn {
      display: inline-block !important;
    }
  }

  h2, .h2 {
    font-size: 2.5rem;
  }


  .main_arrow {
    width: 80px;
    height: 80px;
  }

  .mezzo_section {
    padding: 4rem 0.5rem;
    display: flex;
    justify-content: space-between;
  }

  .solutions_content {
    padding: 4rem 2rem;
  }

  .section_text {
    font-size: 1.3rem;
  }

  .solutions_content__items {
    grid-template-columns: 1fr;
  }

  .solutions_content__item {

    &:nth-child(2) {
      border-top: 1px solid var(--gray);
    }
  }

  .solutions_content__footer {
    margin-top: 4rem;
  }

  .home_services_content__item {
    padding: 4rem 2rem;
    h3 {
      font-size: 2rem;
    }
  }

  #logos {
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .logos_items {
    gap: 10vw;
  }
  
  .logos_item {
    width: 35vw;
  }

  .references_item__icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .footer {
    padding: 3rem 2.5rem 0;
  }
}