/*
 * Copyright 2017 The boardgame.io Authors
 *
 * Use of this source code is governed by a MIT-style
 * license that can be found in the LICENSE file or at
 * https://opensource.org/licenses/MIT.
 */

body {
  padding: 0 3em 5em;
  text-align: center;
  background: var(--mono-tint3);
}

.octo-arm,
.octo-body {
  fill: var(--mono-tint3);
}

#summary {
  font-size: 1.125em;
}

#main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
  line-height: 1.5;
}

#features h3 {
  margin: 0 0 .5em;
  font-size: 1em;
}

#features > div {
  border-radius: 5px;
  box-shadow: 0 0 5px var(--mono-tint2);
  border: 1px solid var(--mono-tint2);
  width: 200px;
  height: 200px;
  padding: 20px;
  background: var(--base-background-color);
}

#content {
  margin: auto;
}

#topbar {
  margin: .5em 0;
  font-size: 1.2em;
}

#heading {
  font-size: 1.4em;
}

#topbar a,
#topbar a:visited {
  margin: 0 1em;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  body {
    padding: 0 1em 6em;
  }

  #features {
    grid-template-columns: 1fr;
  }

  #features > div {
    width: 300px;
    max-width: 100%;
    height: auto;
    font-size: 0.8em;
  }

  #summary {
    font-size: 1em;
  }

  #topbar,
  #heading {
    font-size: 1.125em;
    font-weight: bold;
  }

  #content {
    font-size: 1.3em;
  }

  .web-only {
    display: none;
  }
}
