/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.bandyplay-wrapper {
  display: grid;
  grid-auto-columns: minmax(20rem, auto);
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  grid-gap: 1rem;
}

.bandyplay-video {
  background-position: top;
  background-repeat: no-repeat;
  background-size: 106%;
  background-color: transparent;
  background-blend-mode: overlay;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.5s;
}
.bandyplay-video:hover {
  background-size: 110%;
  background-color: #a0a0a0;
  background-blend-mode: overlay;
  transition: all 0.5s;
}

.bandyplay-image {
  position: relative;
}
.bandyplay-video-title {
  background-color: #005990;
  padding: 15px 20px;
  width: 100%;
  height: 100%;
  text-align: center;
}

.bandyplay-video-title h3 {
  color: #f1f1f1;
  padding-bottom: 0;
  font-size: 18px;
}
.bandyplay-video-date {
  position: absolute;
  right: 0px;
  top: 0px;
  text-align: center;
  background-color: #005990;
  color: #f1f1f1;
  padding: 10px;
  width: 26%;
  border-bottom-left-radius: 30px;
}

.bandyplay-video img {
  visibility: hidden;
}
/* On screens that are 992px wide or less, go from four columns to two columns */
@media screen and (max-width: 980px) {
  .bandyplay-wrapper {
    column-count: 2 !important;
  }
}

@media screen and (max-width: 600px) {
  .bandyplay-wrapper {
    column-count: 1 !important;
  }
}
