@media(max-width: 1400px) {
  #section0, #section1,
  .about-me__item._is-open {
    height: auto !important;
  }

  #react .arrow-slider-arrow {
    display: flex;
  }

  #section0 {
    position: relative;
  }

  .bubble-link {
    position: static;
  }

  .bubble-link-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }

  .bubble-link:nth-child(2) {
    transform: translateX(0);
  }

  .bubble-link::before,
  .blob-btn__inner {
    display: none;
  }

  .bubble-link:hover svg path {
    fill: #ffaa1a;
  }

  .svg-avatar {
    width: 15%;
    top: 45%;
  }

  .round {
    left: -300px;
  }

  .round2 {
    right: -300px;
  }

  .section-wrapper {
    display: flex;
    flex-direction: column;
  }

  .container {
    padding: 40px 20px;
    width: 100%;
  }

  .about__items-adv {
    align-items: flex-start;
  }

  .skills-btn {
    display: none;
  }

  .about-me__item {
    display: block;
  }

  .skills {
    gap: 40px 95px;
  }

  #best-works, #sites, #react, #js-services, #games {
    padding-bottom: 30px;
  }

  .arrow-slider-title-wrapper_btn {
    background: #ffaa1a;
    transition: 0.3s;
  }

  .arrow-slider-title-wrapper_btn svg path {
    fill: #fff;
    transition: 0.3s;
  }

  .arrow-slider-arrow {
    gap: 10px;
    margin-left: 20px;
    margin-top: 10px;
  }

  .title__wrapper svg {
    display: none;
  }

  #best-works, #sites, #react, #js-services, #games {
    margin-top: -1px;
  }

  .skills-bg {
    height: auto;
  }

  .first .title {
    display: none;
  }

  .section-wrapper {
    position: relative;
  }

  .section-wrapper-links {
    position: absolute;
    z-index: 99999999999;
    top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: -webkit-fill-available;
    width: -moz-fill-available;
    left: 0;
    padding: 0 20px;
  }

  .section-wrapper-links-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-wrapper-links-wrapper .btn {
    padding: 10px 20px;
    background: #fff;
    border-radius: 15px;
    color: #ffaa1a;
    font-size: 16px;
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    border: 2px solid #ffaa1a;
  }

  .section-wrapper-links-wrapper .btn.active {
    background: #ffaa1a;
    color: #fff;
  }

  .work__title {
    display: none;
  }

  .section-wrapper-anchor {
    display: none;
  }

  .section-wrapper-anchor.active {
    display: block;
  }

  .section-wrapper {
    height: auto;
    width: 100%;
  }

  .section-wrapper section {
    height: auto;
    padding-top: 150px;
  }

  .footer {
    margin-top: 0;
  }

  .swiper-button-disabled:hover {
    background: #ffaa1a;
  }

  .work__title {
    margin-bottom: 0;
  }

  .section-wrapper-links__main-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}


@media (max-width: 960px) {
  .container {
    width: 100%;
  }
  h1 {
    font-size: 55px;
  }
  .header__subtitle {
    font-size: 25px;
  }

  .overlay {
    width: inherit;
  }

  html {
    overflow-x: hidden;
  }
}

@media (max-width: 895px) {
  h1 {
    font-size: 36px;
  }
}



@media (max-width: 770px) {
  .header__subtitle {
    font-size: 25px;
  }

  .skills {
    gap: 40px 80px;
  }
}

@media (max-width: 635px) {
  .about {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
  }
  .about__items-adv {
    margin-left: 0px;
  }
  .conection {
    justify-content: start;
  }

  .conection__text {
    font-size: 11px;
  }
  .works__items img {
    border: 1px solid black;
  }
  .works__items:hover .overlay {
    display: none !important;
  }

  .preview-title {
    font-size: 24px;
  }

  .preview-subtitle {
    font-size: 18px;
  }

  .round {
    left: -385px;
  }

  .round2 {
    right: -385px;
  }

  .bubble-link {
    width: 40px;
    height: 40px;
  }

  .bubble-link svg {
    width: 25px;
    height: 25px;
  }

  .svg-avatar {
    width: 17%;
    top: 43%;
  }

  .about__items_title {
    margin-bottom: 16px;
  }

  .about__items_text {
    padding-bottom: 16px;
  }

  .skills {
    gap: 20px;
  }

  .footer {
    flex-direction: column;
    gap: 15px;
  }

  .title {
    font-size: 26px;
  }

  .about__items_title,
  .work__title {
    font-size: 20px;
  }

  .preview-title {
    padding-top: 10px;
  }

  .future {
    text-align: center;
  }

  .section-wrapper-links {
    width: -webkit-fill-available;
    width: -moz-fill-available;
    left: 0;
    padding: 0 20px;
  }

  .section-wrapper-links-wrapper {
    display: grid;
    grid-template-columns: repeat(2,1fr);
  }

  .section-wrapper-links-wrapper .title {
    text-align: center;
  }

  .section-wrapper section {
    padding-top: 200px;
  }
}

@media(max-width: 490px) {
  .arrow-slider-title-wrapper_btn[data-slider-id="4"] {
    opacity: 1;
    z-index: 1;
  }
}

@media(max-width: 400px) {
  .skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .skills__round,
  .skills__round-inner {
    width: 150px;
    height: 150px;
  }

  .skills__round-inner {
    padding-top: 25px;
  }

  .subskills {
    width: 70px;
    height: 70px;
  }

  .subskills__text {
    font-size: 10px;
  }

  .svg-avatar {
    top: 40%;
  }
}

@media(max-width: 360px) {
  .skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .skills__round,
  .skills__round-inner {
    width: 130px;
    height: 130px;
  }

  .skills__round-inner {
    padding-top: 15px;
  }

  .subskills {
    width: 55px;
    height: 55px;
  }

  .subskills__text {
    font-size: 9px;
  }
}

