@import url('https://fonts.googleapis.com/css?family=Montserrat:300,500');

body{
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #23262b;
  font-size: 15px;
}

a{
  text-decoration: none;
}

#gallery{
  padding-top: 48px;
  margin: auto;
  width: 90%;
  padding-left: 48px;
}

.YearDivider{
  width: calc(100% - 48px);
  border-top: 1px solid rgba(255,255,255,0.04);
  display: inline-block;
  margin-top: 24px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  padding-top: 4px;
  box-shadow: 0px -2px 0px rgba(0,0,0,0.4);
  box-sizing: border-box;
}

.Movie{
  width: auto;
  margin-right: 48px;
  margin-bottom: 48px;
  float: left;
}

.Movie h3{
  font-size: 15px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  margin: 0;
}

.Movie .MovieDate{
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.Movie img{
  width: 260px;
  height: auto;
  margin-bottom: 6px;
  border-radius: 3px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.4);
  transition: 0.2s ease;
}

.Movie:hover img{
  transform: scale(1.04);
  box-shadow: 0px 3px 16px rgba(0,0,0,0.3);
}


#popover{
  display: none;
  position: fixed;
}

#popover #dimmer{
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.7);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  padding: 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#popover video{
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 8px;
}


@media screen and (max-width: 1024px) {
  #gallery{
    width: 92%;
  }

  .Movie img{
    width: 186px;
  }
}

@media screen and (max-width: 420px) {
  body{
    font-size: 12px;
  }

  #gallery{
    width: 98%;
    padding-left: 24px;
  }

  .YearDivider{
    width: calc(100% - 24px);
  }

  .Movie img{
    width: 128px;
  }

  .Movie{
    margin-right: 24px;
    margin-bottom: 24px;
  }

  .Movie h3{
    font-size: 12px;
  }

}
