body {
   margin: 0;
   font-size: 1.125rem;
   font-weight: 400;
   font-family: 'Raleway', sans-serif;
   line-height: 1.6;
}


img {
   max-width: 100%;
   display: block;
}

h3 {
   margin: 0;
}

.home-header {
   position: fixed;
   top: 0;
   width: 100%;
   box-shadow: 0px 2px 8px #d3d3d3;
   background-color: white;
}

.main {
   margin: 120px auto 0;
   text-align: center;
}

/* --- Navigation --- */

.nav-full {
   display: none;
}

.nav-menu_logo {
   margin: 1em 0;
}

.nav-link {
   list-style: none;
}

.nav-link a {
   text-decoration: none;
   font-size: 1.2rem;
   color: #232323;
   letter-spacing: 0.1em;
   font-weight: 400;
   text-transform: uppercase;
   padding: .25em 0;
   transition: color 0.3s ease;
}

.nav-link a:hover,
.nav-link a:focus {
   text-decoration: none;
   color: #1792D2;
   transition: color 0.3s ease;
}

.nav-bar {
   display: flex;
   justify-content: center;
   position: relative;
}

#nav-bar input {

}

#nav-menu_list li {
  text-decoration: none;
  color: #232323;
  transition: color 0.3s ease;
}

/* Just a quick hamburger */
#nav-menu {
   display: flex;
   flex-direction: column;
   justify-content: center;
   position: absolute;
   left: 20px;
   align-self: center;
   z-index: 1;
   -webkit-user-select: none;
   user-select: none;
}

#nav-menu span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #747474;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#nav-menu span:first-child {
  transform-origin: 0% 0%;
}

#nav-menu span:last-child {
  transform-origin: 0% 100%;
}

#nav-menu input {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}

/* Color bars darker */
#nav-menu input:checked ~ span {
  background: #232323;
}

/* Rotate the first bar down */
#nav-menu input:checked ~ span:nth-last-child(1) {
   transform: rotate(-45deg) translate(1px, 1px);
}

/* Hide the middle bar. */
#nav-menu input:checked ~ span:nth-last-child(2) {
  opacity: 0;
  /* transform: rotate(0deg) scale(0.2, 0.2); */
}

/* Rotate the third bar up */
#nav-menu input:checked ~ span:nth-last-child(3) {
  transform: rotate(45deg) translate(0, -1px);
}

/* Make this absolute positioned at the top left of the screen */
#nav-menu_list {
  position: absolute;
  width: 300px;
  top: 0;
  margin: -100px 0 0 -50px;
  padding: 150px 50px 30px;
  background: #ededed;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#nav-menu_list li {
  padding: 10px 0;
  font-size: 22px;
}

/* And let's slide it in from the left */
#nav-menu input:checked ~ #nav-menu_list {
  transform: none;
}

.nav-logo {
   max-width: 120px;
   height: auto;
}

.current-page {
   border-bottom: 2px solid #707070;
}

@media (min-width: 740px) {
   .nav-mobile {
      display: none;
   }
   .nav-full {
      display: flex;
      flex-direction: column;
   }

   .nav-link {
      margin: 1em;
      align-self: center;
   }
}

.nav-games {
   max-width: 640px;
   margin: 0 auto;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
}

.game {
   width: 240px;
   height: auto;
   margin: 2em;
}

.game a {
   text-decoration: none;
}

.game a:visited {
   color: #000;
}
