@media screen and (max-width: 991px) {
  .btn {
    --bs-btn-border-radius: 2em;
    padding: 15px 30px;
  }
  .breadcrumb {
    flex-wrap: nowrap;
    padding-right: 15px;
    &-item {
      width: min-content;
    }
  }
  .files {
    &__header nav {
      width: calc(100% - 80px);
    }
    .sidebar {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 2;
      max-width: 240px;
      transform: translateX(calc(-100% - 60px));
      transition: transform 0.3s ease;
      &.open {
        transform: translateX(0);
      }
    }
    #menuBtnClose {
      display: block !important;
      position: absolute;
      top: 17px;
      right: -46px;
      background-color: #fff;
      border-radius: 50%;
      padding: 10px;
      box-shadow: 0 0 14px 4px #d1d1d1;
      border: 1px solid #dddddd;
    }
  }
}

@media screen and (max-width: 767px) {
  :root {
    --bs-body-font-size: 0.875rem;
  }

  html {
    overflow-x: hidden;
  }

  .btn {
    &-arrow {
      min-width: auto;
      width: 188px;
      max-width: calc(100% - 115px) !important;
      span {
        width: 80px;
        background-size: 80px;
      }
    }
    &-outline-download::before {
      right: 30px;
    }
  }

  img {
    max-width: 100%;
  }

  .files {
    #downloadButton {
      font-size: 12px;
    }
    .filesGrid.list {
      .applications__box {
        h3 span {
          max-width: calc(100% - 30px);
        }
      }
      .downloadBtn,
      .favoritesBtn {
        top: 10px;
      }
    }
  }
}
