body {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  margin: 0;
}

header {
  background: #dcdcdc;
  padding: 1rem 5vw;
}

header a {
  color: #000;
  font-weight: 800;
  text-decoration: none;
}

main {
  display: none;
}

#firebaseui-auth-container {
  font-weight: 800;
  width: 90vw;
}

main,
#firebaseui-auth-container {
  margin: 5rem 2rem 5rem;
}

#auth-description {
  display: none;
  font-weight: initial;
  margin-bottom: 1rem;
}

footer {
  color: #000;
  background: #dcdcdc;
  font-size: 0.875rem;
  text-align: center;
}

footer a {
  color: inherit;
}

.products {
  display: flex;
  margin-top: 3rem;
}

.product img {
  max-width: 300px;
  width: 20vw;
  max-height: 15vh;
  object-fit: contain;
}

.product input {
  border: 1px solid #dcdcdc;
  border-radius: 0.25rem;
  font-size: 1.125rem;
  line-height: 1.25rem;
  padding: 0.25rem;
}

button {
  display: block;
  cursor: pointer;
  background: #0074d4;
  border: none;
  border-radius: 0.25rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25rem;
  margin-top: 0.25rem;
  padding: 0.3rem 0.45rem;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button#signout {
  background: #e33;
}

select {
  transition: box-shadow 0.2s ease;
  background: none;
  border: 5px solid #0074d4;
  font-size: 1.25rem;
}

label {
  display: block;
}

#subscribe,
#my-subscription,
#before-email-verify {
  display: none;
}

/* Test card number */
.test-card-notice {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}
.card-number {
  display: inline;
  white-space: nowrap;
  font-family: Menlo, Consolas, monospace;
  color: #3c4257;
  font-weight: 500;
}
.card-number span {
  display: inline-block;
  width: 4px;
}

.new-password-description {
  font-size: 0.7rem;
  color: #333;
  margin-top: -15px;
  margin-bottom: 15px;
}
.fixed {
  position: fixed;
}

.top-0 {
  top: 0;
}

.bottom-0 {
  bottom: 0;
}

.width-100per {
  width: 100%;
}

.flex {
  display: flex;
}

.flex-center {
  justify-content: center;
}

.mb-1rem {
  margin-bottom: 1rem;
}

.valign-bottom {
  vertical-align: bottom;
}

@keyframes rotate {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.infinite-rotate {
  animation: rotate 5s linear infinite;
}
