@font-face {
  font-family: 'OpenSans';
  src: url("../fonts/OpenSans-Regular-webfont.ttf");
  src: url("../fonts/OpenSans-Regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/OpenSans-Regular-webfont.woff") format("woff"), url("../fonts/OpenSans-Regular-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'OpenSans';
  src: url("../fonts/OpenSans-Bold-webfont.ttf");
  src: url("../fonts/OpenSans-Bold-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/OpenSans-Bold-webfont.woff") format("woff"), url("../fonts/OpenSans-Bold-webfont.ttf") format("truetype");
  font-weight: bold;
  font-style: normal; }

@font-face {
  font-family: 'OpenSans';
  src: url("../fonts/OpenSans-Italic-webfont.ttf");
  src: url("../fonts/OpenSans-Italic-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/OpenSans-Italic-webfont.woff") format("woff"), url("../fonts/OpenSans-Italic-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: italic; }

@font-face {
  font-family: 'OpenSans';
  src: url("../fonts/OpenSans-BoldItalic-webfont.ttf");
  src: url("../fonts/OpenSans-BoldItalic-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/OpenSans-BoldItalic-webfont.woff") format("woff"), url("../fonts/OpenSans-BoldItalic-webfont.ttf") format("truetype");
  font-weight: bold;
  font-style: italic; }

/**
RESET
**/
* {
  margin: 0;
  padding: 0;
  outline: none;
  list-style: none;
  box-sizing: border-box; }

main, section, aside, subline, subhead, header, footer {
  display: block; }

h1, h2, h3, h4, h5, h6 {
  font-weight: normal; }

button {
  cursor: pointer;
  background: none;
  border: none; }

input, button, textarea {
  font-family: 'OpenSans';
  font-size: 1em; }

html {
  height: 100%; }

body {
  font-family: 'OpenSans';
  color: #FFFFFF;
  height: 100%; }

a {
  color: #FFFFFF;
  text-decoration: underline; }

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

@keyframes rotateThis {
  from {
    transform: rotate(0deg);
    transform-origin: 50%; }
  to {
    transform: rotate(360deg);
    transform-origin: 50%; } }

/*
 :::  Reset
-------------------------------------------------- */
html {
  box-sizing: border-box;
  overflow-y: -moz-scrollbars-vertical; }

*, *::before, *::after {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: manipulation; }

article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, subhead, summary {
  display: block; }

ol, ul {
  list-style: none; }

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

input, select {
  border-radius: 0; }

button {
  cursor: pointer;
  background: none;
  border: none;
  display: inline;
  outline: none; }

.add {
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding-top: calc(env(safe-area-inset-top) + 9em); }
  .add__title {
    position: fixed;
    left: 1em;
    top: calc(env(safe-area-inset-top) + 1em);
    width: 100%;
    font-size: 1.8em;
    transition: transform 0.4s ease-in; }
    .add__title--fade-out {
      transform: translate3d(-200%, 0, 0); }
  .add__container {
    min-height: 100%;
    background: #FFFFFF;
    padding: 1em 0 11em;
    border-radius: 2em 2em 0 0;
    transition: transform 0.4s ease-in, opacity 0.4s ease-in; }
    .add__container:after {
      content: '';
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      height: calc(env(safe-area-inset-top) + 8em);
      background: #FFFFFF;
      background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 40%); }
    .add__container--fade-out {
      transform: translate3d(0, 400px, 0);
      opacity: 0; }
  .add__item:not(:last-child) {
    border-bottom: 1px solid #eee; }
  .add__item-button {
    position: relative;
    width: 100%;
    text-align: inherit;
    padding: 1.4em 1.8em;
    color: #444; }
  .add__item-name {
    display: block;
    font-weight: bold;
    font-size: 0.9em;
    margin-right: 4em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap; }
  .add__item-meta {
    display: block;
    font-size: 0.7em; }
  .add__item-counter {
    position: absolute;
    top: 2em;
    bottom: 2em;
    right: 2.3em;
    line-height: 1.5em;
    display: block;
    font-size: 0.8em;
    padding: 0.3em 1em;
    border: 1px solid #aaa;
    border-radius: 4px;
    color: #888; }
    .add__item-counter--active {
      background: #EF7D40;
      border-color: #EF7D40;
      color: #FFFFFF; }
  .add__buttons {
    position: fixed;
    left: 1.8em;
    right: 1.8em;
    bottom: calc(env(safe-area-inset-bottom) + 1.8em);
    transition: transform 0.4s ease-in, opacity 0.4s ease-in; }
    .add__buttons--fade-out {
      transform: translate3d(0, 400px, 0);
      opacity: 0; }
  .add__button {
    float: left;
    width: 80px;
    line-height: 80px;
    height: 80px;
    font-size: 1.2em;
    z-index: 50;
    background: #FFFFFF;
    border: 1px solid #212839;
    border-radius: 10px; }
    .add__button--add {
      width: 80px;
      font-size: 1.6em;
      margin-right: 20px; }
    .add__button--next {
      float: right;
      width: calc(100% - 110px);
      background: #212839;
      color: #FFFFFF; }
    .add__button[disabled] {
      background-color: #BBBEC3;
      border-color: transparent; }

.add-details {
  width: 100%;
  height: 100%;
  min-height: 100%; }
  .add-details:after {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: env(safe-area-inset-top);
    background: rgba(33, 40, 57, 0.9); }
  .add-details__list {
    padding: calc(env(safe-area-inset-top) + 80%) 0 calc(env(safe-area-inset-bottom) + 6.5em); }
  .add-details__meal {
    transition: opacity 0.3s ease-in 0.3s; }
    .add-details__meal + .add-details__meal {
      margin-top: 2em; }
    .add-details--fade-out .add-details__meal {
      opacity: 0; }
    .add-details__meal-name {
      background: transparent;
      padding: 0 1em 0.6em;
      font-weight: bold;
      font-size: 1.1em;
      color: #FFFFFF; }
    .add-details__meal-container {
      width: 100%;
      padding-bottom: 1em;
      display: flex;
      overflow-x: scroll;
      scroll-snap-type: x mandatory;
      align-items: stretch;
      -webkit-overflow-scrolling: touch; }
  .add-details__field {
    flex: 0 0 7em;
    flex-flow: column;
    justify-content: end;
    scroll-snap-align: center;
    overflow: hidden;
    margin: 0 1em;
    padding: 0.6em 1em;
    background: #FFFFFF;
    border-radius: 0.6em; }
    .add-details__field + .add-details__field {
      margin-left: 0; }
    .add-details__field-label {
      font-size: 0.8em;
      text-transform: uppercase;
      color: rgba(33, 40, 57, 0.6); }
    .add-details__field-input {
      display: block;
      width: 100%;
      font-weight: bold;
      font-size: 1.2em;
      margin-top: 1.6em;
      background: transparent; }
      .add-details__field-input[type="date"] {
        width: 2.55em;
        overflow: hidden; }
    .add-details__field-unit {
      display: block;
      font-size: 0.8em;
      color: rgba(33, 40, 57, 0.6); }
  .add-details__buttons {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #212839;
    padding: 1em 1em calc(env(safe-area-inset-bottom) + 1em) 1em;
    transition: transform 0.3s ease-in, opacity 0.3s ease-in; }
    .add-details--fade-out .add-details__buttons {
      transform: translate3d(0, 400px, 0);
      opacity: 0; }
  .add-details__button {
    float: left;
    display: block;
    font-size: 1.2em;
    padding: 1em 0;
    z-index: 50;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 10px; }
    .add-details__button--cancel {
      width: calc(40% - 0.5em);
      opacity: 0.4; }
    .add-details__button--next {
      width: calc(60% - 0.5em);
      float: right;
      background: #EF7D40;
      border-color: #EF7D40;
      color: #FFFFFF; }
    .add-details__button[disabled] {
      background-color: #BBBEC3;
      border-color: transparent; }

html,
body {
  background: #212839; }

.app {
  width: 100%;
  min-width: 320px;
  height: calc(env(safe-area-inset-top) + 100%);
  color: #FFFFFF; }

.app__content {
  width: 100%;
  height: 100%;
  min-height: 100%; }

.dashboard__top {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  padding: calc(env(safe-area-inset-top) + 2em) 2em 0; }

.dashboard__hi {
  font-size: 1.9em;
  font-weight: bold;
  margin-bottom: 0.4em;
  transition: transform 0.4s ease-in; }
  .dashboard__hi--fade-out {
    transform: translate3d(0, -300%, 0); }

.dashboard__gauge {
  position: relative;
  width: 100%;
  min-height: 12em;
  transition: transform 0.4s ease-in; }
  .dashboard__gauge--fade-out {
    transform: translate3d(-150%, 0, 0); }
  .dashboard__gauge-background {
    position: absolute;
    top: 9%;
    left: 9%;
    right: 9%;
    bottom: 9%;
    border-radius: 50%;
    background: #242F3E;
    border: 3px solid #374151; }
  .dashboard__gauge-content {
    transform: rotate(180deg);
    width: 100% !important;
    height: 100% !important; }
  .dashboard__gauge-label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8em;
    height: 5.6em;
    margin: -2.8em 0 0 -4em;
    text-align: center; }
    .dashboard__gauge-label-value {
      display: block;
      font-size: 2em;
      margin-bottom: 0.2em; }
    .dashboard__gauge-label-label {
      display: block;
      font-size: 0.9em;
      color: rgba(255, 255, 255, 0.3); }

.dashboard__stats {
  overflow: hidden;
  transition: transform 0.4s ease-in; }
  .dashboard__stats--fade-out {
    transform: translate3d(150%, 0, 0); }

.dashboard__stat {
  width: 33.33%;
  float: left;
  text-align: center;
  margin: 0.2em 0 2.5em; }
  .dashboard__stat-value {
    display: block;
    font-size: 1.6em; }
  .dashboard__stat-label {
    display: block;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.3); }

.dashboard__bottom {
  position: absolute;
  width: 100%;
  z-index: 20;
  margin-top: calc(env(safe-area-inset-top) + 31.2em);
  padding: 1.2em 0 8em;
  background: #283146;
  border-radius: 2em 2em 0 0;
  transition: transform 0.4s ease-in, opacity 0.4s ease-in; }
  .dashboard__bottom--fade-out {
    transform: translate3d(0, 400px, 0);
    opacity: 0; }
  .dashboard__bottom:after {
    content: '';
    position: absolute;
    top: 0.6em;
    left: 50%;
    width: 2em;
    margin-left: -1em;
    height: 0.4em;
    background: #46557a;
    border-radius: 0.2em; }
  .dashboard__bottom:before {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #283146;
    height: calc(env(safe-area-inset-bottom) + 4.2em);
    z-index: 12; }

.dashboard__add {
  position: fixed;
  display: block;
  bottom: calc(env(safe-area-inset-bottom) + 1em);
  left: 1em;
  width: calc(100% - 2em);
  padding: 0.9em 0;
  z-index: 30;
  border-radius: 0.4em;
  font-size: 1em;
  color: #FFFFFF;
  background: linear-gradient(to right, #F9D44B 0%, #EF7D40 100%);
  transition: transform 0.4s ease-in, opacity 0.4s ease-in; }
  .dashboard__add--fade-out {
    transform: translate3d(0, 400px, 0);
    opacity: 0; }

.details {
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding-top: calc(env(safe-area-inset-top) + 9em); }
  .details__title {
    position: fixed;
    left: 1em;
    top: calc(env(safe-area-inset-top) + 1em);
    width: 100%;
    font-size: 1.8em;
    transition: transform 0.4s ease-in; }
    .details__title--fade-out {
      transform: translate3d(-200%, 0, 0); }
    .details__title-name {
      display: block;
      font-size: 0.7em;
      margin-top: 0.6em; }
  .details__container {
    min-height: 100%;
    background: #FFFFFF;
    padding: 2em 2em 11em;
    color: #212839;
    border-radius: 2em 2em 0 0;
    transition: transform 0.4s ease-in, opacity 0.4s ease-in; }
    .details__container:after {
      content: '';
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      height: calc(env(safe-area-inset-top) + 8em);
      background: #FFFFFF;
      background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 40%); }
    .details__container--fade-out {
      transform: translate3d(0, 400px, 0);
      opacity: 0; }
  .details__list-key {
    font-size: 0.9em;
    font-weight: bold; }
  .details__list-value {
    font-size: 1.2em;
    margin-bottom: 1.2em; }
  .details__list-select {
    width: 100%; }
  .details__buttons {
    position: fixed;
    left: 1.8em;
    right: 1.8em;
    bottom: calc(env(safe-area-inset-bottom) + 1.8em);
    transition: transform 0.4s ease-in, opacity 0.4s ease-in; }
    .details__buttons--fade-out {
      transform: translate3d(0, 400px, 0);
      opacity: 0; }
  .details__button {
    width: 100%;
    line-height: 40px;
    font-size: 1.2em;
    z-index: 50;
    background: #FFFFFF;
    border: 1px solid #212839;
    border-radius: 10px; }
    .details__button + .details__button {
      margin-top: 0.6em; }
    .details__button--print {
      color: #E64C65;
      border-color: #E64C65; }
    .details__button--close {
      background: #212839;
      border-color: #212839;
      color: #FFFFFF; }

.error {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(230, 76, 101, 0.85);
  backdrop-filter: grayscale(100%) blur(10px); }
  .error__wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    max-width: 800px;
    max-height: 100%;
    padding: 5% 0 20% 0;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    overflow: auto; }
  .error__icon {
    font-size: 2.8em; }
  .error__headline {
    font-size: 1.4em;
    margin-top: 1em; }
  .error__message {
    font-size: 0.9em;
    margin: 0.8em 0 2.4em; }
  .error__info {
    margin-top: 1em;
    padding: 1em;
    background: rgba(33, 40, 57, 0.8);
    text-align: left; }
    .error__info-label {
      display: block;
      font-size: 0.6em;
      color: rgba(255, 255, 255, 0.6); }
    .error__info-content {
      font-family: monospace;
      white-space: pre;
      overflow: auto; }

.list__item {
  display: block; }
  .list__item:not(:last-child) {
    border-bottom: 1px solid #212839; }

.list__button {
  width: 100%;
  padding: 1em 1.5em;
  color: #FFFFFF;
  text-align: inherit;
  pointer-events: none; }

.list__name {
  display: block;
  font-size: 1.1em;
  line-height: 1.8em;
  color: rgba(255, 255, 255, 0.8); }

.list__meta {
  display: block;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.4); }

/*# sourceMappingURL=style.css.map */