/* general */

:root {
  font-family: Inter, sans-serif;
  font-feature-settings: "liga" 1, "calt" 1; /* fix for Chrome */
}

@supports (font-variation-settings: normal) {
  :root {
    font-family: InterVariable, sans-serif;
  }
}

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

* {
  margin: 0;
  color: white;
}

h1,
h2,
h3,
p,
header,
footer {
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

.selectable,
.selectable * {
  user-select: text !important;
  -webkit-user-select: text !important;
  cursor: text !important;
}

.mb-1 {
  margin-bottom: 12pt;
}

.mb-2 {
  margin-bottom: 24pt;
}

/* layout */

html {
  height: 100%;
  background-color: #248232;
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  text-align: center;
  justify-items: center;
  padding: 12pt;
}

main {
  max-width: 400pt;
}

div.screenshots {
  display: inline-flex;
  gap: 16pt;
  justify-content: center;
  flex-wrap: wrap;
}

h1 {
  font-size: 36pt;
}

h2 {
  font-size: 18pt;
  opacity: 80%;
}

p {
  display: block;
  font-size: 16pt;
}

.app-store {
  padding: 8pt 12pt;
  border: none;
  border-radius: 8pt;
  background-color: #2ba84a;
  font-size: 18pt;
}

.app-store {
  box-shadow: 1px 3px 0px #1d5e27;
  text-decoration: none;
}

.app-store:hover {
  box-shadow: 2px 4px 0px #1d5e27;
}

.app-store:active {
  box-shadow: 1px 1px 0px #1d5e27;
}

img.logo {
  opacity: 90%;
}

img.screenshot {
  box-shadow: 0pt 0pt 16pt #1d5e27;
  border-radius: 12pt;
}

footer {
  margin-top: 48pt;
  font-size: 10pt;
  line-height: 10pt;
  min-height: 24pt;
  opacity: 80%;
}
