@media (max-width: 940px) {
  .grad-blob {
    width: 100%;
    animation: none;
  }

  .search-bar input {
    font-size: 30px;
  }

  .guide span {
    font-size: 15px;
  }
}

@media (max-width: 700px) {
  .guide {
    display: block;
    text-align: center;
  }

  .guide img {
    width: 100px;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
  }

  .guide span {
    margin-bottom: 20px;
    display: block;
  }

  .guide-btns {
    display: flex;
    justify-content: center;
  }

  .guide button {
    display: flex;
  }

  .popup {
    padding: 0 !important;
  }

  .popup-inner {
    width: 100%;
    text-align: center;
    border-radius: 0 !important;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .search-bar {
    --padding: 20px;
    width: calc(100% - calc(var(--padding) * 2));
    bottom: var(--padding);
    position: fixed;
    left: var(--padding);
    border-radius: 10px;
    padding: 20px 20px;
  }

  .logo-mob {
    display: flex;
  }

  .bt {
    display: none;
  }

  .header {
    display: none;
  }

  .s-btn {
    top: 20px;
    right: 20px;
    position: fixed;
    bottom: auto;
    opacity: 1;
  }

  .c-btn {
    left: 20px;
  }

  .s-btn .bi {
    opacity: 0.7 !important;
  }

  .s-btn .bi,
  .settings-close .bi {
    font-size: 30px;
  }

  .settings {
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #111;
  }

  .settings-inner {
    width: 90%;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 100px;
    height: 90%;
  }

  .viewer {
    height: 100vh !important;
    width: 100% !important;
  }

  .viewer-image {
    width: 100%;
  }

  .buttons-wrap i {
    font-size: 25px;
    color: white;
  }

  .close-viewer i {
    font-size: 30px;
  }

  .wrap {
    background-image: url(../assets/images/bg.jpg);
    background-position: center;
    background-size: auto 100%;
  }

  .grad-blob {
    display: none;
  }

  .ntag {
    font-size: 20px;
    padding: 10px;
  }

  .search-bar {
    margin: 0 !important;
  }

  .negative-add {
    font-size: 20px;
  }

  .tag-add {
    background-color: #272323;
    padding: 5px 10px;
    border-radius: 5px;
    display: block;
    margin: 20px 0;
  }

  .settings-header p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .ntag {
    width: 100%;
  }

  .section {
    margin-bottom: 40px;
  }

  .s-size .tag {
    font-size: 18px;
    padding: 15px;
    width: 30%;
  }

  .s-size .bi {
    margin-bottom: 10px;
  }
  .settings-close {
    height: 50px;
    width: 50px;
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .s-misc button {
    margin-bottom: 50px;
  }

  .library-wrap {
    padding: 90px 0 !important;
  }

  .l-header {
    --offset: 10px;
  }
}

@media (max-width: 360px) {
  .l-logo img {
    width: 80px;
  }

  .l-header {
    --offset: 0;
    border-radius: 0;
  }

  .library-wrap {
    padding: 50px 0;
  }
}
