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;
}

#logo {
  width: 50px;
  height: 50px;
}

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

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

section {
  margin-bottom: 40px;
}

main {
  display: none;
  margin: 4rem auto 6rem;
  max-width: 650px;
  width: 90vw;
}

#firebaseui-auth-container {
  display: none;
  font-weight: 800;
  margin: 4rem auto 6rem;
  max-width: 650px;
  width: 90vw;
}

#social_buttons button {
  margin:  20px auto;
}

#email_login {
  border: 1px solid #EEE;
  border-radius: 20px;
  padding: 20px;
  width: 300px;
  margin: auto;
  margin-top: 30px;
}

a img{
  vertical-align: middle;
  margin-right: 10px;
}

h2 {
  text-align: center;
}

#email_login input {
  box-sizing: border-box;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #049be53d;
}

.loginBtn {
  box-sizing: border-box;
  background: #eee;
  position: relative;
  border: none;
  line-height: 34px;
  white-space: nowrap;
  border-radius: 10em;
  font-size: 16px;
  color: #000;
  width: auto;
  cursor: pointer;
  width: 300px;
}

.loginBtn:hover {
  background: #e5e5e5;
}

.loginBtn img {
  height: 30px;
  vertical-align: middle;
  margin-right: 10px;
}

.loginBtn span {
  vertical-align: middle;
}

footer {
  color: #444;
  font-size: 0.875rem;
  text-align: center;
}

footer a {
  color: inherit;
}

#firebaseUser {
  text-align: center;
}

.products {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3rem;

}

.product {
  padding: 20px;
  border: 1px solid #EEE;
  border-radius: 10px;
  text-align: center;
}

.product.subscripted .product-form {
  display: none;
}


.product img {
  width: 100px;
}

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

button {
  display: block;
  cursor: pointer;
  background: #2297f7;
  border: none;
  border-radius: 10rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25rem;
  margin-top: 1rem;
  padding: 0.25rem;
  width: 100%;
}

button:hover {
  background: #008cff;
}

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

select {
  transition: box-shadow 0.2s ease;
  background: none;
  border: 1px solid #2297f7;
  border-radius: 4px;
  font-size: 1.25rem;
  width: 100%;
  text-align: center;
}

label {
  display: block;
}

#message {
  display: none;
}

#redefine_password {
  display: none;
}

#redefine_password form {
  border: 0.5 solid #eee;
  padding: 20px;
}

#subscribe,
#my-subscription {
  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;
}
