* {
  margin: 0;
  padding: 0;
  font-family: "Josefin Sans", sans-serif;
}

:root {
  --main-bg-color: #292f36;
}

html,
body {
  background-color: var(--main-bg-color);
}

#header {
  display: grid;
  grid-auto-flow: column;
  padding: 5px;
  color: #f6ee24;
  height: 65px;
  align-items: center;
}

#header > div:first-child {
  text-align: left;
}

#header > div:last-child {
  text-align: right;
}

#main {
  width: 100%;
}

#game_entries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

#game_entries > *:nth-child(2n-1) {
  justify-self: center;
  text-align: center;
}

#game_entries > *:nth-child(2n) {
  justify-self: end;
  text-align: right;
}

#game_entries > *:nth-child(2n-1):nth-last-of-type(1) {
  grid-column: span 2;
}

#game_entries > *:nth-child(2n-2):nth-last-of-type(1) {
  grid-column: span 1;
}

.game {
  width: 100%;
  height: 600px;
  transition: 0.2s;
  user-select: none;
}

.game > div {
  height: 100%;
  display: grid;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.game.Time-iT {
  background-color: #468ab4;
}

.game.Land-iT {
  background-color: #0a1045;
}

.game.Clock-iT {
  background-color: #000000;
}

.playText {
    opacity: 0;
    color: white;
    transition: 0.2s;
    text-align: center;
    margin-top: 30px;
}
.game:hover .playText {
    opacity: 1;
}

.game:hover.Land-iT {
  background-color: #0e1661;
}

.game:hover.Time-iT {
  background-color: #519fcf;
}

.game:hover.Clock-iT {
  background-color: #212121;
}

.game_icon > img {
  width: 220px;
}

.game_icon {
  display: grid;
  justify-content: center;
  align-items: center;
  align-content: center;
  height: 220px;
}

.game_name {
  text-align: center;
  font-size: 2.4rem;
  padding-top: 10px;
  color: yellow;
}

#footer {
  margin-top: 10px;
  margin-bottom: 20px;
  display: grid;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #00afef;
  font-size: 1.5rem;
}

.logoImg {
    width: 40px;
    padding-left: 5px;
}

.mailImg {
    width: 30px;
    padding-right: 5px;
}

.appstore-logos {
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 10px;
}

.appstore-logos > a > img,
.appstore-logos > img {
  width: 30px;
  padding: 10px;
}

.copyright {
  padding-top: 10px;
  color: white;
  font-size: 0.8rem;
  margin-top: 20px;
}

amp-ad {
    margin-bottom: 20px;
}