.thumbnails {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin: auto;

  color: white;

  cursor: pointer;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  background-size: cover;
}

.thumbnail {
  margin: 1em 0;
  color: var(--the-black);
  position: relative;
  box-sizing: border-box;

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  display: flex;
  flex-flow: column nowrap;

  justify-content: space-between;
  align-content: space-between;
}

.thumbnail:before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(180deg,hsla(0,0%,9%,.5),hsla(0,0%,9%,.4) 50%);
}

.thumbnail * {
  position: relative;
}

.thumbnail h3 {
  padding: 0;
}

.thumbnail-content {
  display: block;
  background-color: white;
  width: 90%;
  position: absolute;
  top: 15em;
}

.thumbnail p {
  color: black;
  padding-right: 1em;
}

.thumbnail p > a {
  color: var(--the-yellow);
}

.thumbnail-small {
  width: 17em;
  height: 17em;
}

.thumbnail-med {
  width: 20.625em;
  height: 20.625em;
}

.thumbnail-big {
  width: 24em;
  height: 24em;
}

.thumbnail-huge {
  width: 36em;
  height: 36em;
}

@media (max-width: 1080px) {
  .thumbnails {
    flex-flow: column;
  }

  .thumbnail {
    display: block;
  }

  .thumbnail,
  .thumbnail-small,
  .thumbnail-med,
  .thumbnail-big,
  .thumbnail-huge {
    width: 100%;
    height: auto;
  }
}
