@media (max-width: 361px) {
  html {
    min-width: 360px;
  }
}
@media (min-width: 977px) {
  .burger-menu {
    display: none;
  }
}
@media (max-width: 976px) {
  #about,
  #services,
  #works,
  #resume,
  #contact {
    padding-left: 0;
  }
  .burger-menu {
    display: block;
    transition: all 0.3s;
  }
  .burger-menu {
    border: none;
    background: 0 0;
    position: absolute;
    right: 12px;
    top: 21px;
    z-index: 2;
  }
  .title {
    font-size: 32px;
    font-weight: 700;
    max-width: 100%;
    line-height: 40px;
  }
  .description {
    font-size: 18px;
    line-height: 26px;
    max-width: 100%;
  }
  .cards__list {
    max-width: 100%;
    margin-top: 24px;
  }
  .cards__list-item {
    width: 100%;
    margin: 0 0 12px 0;
  }
  .burger-line {
    display: block;
    width: 33px;
    height: 4px;
    margin: 4px auto;
    transition: all 0.3s ease-in-out;
  }

  .burger-line:nth-child(2) {
    width: 25px;
    margin-right: 0;
  }

  .burger-line:nth-child(3) {
    width: 17px;
    margin-right: 0;
  }

  .burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 33px;
  }
  .sidebar {
    height: 70px;
    width: 100%;
    padding: 0;
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    z-index: 2;
  }
  .content {
    padding: 36px 12px;
    margin: 0;
  }
  body.hidden {
    overflow: hidden;
  }
  .sidebar__nav-list {
    position: fixed !important;
    top: 0 !important;
    left: -100%;
    flex-direction: column;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: 0.3s;
  }
  .sidebar__nav-list.active {
    left: 0;
    padding: 33px 0 0 24px;
  }
  .logo {
    margin-bottom: 0;
    padding-left: 12px;
  }
  .logo img {
    margin-top: 22px;
  }
  .theme-switcher {
    width: 28px;
    height: 28px;
    margin-top: 21px;
    margin-right: 72px;
  }
  .theme-switcher span {
    display: none;
  }
  .theme-switcher .icon {
    font-size: 28px;
    margin-right: 72px;
    z-index: 2;
  }
  .sidebar__nav-item {
    padding: 24px 0;
  }
  .sidebar__nav-link {
    font-size: 32px;
    font-weight: 670;
  }
  .works__inner {
    padding-left: 0;
  }
  .works__list {
    justify-content: center;
  }
  .works__tab-btn {
    padding: 0 8px;
}
  #works .works__list-item {
    margin: 0 0 12px 0;
  }
  #works .works__list-item:last-child {
    margin-bottom: 0;
  }
}
