.promo {
  max-width: 600px;
  background-color: var(--bg-secondary);
  color: var(--body-color);
}
.promo__inner {
  flex-direction: column;
}
.promo__text, .promo__img {
  width: 100%;
}
.promo__title {
  font-size: 26px;
  margin: 0 0 1em;
  line-height: 1.1;
  text-align: center;
  text-align: center;
}
@media screen and (min-width: 320px) {
  .promo__title {
    font-size: calc(
            26px + 6 *
                ((100vw - 320px) / 1600)
        );
  }
}
@media screen and (min-width: 1920px) {
  .promo__title {
    font-size: 32px;
  }
}

section {
  max-width: 600px;
  text-align: center;
  background-color: var(--bg-secondary);
  color: var(--body-color);
}
section #firebaseui-auth-container {
  margin: 50px 0;
}
section .firebaseui-container,
section #firebaseui-auth-container {
  min-height: 110px;
  background-color: inherit;
}
section .firebaseui-page-provider-sign-in {
  background-color: inherit;
  background-image: none !important;
}
section .firebaseui-idp-list > .firebaseui-list-item {
  margin-bottom: 30px;
}
section .mdl-textfield--floating-label .mdl-textfield__label[for=name] {
  position: relative;
}
section .mdl-textfield--floating-label .mdl-textfield__label[for=name]::before {
  content: "Your name or nickname";
  display: block;
  position: absolute;
  background-color: rgb(245, 245, 245);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
section .firebaseui-id-page-sign-in {
  background-color: var(--bg-button-firebase);
}
section .firebaseui-id-page-sign-in h1 {
  color: var(--body-color);
}
section .firebaseui-id-page-sign-in .firebaseui-label {
  color: var(--body-color) !important;
}
section .firebaseui-textfield.mdl-textfield .firebaseui-input, section .firebaseui-textfield.mdl-textfield .firebaseui-input-invalid {
  border-color: var(--body-color);
  color: var(--body-color);
}
section .firebaseui-idp-text {
  color: var(--body-color) !important;
}
section .firebaseui-idp-button {
  background-color: var(--bg-button-firebase) !important;
}
section .firebaseui-idp-button[data-provider-id=password] .firebaseui-idp-text {
  color: #757575;
}
section .firebaseui-idp-button[data-provider-id=password] .firebaseui-idp-icon-wrapper img {
  filter: var(--filter-icon);
}

.privacy-button {
  background: var(--bg-secondary) url(/images/key-slot.svg) no-repeat !important;
  background-size: 21px 21px !important;
  padding: 5px 0 5px 10px !important;
  border: 1px solid var(--icon-comin) !important;
  border-radius: 3px !important;
  font-size: 11px !important;
  transition: 0.3s linear;
}
.privacy-button:hover {
  filter: invert(5%);
}

p {
  margin-bottom: 0;
}
