@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');

html {
  box-sizing: border-box;
  --color-dark-blue: #151515;
  --duration: .7s;
  margin: 0 auto;
  /* max-width: 900px; */
  height: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  /* font-family: 'Montserrat', sans-serif; */
  /* max-width: 600px; */
  background: #f2f2f2;
  height: 100%;
  overflow-y: hidden;
}

#app {
  width: 100%;
  height: 100%;
  background: none;
  border: none;
}

.app-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.app-header {
  padding: 15px;
}

.app-header,
.app-header>* {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 300;
}

.app-header>h1 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 30px;
  /* margin-top: 30px; */
}

.app-header>h2 {
  font-size: 3vh;
}

.app-subheading {
  color: rgba(0, 0, 0, 0.45);
}

.app-register {
  position: absolute;
  bottom: 0;
  height: 10vh;
  line-height: 10vh;
  padding: 0 6vh;
  color: rgba(0, 0, 0, 0.45);
  font-size: 2vh;
}

.app-register>a {
  font-weight: 400;
}

input {
  width: calc(100% - 60px);
  /* position: absolute; */
  z-index: 2;
  border: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgb(255, 255, 255) 100%);
  border-radius: 13px;
  padding: 7px 14px;
  height: 42px;
  font-size: 14px;
  color: rgb(51, 51, 51);
  margin: 0 auto;
  margin-left: 30px;
  margin-top: 15px;
}

input[type=text] {
  /* margin-top: 100px; */
}

input:focus {
  outline: none;
  box-shadow: inset 0 -0.5vh transparent;
}

input[type=text]:valid~* .st1 {
  transition-timing-function: ease-in-out;
  stroke-dasharray: 50, 153;
  stroke-dashoffset: 25;
}

input[type=password]:focus~* .st0,
input[type=password]:valid~* .st0,
.app-button:focus~* .st0 {
  stroke-dasharray: 210, 900;
  stroke-dashoffset: -305;
}

input[type=email]:focus~* .st0 {
  stroke-dasharray: 210, 900;
  stroke-dashoffset: 0;
}

input:not(:valid)~.app-button {
  pointer-events: none;
  /* opacity: 0.6; */
}

.app-button {
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
  padding: 13px 27px;
  /* position: absolute; */
  /* bottom: 100px; */
  font-weight: 400;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgb(75, 121, 161) 20%, rgb(40, 62, 81) 80%);
  border-radius: 13px;
  border: 0;
  font-weight: bold;
  width: calc(100% - 60px);
  margin-top: 15px;
}

.app-button:focus {
  outline: none;
}

#welcome:target~* .app-button {
  -webkit-animation: button-press 2s cubic-bezier(0.77, 0, 0.175, 1) both;
  animation: button-press 2s cubic-bezier(0.77, 0, 0.175, 1) both;
}

#welcome:target~* .st0 {
  stroke-dashoffset: -760;
  stroke-dasharray: 140, 900;
  transition-duration: 1.2s;
  -webkit-animation: disappear 0s 1.3s both;
  animation: disappear 0s 1.3s both;
}

#welcome:target~* .st1 {
  transition-duration: 0.3s;
  opacity: 0;
}

#welcome:target~* .app-graphic {
  transform: translate(0, 0);
  opacity: 1;
}

#welcome:target~* #svg-lines {
  -webkit-animation: pulse 0.5833333333s 1.2s ease-in-out both;
  animation: pulse 0.5833333333s 1.2s ease-in-out both;
  -webkit-animation-iteration-count: 3;
  animation-iteration-count: 3;
}

#welcome:target~* .svg-loader {
  -webkit-animation: appear 0s 1.2s both;
  animation: appear 0s 1.2s both;
}

#welcome:target~* .svg-loader-segment {
  transition-delay: 3.75s;
  opacity: 0;
}

#welcome:target~* .svg-loader-segment.-cal {
  transform: translateX(4vh) translateY(-4vh);
  stroke: #08B5CF;
}

#welcome:target~* .svg-loader-segment.-heart {
  transform: translateX(3.5vh) translateY(6.7vh);
  stroke: #9965AA;
}

#welcome:target~* .svg-loader-segment.-steps {
  transform: translateX(-6.9vh) translateY(5.2vh);
  stroke: #0F9EDE;
}

#welcome:target~* .svg-loader-segment.-temp {
  transform: translateX(-14vh) translateY(-4vh);
  stroke: #F4814B;
}

#welcome:target~* .svg-data {
  opacity: 1;
  transform: translate(0, 0);
  transition: transform 0.6s 4.95s, opacity 0.6s 4.95s, stroke-dasharray 0.6s 4.95s, stroke-dashoffset 0.6s 4.95s;
}

#welcome:target~* .svg-data.-temp {
  stroke-dasharray: 118;
}

#welcome:target~* .svg-data.-cal {
  stroke-dasharray: 113;
}

#welcome:target~* .svg-data.-steps-bg,
#welcome:target~* .svg-data.-steps {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}

#welcome:target~* .svg-data.-heart {
  stroke-dasharray: 200;
  stroke-dashoffset: 0;
}

#welcome:target~* .svg-activity-fill,
#welcome:target~* .svg-activity-line {
  transform: translateY(0);
  opacity: 1;
  transition-duration: 1.2s;
  transition-delay: 4.95s;
}

#welcome:target~* .app-view:nth-child(1)> :not(svg) {
  opacity: 0;
  pointer-events: none;
}

#welcome:target~* .app-view:nth-child(2) {
  opacity: 1;
  pointer-events: auto;
}

#welcome:target~* .app-view:nth-child(2)>.app-header>*,
#welcome:target~* .app-view:nth-child(2)>.app-content,
#welcome:target~* .app-view:nth-child(2)>.app-activity,
#welcome:target~* .app-view:nth-child(2) .app-item,
#welcome:target~* .app-view:nth-child(2) .app-item>*:not(.app-graphic) {
  transform: translateY(0);
  transition-delay: 4.95s;
  opacity: 1;
}

#welcome:target~* .app-view:nth-child(2)>.app-activity {
  opacity: 1;
}

#welcome:target~* .app-view:nth-child(2) .app-item,
#welcome:target~* .app-view:nth-child(2)>.app-content {
  border-color: #E3E3E3;
}

#welcome:not(:target)~* .app-graphic {
  transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

@-webkit-keyframes pulse {

  from,
  to {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

@keyframes pulse {

  from,
  to {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

@-webkit-keyframes disappear {
  to {
    opacity: 0;
  }
}

@keyframes disappear {
  to {
    opacity: 0;
  }
}

@-webkit-keyframes appear {
  to {
    opacity: 1;
  }
}

@keyframes appear {
  to {
    opacity: 1;
  }
}

.app-view:nth-child(2) {
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.app-view:nth-child(2)>.app-header {
  font-size: 1rem;
  flex-basis: 25%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4vh;
  padding-bottom: 1rem;
}

.app-view:nth-child(2)>.app-header>h2 {
  transform: translateY(1rem);
}

.app-view:nth-child(2)>.app-header>h2>em {
  color: #0F9EDE;
  font-style: normal;
}

.app-view:nth-child(2)>.app-header>h2,
.app-view:nth-child(2) .app-item>*:not(.app-graphic) {
  transition-duration: 0.9s;
  opacity: 0;
}

.app-view:nth-child(2)>.app-content {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  flex-wrap: wrap;
  flex-basis: 40%;
  border: 1px solid transparent;
  border-left: none;
  border-right: none;
}

.app-view:nth-child(2)>.app-activity {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  opacity: 0;
}

.app-view:nth-child(2)>.app-activity>.app-header {
  padding: 4vh;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.app-view:nth-child(2)>.app-activity>.app-header>h2 {
  flex-grow: 1;
}

.app-view:nth-child(2)>.app-activity>.app-graph {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.app-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  opacity: 0;
}

.app-item {
  flex-basis: 50%;
  flex-grow: 0;
  flex-shrink: 0;
  border: 1px solid transparent;
  padding: 2vh 4vh;
  padding-bottom: 0;
}

.app-item>*:not(.app-graphic) {
  transform: translateY(1rem);
}

.app-item:nth-child(1) .app-graphic {
  transform: translateX(17vh) translateY(5vh);
}

.app-item:nth-child(2) .app-graphic {
  transform: translateX(-4vh) translateY(4vh);
}

.app-item:nth-child(3) .app-graphic {
  transform: translateX(6vh) translateY(-7vh);
}

.app-item:nth-child(4) .app-graphic {
  transform: translateY(-8vh) translateX(-4vh);
}

.app-graphic {
  transition: transform 1.2s 3.75s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s 4.35s cubic-bezier(0.77, 0, 0.175, 1);
  margin-top: 1rem;
  opacity: 0;
}

.app-data {
  font-size: 2rem;
}

.app-unit {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.45);
}

.app-label {
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.45);
}

.app-menu-icon {
  width: 1.5rem;
  height: 2px;
  background: #D0DFF0;
  margin-top: 0.5rem;
}

.app-menu-icon:before,
.app-menu-icon:after {
  content: "";
  display: block;
  position: absolute;
  width: 1rem;
  height: 100%;
  background: #D0DFF0;
}

.app-menu-icon:before {
  top: -0.5rem;
  right: 0.1rem;
}

.app-menu-icon:after {
  top: 0.5rem;
  left: 0.1rem;
}

.app-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 1.25rem;
}

.app-tag {
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.45);
}

.app-tag+.app-tag {
  margin-left: 1rem;
}

.app-tag:before {
  content: "";
  display: inline-block;
  margin-right: 0.5rem;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 50%;
  background: #D0DFF0;
}

.app-tag.-active:before {
  background: #0F9EDE;
}

.st0,
.st1,
.svg-loader-segment {
  fill: none;
  stroke: #0F9EDE;
  stroke-width: 0.5vh;
  /* stroke-alignment: inside; */
  opacity: 1;
  transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.svg-loader {
  opacity: 0;
}

.st0 {
  stroke-dasharray: 0, 900;
  stroke-dashoffset: 0;
}

.st1 {
  transition-delay: 0.3s;
  stroke-dasharray: 50, 153;
  stroke-dashoffset: -153;
}

.svg-loader-segment {
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.85s cubic-bezier(0.77, 0, 0.175, 1), stroke 0.85s cubic-bezier(0.77, 0, 0.175, 1);
}

#svg-lines {
  position: absolute;
  top: 45%;
  left: 0;
  width: 100%;
  z-index: 0;
  overflow: visible;
  transform-origin: center 4vh;
}

.svg-data {
  fill: none;
  stroke-width: 0.5vh;
}

.svg-data.-temp {
  stroke: #F4814B;
  stroke-dasharray: 20, 118;
}

.svg-data.-cal {
  stroke: #08B5CF;
  stroke-dasharray: 20, 113;
}

.svg-data.-steps-bg {
  stroke: #E0E1E0;
  stroke-dasharray: 40, 100;
  stroke-dashoffset: -60;
}

.svg-data.-steps {
  stroke: #0F9EDE;
  stroke-dasharray: 20, 73;
  stroke-dashoffset: -53;
}

.svg-data.-heart {
  stroke: #9965AA;
  stroke-dasharray: 50, 200;
  stroke-dashoffset: -150;
}

.svg-activity-fill {
  fill: #C4E4F8;
}

.svg-activity-line {
  fill: none;
  stroke: #65BCEA;
  stroke-miterlimit: 10;
  stroke-width: 0.25vh;
}

.svg-activity-avg,
.svg-activity-indicator {
  fill: none;
  stroke: #D0DFF0;
  stroke-width: 0.25vh;
  mix-blend-mode: multiply;
}

.svg-activity-fill,
.svg-activity-line {
  transform: translateY(10vh);
  opacity: 0;
}

.meta {
  flex-basis: calc(80% - 50vh);
}

.meta>* {
  transition: none !important;
}

.meta>h1 {
  font-weight: 300;
  font-size: 32px;
  color: white;
}

.meta>p {
  line-height: 1.3;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.meta a {
  color: rgba(255, 255, 255, 0.6);
}

.meta a:hover {
  color: white;
}


.route {
  display: none;
}

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

.loginform {
  all: unset;
}
.alert {
  margin: 0 auto;
  text-align: center;
  /* position: absolute; */
  /* left: 50%; */
  /* transform: translateX(-50%); */
  width: 80%;
  /* top: 50%; */
  color: red;

}
.alert a {
  color: red;
  text-decoration: none;
}