@media (max-width: 1200px) {
  .text h1 {
    font-size: 30px;
  }
  .text .explanation,
  .partners .text {
    line-height: 25px;
    font-size: 16px;
  }
  .ctaButton a {
    padding: 10px 20px;
    font-size: 16px;
  }
  .services {
    gap: 1rem;
  }
  .cars {
    width: 100%;
    justify-content: center;
    gap: 5rem;
  }
  .cars .carsLeft .images {
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  .cars .carsLeft .images img {
    width: 20vw;
    height: 10vw;
  }
  .cars .carsLeft .header h1,
  .other .header h2 {
    font-size: 25px;
  }

  .carsRight .nameImage img {
    width: 40vw;
    height: 20vw;
  }
  .carsRight .parameters .element {
    gap: 0;
  }
  .parameters .element .value,
  .parameters .element .name,
  .other .text,
  .cars .carsLeft .text,
  .name   {
    font-size: 16px;
  }
}

@media (max-width: 955px) {
  nav .navbar {
    max-width: 100%;
    padding: 0 25px;
  }
  nav .navbar .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0;
    right: -100%;
    background: var(--orangeColor);
    height: inherit;
    max-width: 270px;
    width: 100%;
    line-height: 40px;
    transition: all 0.5s ease;
    z-index: 100;
  }
  nav .navbar .contact-lang {
    display: none;
  }

  nav .navbar .nav-links .links .contactBtn,
  nav .navbar .nav-links .links .lang {
    display: block;
  }

  nav .navbar .nav-links .sidebar-logo {
    text-align: center;
  }
  .navbar .bx-menu {
    color: var(--fontColor);
    font-size: 35px;
    font-weight: 800;
  }

  .nav-links .sidebar-logo .bx-x {
    text-align: center;
    color: var(--fontColor);
    font-size: 25px;
    font-weight: 800;
    margin-top: 10px;
  }

  .navbar .bx-menu,
  nav .navbar .nav-links .sidebar-logo,
  .nav-links .sidebar-logo .bx-x {
    display: block;
  }

  nav .navbar .nav-links .links {
    display: block;
    margin-top: 20px;
  }

  nav .navbar .nav-links .links li {
    display: block;
    font-size: 14px;
  }
  nav .navbar .nav-links .links .subMenu {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
    background: none;
  }
  nav .navbar .nav-links .links .subMenu li {
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    line-height: 30px;
  }
  nav .navbar .nav-links .links .subMenu li a {
    white-space: wrap;
  }
  nav .navbar .nav-links .links li:hover .enterprisesSubmenu,
  nav .navbar .contact-lang .links li:hover .contactLangSubmenu {
    display: none;
  }
  nav .navbar .nav-links .links .arrow {
    line-height: 40px;
  }

  nav .navbar .nav-links .links li:hover .enterprisesArrow {
    transform: rotate(0deg);
  }
  nav .navbar .nav-links.show1 .links li .enterprisesArrow {
    transform: rotate(180deg);
  }

  nav .navbar .nav-links.show1 .links .subMenu.enterprisesSubmenu {
    display: block;
  }
  nav .navbar .nav-links .links .subMenu li:hover,
  nav .navbar .contact-lang .links .contactLangSubmenu li:hover {
    background: none;
    border-radius: 0;
  }

  nav .navbar .nav-links .links .lang:hover .langArrow {
    transform: rotate(0deg);
  }
  nav .navbar .nav-links.show2 .links .lang .langArrow {
    transform: rotate(180deg);
  }

  nav .navbar .nav-links.show2 .links .lang .contactLangSubmenu {
    display: block;
    z-index: 99;
  }
  #content .textServices {
    gap: 5rem;
    margin: 2rem 0;
  }
  .parameters .element .value,
  .parameters .element .name,
  .other .text,
  .cars .carsLeft .text,
  .name,
  .footerMain,
  .footerRights,
  .text .explanation,
  .partners .text {
    font-size: 14px;
  }
  .services {
    grid-template-columns: repeat(2, 20vw);
    grid-template-rows: repeat(3, 20vw);
    gap: 0;
  }
  .text h1,
  .partners .header h2 {
    font-size: 25px;
  }
  .other .header h2{
    font-size: 25px;
    line-height: 30px;
  }
  #footer .footerWrapper {
    padding-top: 0;
  }
}

@media (max-width: 800px) {
  #content .textServices {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .textServices .text,
  .textServices .services {
    width: 100%;
  }
  .services {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  .servElement:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }
  .cars {
    width: 100%;
    flex-direction: column;
    justify-content: center;
  }
  .cars .carsLeft {
    width: 80%;
    gap: 50px;
  }
  .cars .carsLeft .header h1 {
    text-align: center;
  }
  .cars .carsLeft .images img {
    width: 30vw;
    height: 15vw;
  }
  .cars .carsRight {
    width: 90%;
    gap: 0;
  }
  .cars .carsRight .nameImage {
    align-items: center;
  }
  .carsRight .nameImage img {
    width: 60vw;
    height: 30vw;
  }
  .other {
    display: flex;
    flex-direction: column;
  }
  .other .chemical,
  .other .bosch {
    width: 100%;
  }
  .parameters .power .value,
  .parameters .element .name {
    font-size: 14px;
    margin: 15px 0;
  }
}

@media (max-width: 700px) {
  .ctaButton a{
    font-size: 14px;
  }
  .partners{
    margin: 30px auto;
  }
  .services {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
  .servElement:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .servElement:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .servElement:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }
  #footer .footerWrapper {
    width: 80%;
    margin: auto;
    gap: 50px;
    padding-top: 0;
  }
  #footer .footerWrapper .footerMain {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    line-height: 20px;
    text-align: center;
  }
  #footer .footerWrapper .footerMain .footerAdress {
    max-width: 100%;
  }
  #footer .footerWrapper .footerMain .footerContacts {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
    gap: 20%;
    white-space: nowrap;
  }
  #footer .footerWrapper .footerMain .footerMedia {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
    gap: 20%;
  }
  #footer .footerWrapper .footerRights {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .footerMain,
  .footerRights {
    font-size: 12px;
  }
}

@media (max-width: 370px) {
  nav .navbar .logo {
    width: 50%;
  }
  nav .navbar .logo img {
    width: 100%;
  }
  nav .navbar .nav-links {
    max-width: 100%;
  }
  nav .navbar .nav-links .links {
    text-align: center;
  }
  .parameters .element .value,
  .parameters .element .name,
  .other .text,
  .cars .carsLeft .text,
  .name,
  .footerMain,
  .footerRights,
  .text .explanation,
  .ctaButton a,
  .partners .text{
    font-size: 12px;
  }
  .other .chemical,
  .other .bosch {
    background-position: center;
    background-size: contain;
  }
  .other .header h2,
  .partners .header h2 {
    line-height: 25px;
    font-size: 20px;
  }
  .cars {
    justify-content: center;
    gap: 20px;
  }
  .cars .carsLeft .header h1 {
    font-size: 20px;
  }
  .carsRight .nameImage .carName h2 {
    font-size: 30px;
    line-height: 45px;
  }
  
  #footer {
    padding: 10px;
  }
}
