.library {
  display: flex;
  flex-direction: column;

  & > .match-media {
    overflow: hidden;
    padding: 30px;
    grid-column-start: 1;
    grid-column-end: 3;
  }
}

@media only screen and (min-width: 720px) {
  .library {
    & > .match-media {
      &.open-true {
        height: 46vh;
      }

      &.open-false {
        height: 16vh;
      }
    }
  }
}

@media only screen and (min-width: 1080px) {
  .library {
    & > .match-media {
      padding: 60px 90px;
    }
  }
}

@media only screen and (max-height: 720px) {
  .library {
    & > .match-media {
      padding: 60px 90px;

      &.open-true {
        height: 70vh;
      }

      &.open-false {
        height: 27vh;
      }
    }
  }
}
