@media (max-width: 1500px) {
  header {
    height: 150px;
  }

  header ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  header li {
    margin-left: 25px;
    margin-right: 25px;
  }

  h1 {
    width: 560px;
  }
}

@media (max-width: 1250px) {
  .contacts {
    justify-content: center;
  }

  .about {
    justify-content: center;
  }

  .skills {
    justify-content: center;
  }

  .projects {
    justify-content: center;
  }

  .education {
    justify-content: center;
  }

  .languages {
    justify-content: center;
  }

  .contacts_container {
    margin-right: 0;
  }

  .about_container {
    margin-left: 0;
  }

  .skills_container {
    margin-right: 0;
  }

  .projects_container {
    margin-left: 0;
  }

  .education_container {
    margin-right: 0;
  }

  .languages_container {
    margin-left: 0;
  }
}