@media only screen and (max-width: 1450px) {
  .ms-data {
    top: 40%;
    left: 10%;
    width: 60%;
  }

  .top-form {
    left: 20%;
    width: 60%;
  }
}

@media only screen and (max-width: 1220px) {
  .ms-data {
    top: 40%;
    left: 5%;
    width: 70%;
  }
  .ms-img {
    display: block;
    height: 100vh;
    text-align: center;
  }
  .ms-img img {
    display: inline-block !important;
    width: unset !important;
    height: 100vh;
    margin: 0px -60%;
  }
}

@media only screen and (max-width: 1130px) {
  .ms-data {
    top: 40%;
    width: 80%;
    padding: 10px 5%;
  }
  .top-form {
    left: 15%;
    width: 68%;
  }
  .wradvantages {
    padding: 30px 0px;
  }
  .wradvantages .wrap .advantage-list ul li {
    margin-bottom: 30px;
  }
  .wrwelcome .wr-text {
    margin-left: 3%;
    font-size: 18px;
  }
  .wrwelcome .wr-text strong {
    display: block;
    text-align: left !important;
  }
  .wroffices .offices-list .offices-data ul li:nth-child(2) {
    font-size: 24px;
  }
  .wrend .end-feedback .end-form a {
    font-size: 14px;
  }
}

@media only screen and (max-width: 1024px) {
  .wradvantages .wrap .wr-text h2,
  .wrclients .wrap .wr-text h2,
  .wrwelcome .wr-text h2,
  .wrportfolio .wrap .wr-text h2,
  .wrcontests .wr-text h2,
  .wrschool .wrap .wr-text h2,
  .wroffices .wr-text h2 {
    font-size: 42px;
  }
  .top-form {
    left: 10%;
    width: 78%;
  }
  .wrwelcome .wr-text {
    width: 40%;
  }
  .wroffices .offices-list .offices-data ul li:nth-child(2) {
    font-size: 22px;
  }
  .wrend .end-title {
    width: 55%;
    font-size: 36px;
  }
  .wrend .end-feedback {
    width: 35%;
  }
}

@media only screen and (max-width: 1024px) {
  .ms-data .ms-text h4 {
    font-size: 56px;
    line-height: 65px;
  }
  .wrwelcome .wrap {
    padding: 50px 0px;
  }
  .wrwelcome .wr-text {
    width: 50%;
  }
}

@media only screen and (max-width: 880px) {
  .ms-data .ms-text h4 {
    font-size: 50px;
    line-height: 57px;
  }

  .top-form {
    bottom: 15%;
  }

  .top-form .top-form-data {
    display: block;
  }

  .top-form .top-form-data span {
    width: 45%;
    margin-bottom: 15px;
  }

  .wradvantages .wrap .wr-text,
  .wrclients .wrap .wr-text,
  .wrwelcome .wr-text,
  .wrportfolio .wrap .wr-text,
  .wrcontests .wr-text,
  .wrschool .wrap .wr-text,
  .wroffices .wr-text {
    padding: 0px 5%;
  }

  .wrwelcome .wr-text h2 {
    font-size: 38px;
  }
  .wrwelcome .wr-text {
    margin-left: 0%;
    font-size: 16px;
  }
}

@media only screen and (max-width: 740px) {
  .mybody {
    margin-top: 80px;
  }
  .navigation {
    display: block;
  }

  .wradvantages .wrap .wr-text h2,
  .wrclients .wrap .wr-text h2,
  .wrwelcome .wr-text h2,
  .wrportfolio .wrap .wr-text h2,
  .wrcontests .wr-text h2,
  .wrschool .wrap .wr-text h2,
  .wroffices .wr-text h2 {
    font-size: 38px;
  }

  .top-phones {
    right: 250px;
  }
  .top-callback {
    right: 10px;
  }
  .ms-data .ms-text h4 {
    font-size: 48px;
    line-height: 52px;
  }
  .wradvantages .wrap .advantage-list ul li {
    width: 41%;
  }
  .wrclients .wrap .clients-list ul li {
    width: 29%;
    margin: 15px 1%;
  }
  .wrcontests .contest-list ul li {
    width: 100%;
  }

  .portfolio-data {
    height: 1400px;
  }

  .photo-section {
    height: auto;
  }

  .photo-section ul {
    text-align: left;
  }

  .photo-section ul li {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
  }

  .photo-section ul li:nth-child(1) {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 400px;
  }

  .photo-section ul li:nth-child(2) {
    position: relative;
    display: inline-block;
    width: 49%;
    height: 80%;
    margin: 5px 0px;
  }

  .photo-section ul li:nth-child(3) {
    position: relative;
    display: inline-block;
    left: 2%;
    width: 49%;
    height: 60%;
    margin: 5px 0px;
  }

  .photo-section ul li:nth-child(4) {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 600px;
  }

  .swiper-pagination-fraction {
    top: 35px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    top: 50px;
  }

  .wrwelcome .wr-text h2 {
    font-size: 35px;
    padding-bottom: 20px;
  }

  .wrwelcome .wr-text {
    font-size: 15px;
    padding: 0px 3%;
  }

  .wrschool .wrap .wr-addtext {
    padding: 20px 3%;
  }

  .wroffices .offices-list .offices-data ul {
    display: block;
  }

  .wroffices .offices-list .offices-data ul li {
    width: 100%;
    max-width: unset !important;
    padding-bottom: 10px;
  }

  .wrend {
    padding-top: 50px;
    padding-bottom: 30px;
  }
  .wrend .wrend-data {
    display: block;
  }

  .wrend .end-title {
    display: block;
    width: 100%;
    font-size: 28px;
    text-align: center;
    padding: 0px;
    margin-bottom: 25px;
  }

  .wrend .end-feedback .end-form {
    width: 50%;
    margin: auto;
  }

  .wrendline .endline {
    display: block;
    width: 100%;
  }

  .wrendline .endline .endline-company,
  .wrendline .endline .endline-social,
  .wrendline .endline .endline-developer {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0px;
  }
}

@media only screen and (max-width: 640px) {
  .top-phones,
  .top-callback {
    display: none;
  }

  .logo a {
    position: absolute;
    top: 10px;
    left: 50%;
    margin-left: -65px;
  }

  .ms-img img {
    margin: 0px -90%;
  }

  .ms-data .ms-text h4 {
    font-size: 42px;
    line-height: 48px;
  }

  .top-form {
    left: 5%;
    width: 90%;
  }

  .wradvantages .wrap .advantage-list ul li {
    padding-left: 4%;
  }

  .wrclients .wrap .clients-order a {
    font-size: 18px;
  }

  .portfolio-data {
    height: 1430px;
  }

  .photo-section ul li:nth-child(2),
  .photo-section ul li:nth-child(3) {
    height: 320px;
  }

  .wrwelcome .wrap {
    min-height: 750px;
    padding-top: 0px;
    position: relative;
  }

  .wrwelcome .wr-text {
    position: absolute;
    padding: 5%;
    bottom: 0px;
    left: 0px;
    width: 90%;
    background-color: rgb(255, 255, 255, 0.8);
    font-size: 14px;
  }

  .wrwelcome .wr-text em {
    font-style: normal !important;
  }

  .wrwelcome .wr-text h2 {
    display: none;
  }

  .wrwelcome .wr-text strong {
    font-size: 13px;
  }
}

@media only screen and (max-width: 540px) {
  .navigation .mob-menu ul li {
    padding: 10px 2.3%;
  }

  .navigation .mob-menu ul li a {
    font-size: 14px;
  }

  .wrwelcome .wrap {
    min-height: 700px;
    padding-top: 0px;
    position: relative;
  }

  .wrend .end-title {
    font-size: 25px;
  }
}

@media only screen and (max-width: 480px) {
  .ms-data {
    top: 32%;
  }

  .top-form {
    bottom: 20%;
  }

  .ms-data .ms-text h4 {
    font-size: 36px;
    line-height: 42px;
  }

  .top-form .top-form-data span {
    width: 90%;
    margin-bottom: 10px;
  }

  .wradvantages .wrap .advantage-list ul li {
    width: 90%;
    padding-left: 7%;
  }

  .wradvantages .wrap .wr-text,
  .wrclients .wrap .wr-text,
  .wrportfolio .wrap .wr-text,
  .wrcontests .wr-text,
  .wrschool .wrap .wr-text,
  .wroffices .wr-text {
    padding: 0px 3%;
    font-size: 14px;
  }

  .wrclients .wrap .clients-list ul li {
    width: 47%;
  }

  .wrwelcome .wrap {
    min-height: 600px;
  }

  .wrwelcome .wr-text {
    font-size: 13px;
  }

  .wrend .end-title {
    font-size: 22px;
  }

  .wradvantages {
    padding-top: 50px;
  }

  .navigation .mob-menu ul li a {
    font-size: 15px;
  }

  .navigation .mob-menu ul li {
    padding: 8px 2.3%;
  }

  .photo-section ul li div a sup sub img {
    margin: 0px -90%;
    width: auto !important;
    max-height: 130% !important;
  }
}

@media only screen and (max-width: 420px) {
  .navigation .mob-menu ul li {
    padding: 8px 4%;
  }

  .ms-data .ms-text h4 {
    font-size: 32px;
    line-height: 38px;
  }

  .ms-data .ms-text {
    font-size: 16px;
  }

  .wradvantages .wrap .wr-text h2,
  .wrclients .wrap .wr-text h2,
  .wrwelcome .wr-text h2,
  .wrportfolio .wrap .wr-text h2,
  .wrcontests .wr-text h2,
  .wrschool .wrap .wr-text h2,
  .wroffices .wr-text h2 {
    font-size: 32px;
  }

  .wrwelcome .wrap {
    min-height: 550px;
  }

  .wrwelcome .wr-text {
    font-size: 12px;
  }

  .wrwelcome .wr-text strong {
    font-size: 12px;
  }

  .wrend .end-title {
    margin-top: 10px;
    font-size: 20px;
  }

  .top-form {
    left: 5%;
    width: 85%;
  }
}

@media only screen and (max-width: 380px) {
  .logo a {
    display: none;
  }

  .navigation .mob-menu ul li a {
    font-size: 14px;
  }

  .ms-data {
    top: 23%;
  }

  .ms-data .ms-text h4 {
    font-size: 28px;
    line-height: 33px;
  }

  .ms-data .ms-text {
    font-size: 14px;
  }

  .wradvantages .wrap .wr-text h2,
  .wrclients .wrap .wr-text h2,
  .wrwelcome .wr-text h2,
  .wrportfolio .wrap .wr-text h2,
  .wrcontests .wr-text h2,
  .wrschool .wrap .wr-text h2,
  .wroffices .wr-text h2 {
    font-size: 28px;
  }

  .wradvantages .wrap .wr-text,
  .wrclients .wrap .wr-text,
  .wrportfolio .wrap .wr-text,
  .wrcontests .wr-text,
  .wrschool .wrap .wr-text,
  .wroffices .wr-text {
    padding: 0px 3%;
    font-size: 13px;
  }

  .wrschool .wrap .wr-addtext {
    padding: 20px 5%;
    font-size: 13px;
  }

  .wrend .end-title {
    font-size: 16px;
  }

  .portfolio-data {
    height: 1650px;
  }

  .photo-section ul li:nth-child(2),
  .photo-section ul li:nth-child(3) {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    left: 0px;
  }
}
