html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
  text-align: center;
  font-size: 1.5em;
  line-height: 2em;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  margin: 0;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

img,
svg,
embed,
object,
audio,
video {
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
  text-align: left;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, 'Helvetica Neue', sans-serif;
  font-size: 20px;
  line-height: 1.25em;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
}

body {
  background-image: url('/the-first-million/bg.png');
  background-size: 512px;
  min-height: 100vh;
  color: #abb2bf;
  text-shadow: 1px 1px 1px #000;
  font-size: 20px;
}

a,
a:visited {
  color: #6fdf9a;
}

a:active {
  color: #6fdf9a;
}

a:hover {
  text-decoration: none;
}

p {
  max-width: 600px;
  margin: 0 auto 1em auto;
}

ul.list {
  list-style-type: disc;
  padding: 0em 0 0 1em;
}

@media only screen and (min-width: 800px) {
  ul.list {
    padding: 0 0 0 1em;
    max-width: 500px;
    margin: 0 auto;
  }
}

.page {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0.5em;
}

.logo {
  margin: 2em auto;
  display: block;
  width: 100%;
  max-width: 500px;
}

.short_desc {
  display: block;
  max-width: 500px;
  margin: 1em auto;
}

.center {
  text-align: center;
}

.gif {
  display: block;
  margin: 0 auto;
}

.mv-1 {
  margin: 1em auto;
}

.section {
  margin: 2.5em auto;
}

/* Stores */
.stores {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 640px;
}

.stores a {
  display: inline-flex;
  position: relative;
  margin: 0.5em;
  max-width: 200px;
}

.stores a .tooltip {
  position: absolute;
  top: -31px;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
}

.stores a .tooltip:before {
  content: '';
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #d9b68a;
  position: absolute;
  bottom: -15px;
  left: 50%;
  margin-left: -10px;
}

.stores a .tooltip span {
  background: #d9b68a;
  color: #151419;
  border-radius: 2px;
  padding: 5px 10px;
}

.stores a.disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.6;
}

@media only screen and (min-width: 800px) {
  .stores {
    flex-direction: row;
  }
}

/* Trailer */
.trailer {
  max-width: 580px;
  margin: 0 auto;
}

.iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* Screenshots */
.screenshots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.screenshot {
  margin: 2%;
  flex: 0 0 46%;
}

.screenshot a,
.screenshot a:hover {
  border: none;
}

.screenshot__thumbnail {
  display: block;
}

.screenshot__lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
}

.screenshot__lightbox img {
  max-width: 90vw;
  max-height: 90vh;
}

.screenshot__lightbox:target {
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (min-width: 800px) {
  .screenshot {
    margin: 1%;
    flex: 0 0 30%;
  }
}

/* Fonts */
@font-face {
  font-display: swap;
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 500;
  src: url('./font/alegreya-v31-latin-500.eot'); /* IE9 Compat Modes */
  src:
    url('./font/alegreya-v31-latin-500.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */ url('./font/alegreya-v31-latin-500.woff2') format('woff2'),
    /* Super Modern Browsers */ url('./font/alegreya-v31-latin-500.woff')
      format('woff'),
    /* Modern Browsers */ url('./font/alegreya-v31-latin-500.ttf')
      format('truetype'),
    /* Safari, Android, iOS */ url('./font/alegreya-v31-latin-500.svg#Alegreya')
      format('svg'); /* Legacy iOS */
}

/* Navigation */
ul.nav {
  margin: 0.5em 1em;
  padding: 0.5em 0.5em;
  display: flex;
  justify-content: center;
  font-size: 1em;
}

ul.nav li {
  flex: 0 1 0%;
  margin: 0 0.25em;
}

/* Follow */
ul.follow {
  padding: 0;
  list-style-type: none;
  margin: 40px 0;
  display: flex;
  justify-content: center;
}

ul.follow li a {
  margin: 0 1em;
  display: block;
  border: none;
  width: 50px;
  height: 50px;
  transition: all 0.1s;
}

ul.follow li a:hover {
  transform: scale(1.1);
}

/* Branding */
.branding-wrap {
  display: flex;
}

.branding {
  display: inline-flex;
  margin: 5px;
}

/* Clans */
.art-wrap {
  display: flex;
  justify-content: center;
}

.art {
  margin: 5px;
  max-width: 100px;
}

@media only screen and (min-width: 800px) {
  .clan {
    margin: 1%;
    flex: 0 0 23%;
  }
}
