body {
  position: relative;
  font-family: 'Lato', sans-serif;
  margin: 0;
  color: #232323;
  background-color: #EFEFEF;
}

img {
  display: block;
}

h1 {
  font-weight: bold;
  font-size: 40px;
}

h2 {
  font-Size: 32px;
}

.tag-line {
  text-align: center;
}

ul {
  padding: 0;
}

li {
  list-style: none;
}

a {
  color: #232323;
  /* text-decoration: none; */
}

.btn {
  background-color: #01C2BB;
  border-radius: 4px;
  padding: 6px 10px;
  color: #fff;
}
.download-btn {
  color: #fff;
}
.mobile-only {
  display: none;
}

.flex-column {
  flex-direction: column;
}
.flex-3 {
  flex: 3;
}
.flex-9 {
  flex: 9;
}
.flex-3 img,
.flex-9 img {
  width: 100%;
}

.top-left {
  position: absolute;
  top: 12px;
  left: 12px;
  height: 60px;
  width: 60px;
  /* border-radius: 24px; */
  z-index: 10;
  justify-content: center;
  align-items: center;
  display: flex;
}


.top-left a {
  display: inline-block;
  padding: 4px 0 0 2px;
}

.top-left a img {
  position: absolute;
  top: 0px;
  left: 0px;
  display: inline-block;
  width: 100%;
  height: 100%;
}

.top-left-shadow-box {
  height: 48px;
  width: 48px;
  border-radius: 24px;
  box-shadow: 0 0px 15px 0 rgba(0,0,0,.9);
}

/* FOOTER */

footer h3 {
  margin-bottom: 0;
  font-size: 32px;
  color: #FFF;
}

.social-icon {
  width: 40px;
  height: 40px;
  margin: 10px;
}

footer {
  position: absolute;
  bottom: 0px;
  left: 0;
  background-color: #000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding-bottom: 25px;
  width: 100%;
  display: flex;
}

footer ul {
  font-size: 12px;
  margin: 0;
  height: inherit;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}
footer ul a {
  padding: 0 10px;
}

footer a {
  padding: 0px;
}

footer .socials {
  justify-content: center;
}

footer .privacy {
  margin-top: 10px;
  justify-content: center;
  flex-direction: row;
}

footer .privacy a {
  font-size: 14px;
  margin: 0 10px;
}

.copyright {
  /* margin-top: 20px; */
  font-size: 12px;
  color: white;
}


/* RESPONSIVE QUERIES */

/* @media (max-width: 1000px) {
  .footer-main {
    position: static;
  }
} */

.mobile-copyright {
  display: none;
}

.flex-center {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
}

.navbar {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  padding: 20px 26px 0;
  align-items: center;
  z-index: 1000;
}
.navbar .logo {
  width: 64px;
  margin-right: 16px;
}
.navbar .logo-title {
  font-size: 36px;
}
.navbar .sub-title {
  transform: translateY(4px);
  margin-left: 15px;
  padding: 2px 6px;
  color: #fff;
  font-size: 12px;
  background-color: #01C2BB;
  border-radius: 4px;
}
.socials {
  position: absolute;
  top: 0;
  right: 12px;
  display: flex;
  z-index: 10;
  background-color: #fff;
  height: 48px;
  padding: 0 10px;
  border-radius: 48px;
  align-items: center;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,.1)
}
.socials li,
.socials img {
  height: 24px;
}
.socials li {
  margin: 0 5px;
}
.socials li a {
  display: block;
  font-weight: bold;
  font-size: 18px;
}
.fixed-navbar {
  display: flex;
  justify-content: space-between;
  position: fixed;
  height: 48px;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  transform: translateY(-48px);
  box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
  transition: transform .3s;
  z-index: 1000;
}
.fixed-navbar .logo {
  margin-right: 8px;
}
.fixed-navbar .logo-title {
  font-size: 24px;
}
.fixed-navbar ul {
  display: flex;
  margin: 0;
  padding: 0 20px;
  height: 48px;
  justify-content: flex-end;
  align-items: center;
}
.fixed-navbar li {
  height: 48px;
  line-height: 48px;
  margin: 0 10px;
}
.fixed-navbar img {
  height: 32px;
}
.fixed-navbar a {
  height: 48px;
}

.content {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-bottom: 400px;
}

.mailing-list {
  flex: 1;
  padding: 0 20px;
  min-height: 100px;
}
.mailing-list .tag-line {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

/* Sections */
.section {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: #efefef;
}
.section.landing-section {
  padding: 0 0 0 140px;
  background-color: transparent;
}
.section.mailing-section {
  padding: 100px 20px 150px;
  flex-direction: column;
}
.section.presskit-section {
  padding: 40px 20px;
  flex-direction: column;
}
.section.rules-section {
  padding: 40px 20px;
  flex-direction: column;
  line-height: 22px;
}
.section.multiplayer-section,
.section.singleplayer-section {
  padding: 60px 140px;
  background-color: #fff;
  justify-content: space-between;
}
.section.tileset-section {
  padding: 0 50px 0 140px;
  justify-content: space-between;
}
.section.darkmode-section {
  height: 600px;
  padding: 0 140px;
  justify-content: space-between;
  background-color: #fff;
}
.section.darkmode-section .phone-preview {
  position: absolute;
  width: 300px;
  z-index: 1;
}
.section.darkmode-section .phone-preview .background {
  padding-top: 0;
  left: 13%;
  width: 72%;
  background-color: #EFEFEF;
}
.section.darkmode-section .phone-preview .darkmode {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.section.darkmode-section .tag-line.first,
.section.darkmode-section .tag-line.second {
  position: relative;
  text-align: center;
  flex: 1;
  z-index: 1;
}
.section.darkmode-section .tag-line.first {
  color: #2e2e2e;
}
.section.darkmode-section .tag-line.second {
  color: #fff;
}
.section.darkmode-section .dark-background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #2E2E2E;
  opacity: 0;
}

.borderless {
  width: 300px;
  border: 4px solid #fff;
  border-radius: 8px;
  overflow: hidden;
  z-index: 1;
}
.borderless img {
  width: 100%;
}
.borderless.slideleft {
  transform: translateX(80%);
  z-index: 0;
}
.borderless.slideright {
  transform: translateX(-80%);
  z-index: 0;
}

.crossfade {
  position: relative;
}
.crossfade.game {
  width: 300px;
  height: 434px;
}
.crossfade.gamelist {
  width: 400px;
  height: 800px;
  margin-top: -120px;
  margin-bottom: -110px;
}
.crossfade .game-tileset,
.crossfade .gamelist-tileset {
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
  transition: opacity 1s;
}
.crossfade .game-tileset.active,
.crossfade .gamelist-tileset.active {
  opacity: 1;
}
.gamelist-tileset-phone {
  position: relative;
  width: 300px;
}
.gamelist-tileset-phone .phone-preview {
  top: 0;
  left: 0;
  width: 100%;
  transform: none;
}

/* Press Kit */
#trailer-yt {
  padding: 5px;
  border-radius: 8px;
  border: 2px solid #ccc;
  background-color: #fff;
}

.socials-column {
  flex-direction: column;
}

.fact-sheet h3 {
  margin-bottom: 5px;
}
.fact-sheet p,
.fact-sheet ul {
  line-height: 22px;
  margin-top: 0;
}
.fact-sheet ul {
  margin-left: 20px;
}
.fact-sheet ul li {
  list-style: circle;
  margin-bottom: 3px;
}
.branding {
  margin: 0 auto;
  padding: 0 140px;
  max-width: 640px;
}
.branding .flex-9 {
  display: flex;
  align-self: stretch;
}
.branding .downloadable {
  background-image: url('img/checkerboard-bg.jpg');
}
.downloadable {
  padding: 20px;
  margin: 10px 5px 0;
  border-radius: 8px;
  border: 2px solid #ccc;
}
.horizontal-scroll {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 10px;
  /* align-self: center; */
  /* justify-content: center;
  align-items: center; */
}
.horizontal-scroll .downloadable {
  display: inline-block;
  padding: 5px;
  max-height: 400px;
  background-color: #fff;
}
.horizontal-scroll .downloadable img {
  height: 100%;
  max-height: inherit;
}
.quote {
  font-size: 20px;
  line-height: 32px;
  max-width: 640px;
  font-style: italic;
}
.quote a {
  display: block;
  font-style: normal;
  color: #01C2BB;
  margin-left: 10px;
}

.key-request {
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 1px;
  outline: solid black 2px;
  outline-offset: 8px;
  background-color: #FFF3AD44;
  border-radius: 5px;
  padding: 5px;
}

.store-links {
  display: flex;
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 1px;
  outline: solid black 2px;
  outline-offset: 8px;
  background-color: #BFFFAD44;
  border-radius: 5px;
  padding: 5px;
  flex-direction: column;
}

.key-request h3,
.store-links h3 {
  margin-top: 0px;
  margin-bottom: 10px;
}

.store-links a {
  line-height: 25px;
}

.badge-button {
  height: 40px;
  display: inline-block;
}
.badge-button img {
  height: 100%;
}

.game-list {
  position: relative;
  align-self: flex-end;
}
.game-list .board {
  height: 100vh;
}
.game-list .phone-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
}
.phone-preview img {
  width: 100%;
}
.phone-preview .background {
  background-color: #eef3ec;
  padding-top: 16px;
  position: absolute;
  top: 18%;
  left: 16%;
  width: 68%;
  z-index: -1;
}

/* SAFARI ONLY STYLES */
.safari .mailing-list {
  padding-bottom: 40px;
}


@media (max-width: 768px) {
  .desktop-copyright {
    display: none;
  }

  .mobile-copyright {
    display: block;
  }
  .horizontal-scroll {
    width: 100%;
  }
}

@media (max-width: 600px) {
  body {
    overflow: auto;
    height: auto;
  }

  .mobile-only {
    display: block;
  }

  .content {
    height: auto;
    min-height: calc(100vh - 32px);
    align-items: center;
    justify-content: center;
    display: flex;
  }

  .navbar {
    padding: 20px 12px 0;
  }
  .navbar .logo {
    width: 40px;
    margin-right: 12px;
  }
  .navbar .logo-title,
  h1 {
    font-size: 32px;
    line-height: 36px;
    font-weight: normal;
  }
  .navbar .sub-title {
    font-size: 9px;
    transform: translateY(1px);
    margin-left: 5px;
  }

  .fixed-navbar {
    overflow: hidden;
    transition: height .3s;
  }
  .fixed-navbar.expanded {
    height: 240px;
  }
  .fixed-navbar ul {
    flex-direction: column;
    height: auto;
    padding: 0;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
  }
  .mobile-menu-btn {
    position: absolute;
    right: 0;
    line-height: 48px;
    margin-right: 16px;
  }

  .socials {
    display: none;
  }

  .content {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }
  .section {
    flex-direction: column;
  }
  .section.landing-section,
  .section.multiplayer-section,
  .section.singleplayer-section,
  .section.tileset-section,
  .section.darkmode-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section.darkmode-section {
    flex-direction: column-reverse;
    height: 700px;
  }
  .section.darkmode-section .tag-line.second {
    flex: none;
  }
  .section.darkmode-section .phone-preview {
    top: 50%;
    transform: translateY(-50%);
  }
  .section.landing-section {
    padding-top: 200px;
  }
  .section.singleplayer-section {
    flex-direction: column-reverse;
  }
  .section.presskit-section:first-child,
  .section.rules-section:first-child {
    /* padding-bottom: 100px */
  }

  .borderless {
    width: 50%;
  }

  .crossfade.game,
  .crossfade.gamelist {
    width: 50%;
    height: auto;
    margin: 0;
  }
  .crossfade.game::before {
    content: '';
    display: block;
    padding-bottom: 145%;
  }
  .crossfade.gamelist::before {
    content: '';
    display: block;
    padding-bottom: 200%;
  }

  .fact-sheet {
    flex-direction: column;
    align-items: flex-start;
  }
  .branding {
    padding: 0;
  }

  .subscribe-form {
    text-align: center;
  }

  .game-list {
    height: 100vh;
    width: 100vw;
    padding-top: 60px;
  }
  .game-list .board {
    height: auto;
    position: fixed;
    width: 324px;
    bottom: 0;
    right: 0;
    z-index: -1;
  }
  .game-list .phone-preview {
    position: relative;
    top: 0;
    width: 100%;
    transform: translateX(-50%)
  }

  .horizontal-scroll .downloadable {
    max-height: 200px;
  }
}

@media (max-height: 600px) {
  .game-list .board {
    bottom: -300px;
  }
}