/* =================================
            Performances
================================= */

#upcoming-performances {
  background-color: var(--main-light);
  margin-top: -10.4vw;
}

#upcoming-performances .container {
  justify-content: center;
}

#upcoming-performances .padded {
  padding-top: 10.4vw;
  padding-bottom: 80px;
}

#upcoming-performances .wrapper {
  /*
    `width: 100%` ensures that the
    wrapper expands to the maximum
    size permitted by default styles.
    */

  width: 100%;
}

#past-performances {
  background-color: var(--grey, #e9eceb);
}

#past-performances .container {
  justify-content: center;
}

#past-performances .padded {
  padding-top: 5.7vw;
  padding-bottom: 80px;
}

@media (max-width: 799px) {
  #past-performances .padded {
    padding-top: 10.4vw;
  }
}

#past-performances .wrapper {
  /*
    `width: 100%` ensures that the
    wrapper expands to the maximum
    size permitted by default styles.
    */

  width: 100%;
}

.stay-posted {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}

@media (max-width: 799px) {
  .stay-posted {
    font-size: 16px;
  }
}

@media (max-width: 503px) {
  .stay-posted {
    text-align: left;
  }
}

/* =================================
            Section Title
================================= */

#upcoming-performances .section-title {
  display: flex;
  justify-content: center;
  margin-bottom: 3em;
}

@media (max-width: 799px) {
  #upcoming-performances .section-title {
    margin-top: 6vw;
  }
}

#past-performances .section-title {
  display: flex;
  justify-content: center;
  margin-bottom: 3em;
}

@media (max-width: 799px) {
  #past-performances .section-title {
    margin-top: 5.2vw;
  }
}

/* =================================
            Performance
================================= */

.performance {
  display: flex;
  padding-top: 30px;
  padding-bottom: 30px;
}

.first {
  border-top: 1px solid #c2c1c1;
}

.performance time {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 17px;
}

.performance .title {
  font-size: 25px;
  font-weight: 600;
}

.performance .venue {
  font-size: 20px;
  font-weight: 400;
  margin-top: 5px;
}

.performance .programme {
  margin-top: 20px;
}

.piece {
  margin-top: 5px;
  margin-bottom: 5px;
}

.piece .composer {
  font-weight: 600;
}

.buy-tickets {
  color: var(--main-dark);

  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.1em;
  font-weight: 700;

  display: inline-block;

  border-bottom: 1px solid var(--main-dark);
}

.past {
  cursor: default;
}

/* =================================
               Events
================================= */

@media (max-width: 1099px) {
  .performance {
    flex-direction: column;
    flex-wrap: wrap;

    border-bottom: 1px solid #c2c1c1;
  }

  .performance time {
    order: 1;
  }

  .performance .description {
    order: 2;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .ticketing {
    order: 3;
  }

  .buy-tickets {
    font-size: 15px;
    padding-bottom: 2px;
  }
}

@media (min-width: 1100px) {
  .performance {
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 30px;

    border-bottom: 1px solid #c2c1c1;
  }

  .performance time {
    order: 1;
    flex-shrink: 0;
    width: 210px;
  }

  .performance .description {
    order: 2;
    flex-shrink: 0;
    width: 550px;
  }

  .performance .ticketing {
    order: 3;
    flex-shrink: 0;
    width: 120px;
    height: 18px;

    display: flex;
    justify-content: end;
  }

  .buy-tickets {
    font-size: 17px;
  }
}
