@media screen and (max-width: 1150px) {
  .container {
    padding: 0 100px;
  }
  .about__box {
    flex-direction: column;
  }
  .about__box::before {
    display: none;
  }
  .about__box>div {
    text-align: center;
  }
  .about__box>div:last-child p {
    margin: 20px auto 0 auto;
  }
  .about__img {
    margin-right: 0;
  }
  .contacts__wrap {
    display: block;
  }
}

@media screen and (max-width: 850px) {
  .container {
    padding: 0 60px;
  }
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 42px;
  }
  h2 {
    font-size: 36px;
  }
  h3 {
    font-size: 24px;
  }
  .box {
    margin-bottom: 30px;
    padding: 30px 20px;
  }
  .projects__item {
    flex-direction: column;
    margin: 0;
    text-align: center;
  }
  .project__descr {
    width: 100%;
  }
  .project__img {
    width: 250px;
  }
  .header_list {
    display: none;
  }
  .burger {
    display: block;
    width: 40px;
    height: 30px;
    margin: 0 auto;
    position: relative;
  }
  .burger::before {
    position: absolute;
    content: 'MENU';
    font-size: 36px;
    color: #4e4e4e;
    font-weight: 500;
    left: 50%;
    transform: translate(-50%, 0%);
    transition: all 0.4s ease;
  }
  .burger:hover::before {
    color: #8f3658;
    cursor: pointer;
  }
  header>nav {
    padding: 30px 0;
  }
  .menu_overlay.open {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: max-content;
    z-index: 100;
    background-color: #fff;
    border: 1px solid #4e4e4e;
  }
  .menu_overlay__close {
    position: relative;
    width: 23px;
    height: 23px;
    margin: 30px 0px auto auto;
    transition: all 0.4s ease;
    cursor: pointer;
  }
  .menu_overlay__close::after, .menu_overlay__close::before {
    position: absolute;
    content: "";
    width: 2px;
    height: 25px;
    background-color: #4e4e4e;
    transform: rotate(45deg);
    top: 0;
    left: 0;
  }
  .menu_overlay__close::after {
    transform: rotate(-45deg);
  }
  .menu_overlay__close:hover {
    transform: scale(1.2);
  }
  .menu_list {
    list-style: none;
    width: 100%;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .menu_list li {
    font-size: 42px;
    text-transform: uppercase;
    margin: 15px 0;
  }
}

@media screen and (max-width: 540px) {
  .container {
    padding: 0 20px;
  }
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 22px;
  }
  .box {
    padding: 20px 10px;
  }
  .about__img {
    max-width: 300px;
  }
  .resume__conent {
    flex-direction: column;
    row-gap: 20px;
  }
}