@media (min-width: 375px) {
  .modal {
    width: 320px;
  }
}

@media (max-width: 767px) {
  .concerts-table thead {
    display: none;
  }

  .concerts-table,
  .concerts-table tbody,
  .concerts-table tr {
    display: block;
  }

  .concerts-table tr {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--grey-border-color);
    padding: 16px;
  }

  .concerts-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border: none;
    font-size: 14px;
  }

  .concerts-table td::before {
    content: attr(data-label);
    color: var(--grey);
    font-size: 12px;
    font-weight: 500;
  }

  .concerts-table td:first-child {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 6px;
  }

  .concerts-table td:first-child::before {
    display: none;
  }

  .concerts-table td:last-child {
    margin-top: 12px;
  }

  .concerts-table td:last-child::before {
    display: none;
  }

  .concerts-btn {
    width: 100%;
    font-size: 14px;
    background-color: var(--primary-btn);
    color: var(--text);
    border-radius: 10px;
    padding: 12px;
    line-height: 1.07;
    letter-spacing: 0.02em;
    font-weight: 600;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    &:hover,
    &:focus {
      color: var(--white);
      background-color: var(--presssed-state);
    }
  }
  /*------------MEMBERS-----------*/
  .members-list {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px;
    gap: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .members-list::-webkit-scrollbar {
    display: none;
  }
  .member {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
  /*------------HEADER-----------*/
  .header-container {
    display: block;
  }
  .nav-list {
    display: flex;
    gap: 22px;
  }
  .menu-open-btn {
    display: none;
  }
  .header-text {
    font-size: 18px;
  }
  /*------------BODY-----------*/

  /*------------HERO-----------*/
  .hero-text {
    font-size: 16px;
    line-height: 1.5;
  }

  /*------------CONCERTS-----------*/
  .concerts {
    padding: 60px 0 100px;
  }
  .concerts-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--white);
  }
  td,
  th {
    padding: 18px 20px;
    font-size: 14px;
    text-align: left;
    border-top: 1px solid var(--grey-border-color);
  }
  tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }
  thead {
    background-color: #1b1e29;
  }
  .concerts-title {
    font-weight: 700;
    font-size: 26px;
    padding: 20px;
  }
  .concerts-location {
    color: var(--grey);
  }
  .concerts-btn {
    background-color: var(--primary-btn);
    color: var(--text);
    border-radius: 10px;
    padding: 12px;
    line-height: 1.07;
    letter-spacing: 0.02em;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    &:hover,
    &:focus {
      color: var(--white);
      background-color: var(--presssed-state);
    }
  }
  /*------------MEMBERS-----------*/
  .members-title {
    margin-bottom: 42px;
    font-size: 32px;
  }
  .member {
    & img {
      width: 300px;
    }
  }
  .members {
    padding-bottom: 80px;
  }
  /*------------ABOUT-----------*/
  .about {
    padding: 70px 0 62px;
  }
  .about-text {
    margin-bottom: 24px;
    font-size: 16px;
  }
  .about-title {
    margin-bottom: 26px;
    font-size: 32px;
  }
  .about-text-last {
    margin-bottom: 0;
  }
  /*------------CONTACTS-----------*/
  .contacts-title {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
  }
  .contacts-text {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .contacts-order {
    flex-direction: row;
  }
  .contacts-reg-input {
    padding: 16px;
  }
  .contacts-reg-btn {
    font-size: 16px;
    padding: 17px 32px;
  }
  .contacts-map-card {
    width: auto;
    height: auto;
  }
  /*------------FOOTER-----------*/
  .footer {
    padding: 40px 0;
  }
  .footer-container {
    justify-content: space-between;
    flex-direction: row;
    gap: 0;
  }
  .footer-desc {
    gap: 36px;
  }
  .footer-text {
    font-size: 16px;
  }
  .footer-contacts {
    font-size: 16px;
  }
  /*------------BACKDROP-----------*/
  .modal {
    width: 408px;
    min-height: 270px;
    padding: 72px 24px 24px 24px;
  }
  .modal-form-input {
    width: 360px;
  }
  .modal-form-textarea {
    width: 360px;
  }
}

@media screen and (min-width: 1440px) {
  .container {
    max-width: 1180px;
  }
  /*------------HEADER-----------*/
  /*------------BODY-----------*/

  /*------------HERO-----------*/
  .hero {
    padding: 150px 0 120px;
  }
  .hero-title {
    font-size: 48px;
    line-height: 1.07;
    letter-spacing: 0.02em;
    margin-bottom: 40px;
  }
  .space {
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .hero-btn {
    padding: 18px;
    font-size: 16px;
    margin-top: 40px;
  }
  /*------------CONCERTS-----------*/
  .concerts {
    padding: 62px 0 132px;
  }
  td,
  th {
    font-size: 16px;
  }
  .concerts-btn {
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 600;
  }
  /*------------MEMBERS-----------*/
  .members-list {
    display: flex;
    gap: 95px;
    justify-content: center;
  }
  /*------------ABOUT-----------*/
  .about-start {
    flex-direction: row;
  }
  .about-img {
    max-width: 445px;
  }
  .about-text-last {
    margin-bottom: 0;
  }
  /*------------CONTACTS-----------*/
  .contacts {
    padding: 82px 0 65px;
  }
  .contacts-map-card {
    width: 520px;
    height: 300px;
  }
  .contacts-order {
    gap: 40px;
  }
  .contacts-form {
    column-gap: 40px;
    row-gap: 28px;
  }
  .contacts-reg-title {
    width: calc((100% - 40px) / 2);
    gap: 10px;
    font-size: 16px;
  }
  .reg-textarea {
    width: 100%;
  }
  .contacts-map-title {
    margin-bottom: 20px;
    font-size: 20px;
  }
  .contacts-map {
    padding: 30px 20px 24px;
  }
  /*------------FOOTER-----------*/
  .footer {
    padding: 48px 0;
  }
  .footer-desc {
    gap: 42px;
  }
}
