.gesture-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  height: 100%;
}

.app__screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
  }
  .app__log {
    position: fixed;
    right: 2rem;
    top: 2rem;
    z-index: 9999;
    max-height: calc(100vh - 4rem);
    overflow: auto;
    font-family: monospace;
    font-size: 0.8rem;
  }
  .app__log p {
      font-weight: bold;
    }
  .app__log ul {
      padding-left: 0;
    }
  .app__grid {
    position: fixed;
    left: 2rem;
    bottom: 2rem;
    font-family: monospace;
    font-size: 0.6rem;
  }
  .app__grid span {
      display: inline-block;
      padding: 0.2rem;
      border-right: 1px solid gray;
    }
  .app__grid span:first-child {
        border-left: 1px solid gray;
      }
  .app__grid div {

      border-bottom: 1px solid gray;
    }
  .app__grid div:first-child {
        border-top: 1px solid gray;
      }
  .app__controls {
    position: fixed;
    left: 2rem;
    top: 2rem;
    width: 30vw;
  }
  .app__controls > * + * {
      display: block;
      margin-top: 2rem;
    }
  .app__controls button {
      padding: 0.5em;
      background-color: darkgrey;
    }
  .app__controls .overflow-y {
      height: 9em;
      overflow-y: scroll;
    }
  .app__controls .overflow-x {
      height: 2.5em;
      overflow-x: scroll;
      white-space: nowrap;
    }

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* CSS Reset by Andy Bell https://hankchizljaw.com/wrote/a-modern-css-reset/ */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  //min-height: 100vh; scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
/*article > * + * {
  margin-top: 1em;
}*/

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --fs: 1rem;
  --fs-s: 0.8rem;
  --fs-xs: 0.7rem;
  --fs-l: 1.5rem;
}

html {
  font-size: 90%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--fs);
  line-height: 1.2;
  color: var(--c-p);
}

a {
  cursor: pointer;
  color: var(--c-p);
}

button {
  border: none;
  background-color: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--c-p);
  font-size: var(--fs);
}

::selection {
  color: var(--c-bkg);
  background: var(--c-p);
}

h1,
h2,
h3,
h4 {
  color: var(--c-h);
  font-weight: normal;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 1.4rem;
}

p.text--big {
  font-size: 1.2rem;
}

p.text--center {
  text-align: center;
}

p.text--color-light {
  color: var(--c-p-light);
}

body {
  background-color: var(--c-bkg);
}

html,
body,
#app {
  height: 100%;
}

:root {
  --spacing: 1rem;
  --spacing-half: 0.5rem;
  --spacing-big: 1.5rem;
  --spacing-page: 5vh;
  --spacing-page-double: 10vh;

  --transition-speed: 100ms;

  --c-p: #1d1d1b;
  --c-p-light: #a7a6ad;
  --c-h: #000;
  --c-bkg: #fff;

  --c-primary: #ce171f;
  --c-primary-light: #c97c79;
  --c-primary-dark: #a01217;

  --c-blue: #376fce;
  --c-blue-light: #3686e4;
  --c-blue-dark: #2d5aa8;

  --c-feedback-error: #af1616;

  --c-gray: #c7c8c9;
  --c-gray-light: #d4d5d6;
  --c-gray-bkg: #eeeff0;
  --c-gray-dark: #989898;

  --app-max-width: 800px;
  --footer-height: 80px;

  --form-input-border-radius: 6px;

  --bp-phone: 330px;
  --bp-tablet: 600px;
  --bp-tablet-landscape: 900px;
  --bp-desktop: 1300px;
}

  @media (min-width: 900px) {:root {
    --spacing: 1.6rem;
    --spacing-half: 0.8rem;
    --spacing-page: 3rem
}
  }

body.no-outline a,
  body.no-outline button {
    outline: none;
  }

