/* @font-face {
  font-family: 'maax_roundedmedium';
  src: url('./assets/maax_rounded_medium-webfont.woff2') format('woff2'),
    url('./assets/maax_rounded_medium-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
} */

@font-face {
  font-family: 'maax';
  src: url('./assets/Maax.woff2') format('woff2'),
    url('./assets/Maax.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  color: white;
  font-family: 'maax', sans-serif;
  background: url(assets/background.png) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;
}

.main-container {
  background-color: rgba(0, 0, 0, 0.25);
  min-height: 100%;
  padding-bottom: 5rem;
}

hr {
  border-color: #333;
}

ul {
  list-style-type: square;
}

label {
  font-weight: bold;
  margin-right: 1rem;
}

.loading-indicator {
  text-align: center;
  margin: 2rem;
}

.loading-indicator .spinner-border {
  margin: auto;
  width: 5rem;
  height: 5rem;
}

.greeting-card {
  border-radius: 10px;
  margin: 1rem 0 1rem 0;
  background-color: rgba(255, 255, 255, 0.4);
}

.greeting-card .card-header .card-title {
  /* font-variant: small-caps; */
  font-weight: bold;
  /* text-shadow: 4px 4px 2px rgba(150, 150, 150, 1); */
}

.greeting-card .card-header .card-subtitle {
  font-size: 0.75em;
  color: white;
  margin-top: 0.25em;
  /* font-style: italic; */
  /* text-shadow: 4px 4px 2px rgba(150, 150, 150, 1); */
}

.greeting-card .card-footer {
  text-align: right;
}

.greeting-card .card-footer {
  display: none;
}

.heart-logo {
  max-height: 3rem;
  float: right;
}

select#camera-picker {
  color: white;
  background-color: #888;
}

video#webcam {
  transform: scale(0.0001, 0.0001);
  position: fixed;
  top: 0px;
  left: 0px;
}

canvas#canvas {
  border-radius: 10px;
  margin: auto;
  min-width: 80%;
  max-width: 100%;
}

@media only screen and (min-width: 1199px) {
  canvas#canvas {
    margin-left: 1rem;
  }
}

#chart-container {
  display: inline-block;
  width: 100%;
}

#chart-container * line,
svg path, text {
  color: white;
}

svg > g > text.label {
  font-family: 'maax';
  fill: white;
}

.line {
  fill: none;
  stroke: white;
  stroke-width: 4px;
}

select, input {
  padding: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 1rem;
}

.measurement-panel {
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 0 0 1rem 0;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
}

.measurement-panel--live {
  background: rgba(86, 180, 140, 0.24);
}

.measurement-panel--stale {
  background: rgba(255, 204, 102, 0.18);
  opacity: 0.8;
}

.measurement-panel--measuring {
  background: rgba(255, 255, 255, 0.12);
}

.measurement-value {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
}

.measurement-state {
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.measurement-meta {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  opacity: 0.85;
}
