.main-container {
    width: 90%;
    margin: 0 auto;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

/*================ General Styles =======================*/
  
  ul {
    list-style: none;
  }
  
  /*======================= Responsive image gallery ============================*/
  .image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  
  .image-gallery > li {
    flex-basis: 40%;
    position: relative;
    cursor: pointer;
    margin: .2rem;
  }
  
  .image-gallery::after {
    content: "";
  }
  
  .image-gallery li img {
    border-radius: .3rem;
    object-fit: cover;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
  }
  
  .image-gallery > .blur-load {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: .3rem;
    position: relative;
  }
  .blur-load::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    background-color: rgba(116,116,116,0.2);
    animation: pulse 1.5s infinite;
  }
  .blur-load.loaded::before {
    content: none;
  }
  @keyframes pulse {
    0% {
      width: 0;
    }
    100% {
      width: 100%;
    }
  }
  .blur-load.loaded > img{
     opacity:1;
  }
  .blur-load > img {
    opacity:0;
    transition: opacity 800ms ease-in-out;
  }
  
  /******* IMAGE OVERLAY STYLING **********/
  
  .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(57, 57, 57, 0.502);
    top: 0;
    left: 0;
    font-size: 1rem;
    transform: scale(0);
    transition: all 0.2s 0.1s ease-in-out;
    color: #fff;
    /* center overlay text */
    display: flex;
    border-radius: 5px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }
  .item-name {
    font-weight: 700;
    text-align:center;
  }
  @media screen and (max-width: 900px){
    .overlay {
      font-size: 0.675rem;
    }
  }
  /* hover */
  .image-gallery li:hover .overlay,
  .image-gallery li:focus .overlay {
    transform: scale(1);
  }
  
  /********* OVERLAY AWARD & PLAY ICON STYLING **********/
  .awards {
    margin-top: 5px; /* Add some spacing between video name and awards */
    padding: .3rem;
    display: flex;
    flex-direction:column;
    justify-content:center;
    align-items: center;
  }
  .awards i {
    padding: .2rem;
  }
  @media screen and (min-width: 768px) {
    .award-text {
      text-align: center;
    }
  }
  .play-icon {
    opacity:0;
  }
  
  /*======================+==== OVERLAY STYLES FOR TOUCH DEVICES ================================*/
  @media (hover: none) {
    /* If the device doesn't support hover, apply the effect on focus */
    .play-icon {
      opacity: 1;
      font-size: .6rem;
      padding: .1rem;
    }
    .awards {
      display: block;
      margin-top: 5px; /* Add some spacing between video name and awards */
      padding: 0 .2rem;
      margin-left:.2rem;
    }
    .award-text {
      font-size: .5rem;
      text-align:center;
    }
  }
  
  @media screen and (max-width: 768px) {
    .overlay {
      font-size: .5rem;
    }
    /* If the device doesn't support hover, apply the effect on focus */
    .play-icon {
      opacity: 1;
      font-size: .6rem;
      padding: .1rem;
    }
    .awards {
      display: block;
      margin-top: 5px; /* Add some spacing between video name and awards */
      padding: 0 .2rem;
      margin-left:.2rem;
    }
    .award-text {
      font-size: .5rem;
      text-align:center;
    }
  }
  
  /*================ MAGNIFIC ANIMATIONS ========================*/
  .mfp-fade.mfp-bg {
    opacity: 0;
    transition: opacity 0.4s ease-out;
  }
  
  .mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transition: opacity 0.4s ease-out;
  }
  
  .mfp-fade.mfp-ready.mfp-bg {
    opacity: 0.8;
  }
  
  .mfp-fade.mfp-ready.mfp-wrap .mfp-content {
    opacity: 1;
  }
  .mfp-fade.mfp-removing.mfp-bg {
  opacity: 0;
  transition: opacity 0.4s ease-out;
  }
  
  .mfp-fade.mfp-removing.mfp-wrap .mfp-content {
  opacity: 0;
  transition: opacity 0.4s ease-out;
  }