/** healthMesh main.css **/
:root {
  --background: var(--almostBlack);
  --foreground: var(--verilyLightGreen5);
  --foreground: var(--almostWhite);
  --padding: 2rem;
  --heightTransition: height 0.5s ease-in-out;
}

html {
  background: var(--background);
  color: var(--foreground);
  height: 100%;
  min-height: 100%;
}

body {
  background: var(--background);
  display: flex;
  flex-direction: column;
  font-family: roboto;
  font-weight: 300;
  height: 100%;
  margin: 0;
  overflow: hidden;
  padding: 0;
  transition: opacity 0.25s ease-in-out;  /* when leaving the page */
  width: 100%;
}

/* phone in portrait */
@media only screen and (max-width: 599px) {
  body { font-size: 1.1rem; }
  .mainDebug { font-size: 0.75rem; }
}

/* phone in landscape */
@media only screen and (min-width: 600px) {
  body { font-size: 0.75rem; }
}

.headerContainer {
  background: var(--verilyDarkGreen);
  color: var(--almostWhite);
}

.headerTopGap {
  background: transparent;
  height: 20px;
  transition: height 1s ease-in-out;
  width: 100%;
}

.headerTitleContainer {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

.headerTitleLogo {
  height: 32px;
}

.headerTitleText {
  font-size: 1.75rem;
}

.mainContainer {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto;
  padding-left: var(--padding);
  padding-right: var(--padding);
  width: 100%;
}

.mainDebug {
  background: white;
  color: black;
  display: none;
  margin-bottom: var(--padding);
  margin-left: -var(--padding);
  padding: 0.5rem;
  text-align: center;
  width: calc(100% + 2 * var(--padding));
}

.mainInstructions {
  font-size: 1rem;
  line-spacing: 2rem;
  margin-top: var(--padding);
  transition: var(--heightTransition);
  overflow: hidden;
}

.mainInstructionErrorLine,
.mainInstructionLine {
  margin-top: 20px;
}

.mainInstructionErrorLine {
  color: red;
}

.mainStopButton,
.mainBeginButton {
  box-shadow: none;
  font-size: 1.1rem;
  margin-top: var(--padding);
}

.mainStopButton {
  background: var(--verilyRed) !important;
  border: solid 1px var(--verilyRed) !important;
}

.mainStopButton:hover,
.mainBeginButton:hover {
  box-shadow: none;
}

.mainResultContainer {
  background: white;
  border-radius: var(--borderRadius);
  color: black;
  font: Courier New;
  font-size: 1.5rem;
  height: 5rem;
  margin-top: var(--padding);
  overflow: hidden;
  padding: 0.5rem;
  transition: var(--heightTransition);
  width: 100%;
}
