﻿#concerts {
  font-family: 'Roboto', sans-serif;
  color: white;
  width: 72%;
  max-width: 84rem;
  min-height: 27rem;
  padding-bottom: 7rem;

  @media (max-width: 1024px) {
    width: 85%;
    min-height: 18rem;
  }

  @media (max-width: 768px) {
    width: 90%;
    padding-bottom: 4rem;
    min-height: 13rem;
  }

  .concerts-header {
    font-family: 'ClashDisplay', sans-serif;
    letter-spacing: 0.2rem;
    display: flex;
    text-align: center;
    line-height: 0.1em;

    .horizontal-line {
      text-align: center;
      border-bottom: 1px solid white;
      line-height: 0.1em;
      width: 5rem;
      margin-left: 0.5rem;
      margin-right: 1rem;
    }
  }

  h1 {
    font-family: 'Arial Narrow', sans-serif;
    letter-spacing: 0.1rem;
    font-size: 4rem;
    color: #342B25;
    margin-bottom: 5rem;

    @media (max-width: 1024px) {
      font-size: 3rem;
      margin-bottom: 3rem;
    }

    @media (max-width: 768px) {
      font-size: 1.8rem;
      margin-bottom: 2rem;
    }

    span  {
      font-family: 'Brier', sans-serif;
      cursor: pointer;
      user-select: none;
      color: #D3B7A1;
      font-weight: bold;

      &.active {
        text-decoration: underline;
      }
    }
  }

  .concert-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    opacity: 1;
    transition: opacity 0.4s ease;

    &.fade-out {
      opacity: 0;
      pointer-events: none;
    }

    &.fade-in {
      opacity: 1;
    }

    .concert-item {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      margin-top: 1.5rem;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.4s ease, transform 0.4s ease;

      .concert-info {
        flex: 1 1 auto;
        display: flex;
        flex-direction: row;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        align-items: center;

        .concert-date {
          margin-left: 0.5rem;
          margin-right: 4rem;
          letter-spacing: 0.2rem;

          @media (max-width: 1024px) {
            font-size: 0.8rem;
            margin-right: 2rem;
          }

          @media (max-width: 768px) {
            margin-right: 1rem;
            font-size: 0.6rem;
          }
        }

        .concert-title {
          font-family: 'ClashDisplay', sans-serif;
          font-weight: bold;
          font-size: 1.71538rem;
          max-width: 60%;

          @media (max-width: 1024px) {
            font-size: 1.2rem;
          }

          @media (max-width: 768px) {
            font-size: 0.8rem;
            margin-right: 1rem;
          }
        }

        .concert-location {
          margin-left: auto;
          opacity: 50%;
          text-align: right;

          @media (max-width: 1024px) {
            font-size: 0.8rem;
          }

          @media (max-width: 768px) {
            font-size: 0.6rem;
            min-width: 5rem;
          }
        }
      }

      .concert-ticket {
        flex: 0 0 auto;
        margin-left: 1rem;
        align-self: center;

        button {
          cursor: pointer;
          background-color: white;
          border: none;
          padding: 0.5rem 1.2rem 0.5rem 1.2rem;
          border-radius: 5rem;
          letter-spacing: 0.2rem;
        }
        img {
          padding-left: 0.5rem;
        }
      }
    }

    .concert-item.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .no-concert-message {
      font-family: 'ClashDisplay', sans-serif;
      color: white;
      text-align: center;
      font-size: 2rem;
      opacity: 0.5;
      margin-top: 5rem;

      a {
        color: white;
        text-decoration: none;
        opacity: 0.5;
      }

      @media (max-width: 1024px) {
        font-size: 1rem;
        margin-top: 3rem;
      }

      @media (max-width: 768px) {
        font-size: 0.8rem;
        margin-top: 1rem;
      }
    }
  }

  #load-more-concerts {
    display: none;
    cursor: pointer;
    margin: 2.5rem auto;
    background-color: white;
    border: none;
    padding: 0.5rem 1.2rem 0.5rem 1.2rem;
    border-radius: 5rem;
  }
}



