@import url('https://fonts.googleapis.com/css?family=Fredoka+One');
@import url('https://fonts.googleapis.com/css?family=Montserrat');

body, html {
  margin:0;
  padding:0;
}

#top-bar {
  font-family: 'Fredoka One', sans-serif;
  background: #49D24E;
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: 10vh;
  font-size: 25px;
}

#top-bar h1 {
  color: white;
  padding: 0 0 0 5px;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#content {
  height: 90vh;
  width: 100vw;
  background: white;
  padding: 30px;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

#content span {
  font-size: 30px;
}

.games {
  width: 100%;
  height: 99%;
  padding: 30px;
  box-sizing: border-box;
}

.game-card {
  width: 350px;
  height: 350px;
  position: relative;
  float: left;
  margin: 10px 25px;
  box-sizing: border-box;
}

.game-card img {
  width: 90%;
  height: auto;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  transition: all 0.5s ease;
}

.game-card:hover {
  cursor: pointer;
}

.game-card:hover > img {
  transform: translate(-50%, -10px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.game-info {
  width: 100%;
  height: 60%;
  border-radius: 0 0 15px 15px;
  background: white;
  position: absolute;
  bottom: 0;
  box-sizing: border-box;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.game-title {
  padding: 10px 0 0 20px;
  font-size: 20px;
  width: 100%;
  height: auto;
}

.game-desc {
  margin: 0 20px;
  font-size: 12px;
}