/* General */

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background-color: #f3f3f3;
  color: #212529;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.5;
  margin: 0;
}

.container {
  margin: 0 auto;
  max-width: 690px;
  padding: 15px;
}

.card {
  border: 1px solid #ccc;
  border-radius: 1.5rem;
}

.card-header {
  background-color: #f3f3f3;
  border-radius: calc(1.5rem - 1px) calc(1.5rem - 1px) 0 0;
  padding: 1rem;
}

.card-body {
  padding: 3rem;
}


/* Header */

header {
  justify-content: center;
  padding: 2rem;
}

.logo {
  height: 2rem;
}


/* Content */

main {
  background-color: white;
}

h1,
h2 {
  color: #006838;
}

h1 {
  text-transform: uppercase;
}

ul {
  list-style: none;
  margin-bottom: 3rem;
}

.highlight {
  background-color: #f3f3f3;
}

.checkmark-list li {
  display: flex;
  margin-bottom: 8px;
}

.checkmark-list li::before {
  content: url('/img/checkmark.svg');
  margin-right: 8px;
  width: 1rem;
}

.checkmark {
  margin-right: 4px;
  width: 1rem;
}

/* Form */

.form-group {
  margin: 2rem 0;
}

label {
  margin-bottom: .5rem;
}

input,
.btn {
  border-radius: .25rem;
  line-height: 1.5;
}

input {
  border: 1px solid #ced4da;
  font-size: 1rem;
  padding: .375rem .75rem;
}

input::placeholder {
  color: #ddd;
}

.error {
  color: red;
}

.btn {
  background-color: #8dc63f;
  border: none;
  color: white;
  font-size: 1.25rem;
  padding: .5rem 1rem .75rem;
  text-align: center;
  text-decoration: none;
  transform: all 300ms;
}

@media (max-width: 679px) {
  .btn {
    display: block;
    width: 100%;
  }
}

.btn:focus,
.btn:hover {
  background-color: #78b02b;
}

.btn:disabled {
  background-color: #aac483;
}

/* Checkbox */

.form-check {
  padding-left: 1.25rem;
  position: relative;
}

.form-checkbox-label {
  margin-bottom: 0;
}

[type="checkbox"] {
  margin: .3rem 0 0 -1.25rem;
  position: absolute;
}

/* Scanner */

.scan-error {
  background: red;
  color: white;
  font-size: 2rem;
  padding: 32px;
  position: absolute;
  text-align: center;
  width: 100%;
}

/* Helper Classes */

.text-center {
  text-align: center;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.justify-content-center {
  justify-content: center;
}

