.note {
  max-width: 35rem;
  margin: 0 auto;
}
.note-header {
  text-align: center;
}
.note-date {
  margin-bottom: .5rem;
  display: block;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  grid-gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 3rem 0;
}
.gallery figure a {
  border: 0;
}
.gallery figure {
  margin: 0;
  padding: 0;
}

@media screen and (min-width: 45rem) {
  .gallery {
    margin-left: -3rem;
    margin-right: -3rem;
  }
}




.album-cover {
    position: relative;
    line-height: 0;
    margin-bottom: 6rem;
    background: #000;
    padding-bottom: 75%;
  }
  .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, .5);
    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: 100%;
  }
  .album-cover h1 {
    font-size: 3rem;
  }
  .album-text {
    max-width: 40rem;
    margin: 0 auto 6rem;
    text-align: center;
  }
  .album-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    margin: 0 auto;
    grid-gap: 1rem;
    max-width: calc(var(--content-width) - 15rem);
    justify-content: center;
  }
  .album-gallery[data-even] {
    grid-template-columns: repeat(4, 1fr);
  }
  .album-gallery[data-count="1"] {
    grid-template-columns: 1fr;
  }
  .album-gallery[data-count="2"] {
    grid-template-columns: 1fr 1fr;
  }
  
  .album-gallery figure {
      cursor: pointer;
  }
  
  .album-gallery img {
      width: 100%;
  }
  
  .album-headline {
      text-align: center;
      margin: 60px 0px 20px;
  }
  
  .album-tags {
      margin-top: 50px;
  }
  
  @media screen and (min-width: 768px) {
      .album-headline {
          margin: 60px 0px 30px 0;
      }    
  }
  
  .album figcaption p {
      font-size: 12px;
      color: #777;
  }
  
  .album figure {
      position: relative;
  }
  
  .album figure::after{
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      display: block;
      content: '';
      background-color: rgba(255,255,255,0);
      transition: all 0.3s;
  }
  
  .album figure:hover:after{
      background-color: rgba(255,255,255,0.3);
  }
  