/* Адаптивность */
@media (max-width: 900px) {
  .burger {
      display: flex !important;
  }
  header {
    height: 70px;
  }

  .sitlogo {
    margin: 0px 10px 0px 10px;
  }

  footer {
    width: 100% !important;
    right: unset;
    margin: unset;
    border-radius: 15px 15px 0px 0px;
  }

  .sidebar-container {
    position: fixed;
    z-index: 99;
    left: -250px;
    transition: all .3s ease-in-out;
  }
  .promo-code-con, .referral-system {
    display: none;
  }
  .logo {
    margin-left: 0;
    margin-right: auto;
  }
  /* .gta5 {
    display: none !important;
  } */
  .scroll-to-top {
    bottom: 160px;
    width: 80px;
    font-size: 24px;
    height: 80px;
  }
  #subscribe-notification {
    display: none !important;
  }
  .pay-modal-content{
    max-width: 550px;
  }
  .file-card {
    background: rgb(51, 51, 51);
    backdrop-filter: unset;
    -webkit-backdrop-filter: unset;
  }
  .file-container-head {
    flex-direction: column;
  }
  .info-file-preview {
    width: 100% !important;
    height: 350px;
    max-height: 350px !important;
  }
  .mod-form, .mods-list, .loh-block3, .review-form, .reviews-list, .loh-block2 {
    width: auto !important;
  }
  .loh-block3, .loh-block2 {
    max-width: none !important;
  }
  .file-title {
    font-size: 20px;
  }
  .mod-container, .review-container {
    flex-direction: column;
  }
  .footer-bottom {
    display: flex;
    gap: 5px;
    padding: unset;
    align-items: center;
    flex-direction: column;
  }
  .title form {
    font-size: 16px;
    gap: 6px;
  }
  .fileSize, .discord-tag-container, .shared {
    font-size: 12px;
  } 
}

@media (max-width: 800px) {
  .file-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  }
  .placeholder-container{
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  }
  .file-controls {
    gap: 5px;
  }
}

/* Открытие сайтбара */
.sidebar-container.active {
  left: 0;
}

.sidebar-container.active {
  opacity: 1;
  visibility: visible;
}

/* Бургер-меню */
.burger {
  width: 30px;
  height: 20px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Анимация бургера */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(12px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-12px);
}