/* Global */
a {
  color: #637A91;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
html, body {
    height: 100%;
}
body {
  margin: 0;
  font-weight: 300;
  color: #333;
  font-family: sans-serif;
  background: rgb(254,254,254);
  background: linear-gradient(90deg, rgba(254,254,254,1) 0%, rgba(200,213,226,1) 78%, rgba(192,202,212,1) 100%);
}

.container {
  max-width: 55rem;
  margin: 2.5rem auto 5rem auto;
  display: flex;
  flex-direction: column;
  width: 90%;
  min-height: 100%;
}

.row {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.col {
  display: flex;
  flex-direction: column;
}

.heading {
  display: flex;
  flex-direction: column;
}

.heading .logo {
  display: flex;
  flex-direction: row;
}

.heading p {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Info Column */
.col.info {
  justify-content: space-around;
  margin-bottom: 2rem;
}

.heading h1 {
  text-align: center;
  letter-spacing: 0.1rem;
  font-size: 3.5rem;
  font-weight: 300;
  background: url('title.png') center center no-repeat;
  background-size: contain;
  padding-left: 3rem;
  text-indent: -9999px;
  margin-bottom: 0;
}

.appstore-badge {
  width: 180px;
  margin: 0 auto;
  display: block;
}

/* Screenshot */
.screenshot picture {
  margin: 0 auto;
  width: 320px;
}

/* Footer links */
footer ul {
  font-size: 0.8rem;
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer ul li a:hover {
  text-decoration: underline;
}



/* Fullscreen Styles (two columns) */
@media (min-width: 1100px) {
  .container {
    justify-content: space-around;
  }

  .row {
    flex-direction: row;
  }

  .col {
    width: 50%;
  }

  footer ul li {
    display: inline;
    margin-right: 0.5rem;
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  body {
    color: #999999;
    background: rgb(121,126,131);
    background: linear-gradient(90deg, rgba(48,71,94,1) 0%, rgba(28,42,60,1) 35%, rgba(15,31,46,1) 100%);
  }

  a {
    color: rgb(243, 244, 248);
  }

  .heading h1 {
    background-image: url('title-dark.png');
  }

}
