
.album {
  margin-top: 12rem;

}



.album-cover {
  position: relative;
  line-height: 0;
  margin-bottom: 2rem;
  background: #fff;
  padding-bottom: 40%;
}
.album-cover figcaption {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(0,0,0, 0);
  text-align: center;
  color: #fff;
  line-height: 1;
  padding: 1.5rem;
}
.album-cover img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 0rem);
}
.album-cover h1 {
  font-size: 3rem;
}
.album-text {
  max-width: 40rem;
  margin: 5rem auto 6rem;
  text-align: center;
}

.album-gallery {
  display: grid;
  list-style: none;
  grid-gap: .6rem;
  line-height: 0;
  grid-template-columns: repeat(auto-fill, minmax(17vw, 1fr));
  grid-auto-rows: minmax(auto, auto);
  grid-auto-flow: dense;
  margin: 0 auto;
  justify-content: center;


}

.columns {
  column-width: 20vw;
  max-width: calc(var(--content-width) - 10vw);
  column-gap: .6rem;
  margin: 0 auto;
}

@media screen and (max-width: 40rem) {
/* start of phone styles */
  
  .album-gallery {
    display: grid;
    list-style: none;
    grid-gap: .6rem;
    line-height: 0;
    grid-template-columns: repeat(auto-fill, minmax(25vw, 1fr));
    grid-auto-rows: minmax(auto, auto);
    grid-auto-flow: dense;
    margin: 0 auto;
    justify-content: center;
    z-index: 1;

}

  .album {
    position:relative;
    margin-top: 16rem;
    z-index: 1;
  }

  .columns {
    column-width: 25vw;
    max-width: calc(var(--content-width) - 10vw);
    column-gap: .6rem;
    margin: 0 auto;
    z-index: 1;
  }


}



