﻿/* noto-sans-regular - latin */
@font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Noto Sans'), local('NotoSans'), url('../fonts/noto-sans-v7-latin-regular.woff2') format('woff2'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

h1,
p {
  margin: 0;
}

a {
  text-decoration: none;
  color: #e84895;
}

img {
  vertical-align: bottom;
  max-width: 100%;
}

html,
body {
  height: 100%;
}

body {
    margin: 0;
    color: #555;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #f0f0f0;
    box-sizing: border-box;
}

body * {
  box-sizing: inherit;
}

.intro-text {
  text-align: center;
  font-weight: 700;
}

.app {
  height: calc(100% - 4rem);
  max-width: 884px;
  margin-right: auto;
  margin-left: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .app {
    padding: 2rem;
  }
}

.app__inner {
  margin-top: auto;
  margin-bottom: auto;
  padding-bottom: 2rem;
}

.app__inner > * + * {
  margin-top: 4rem;
}

.app-header {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.app-header > * + * {
  margin-top: 1rem;
}

.app-header__item--logo {
  flex: 1 0 auto;
  max-width: 280px;
}

.app-header__item--icon {
  display: inline-block;
  width: 32px;
  fill: #555;
  margin-top: 0.5rem;
}

.app-body {
  display: flex;
}

@media (max-width: 767px) {
  .app-body {
    flex-direction: column;
    align-items: center;
  }

  .app-body > * + * {
    margin-top: 2rem;
  }
}

@media (min-width: 768px) {
  .app-body > * {
    flex: 1 1 0px;
  }

  .app-body > *:first-child {
    margin-right: 2rem;
  }

  .app-body > *:last-child {
    margin-left: 2rem;
  }
}

.app-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.app-footer > * {
  margin-right: 2rem;
  margin-left: 2rem;
}

.box {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {
  .box {
    max-width: 400px;
  }
}

.box > * + * {
  margin-top: 1.5rem;
}

.box__image img {
  border-radius: 3px;
}

.box__heading {
  text-align: center;
}

.box__content > * + * {
  margin-top: 1rem;
}

.box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  margin-top: auto;
}

.box--secondary {
  background-color: #f2f9f9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-right: 2rem;
  padding-left: 2rem;
  background-color: #e84895;
  color: #fff;
  font-size: 1.15rem;
  border-radius: 1000px;
  height: 48px;
  min-width: 50%;
  border-width: 0;
}

.button--secondary {
  background-color: #82c6c6;
}

.review {
  margin-bottom: 2rem;
  text-align: center;
}

.review > * + * {
  margin-top: 0.5rem;
}

.review__logo {
  max-height: 30px;
}

.review__stars {
  display: flex;
  justify-content: center;
}

.review__star {
  margin-right: 0.1rem;
  margin-left: 0.1rem;
  fill: gold;
  width: 24px;
  height: 24px;
}

.form-field {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}

.form-field.error input {
  border-color: #f33;
}

.form-field input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  margin: 0;
  padding: 0.7rem 0.5rem 0.35rem;
  width: 100%;
  vertical-align: top;
  line-height: 1.5;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 3px;
  color: #555;
}

.form-field input:focus + label,
.form-field input:not(:invalid) + label {
  font-size: 9px;
  top: 2px;
}

.form-field label {
  position: absolute;
  top: 6px;
  left: 4px;
  z-index: 1;
  color: #777;
  transition: all 0.2s ease;
  padding-right: 4px;
  padding-left: 4px;
  font-size: 13px;
  display: inline-block;
  font-size: 16px;
  margin-bottom: 5px;
}

.exclamation {
  margin-top: 0.25rem;
  font-size: 13px;
  color: #f33;
}

.exclamation img {
  display: none;
}
