h1,
h2,
h3,
h4 {
  font-family: 'Alata', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  margin-top: 0;
  margin-bottom: 0;
}

.text {
  font-weight: 300;
}

body,
button,
.button {
  font-family: -apple-system, 'BlinkMacSystemFont', 'Segoe UI', Helvetica, Arial, sans-serif;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #eeeeee;
  background: #000;
  background-image: url("/img/auth_bg.webp");
  background-size: cover;
  background-position: bottom;
}

body.no-webp {
  background-image: url("/img/auth_bg.jpg") !important;
}

html {
  font-size: 14px;
}

a {
  display: inline-block;
  box-sizing: border-box;
  color: #d3d7ee;
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 1;
  text-decoration: underline;
}

#bg-image {
  top: 0px;
  left: 0px;
  position: fixed;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -100;
  object-position: center bottom;
}

.content {
  margin: 0 auto;
  overflow: auto;
}

.content.center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  flex-direction: column;
}

.center.box {
  background-color: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(5px);
  overflow: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  border-radius: 10px;
  align-items: center;
  padding: 30px;
}

.login.box h1 {
  font-size: 2.25rem;
}

.login.box img.tmpim {
  width: 150px;
  height: 150px;
}

.button {
  opacity: 0.8;
  padding: 7px 15px 10px 15px;
  background-color: #ffffff;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.4rem;
  transition: opacity 0.15s ease;
  text-align: left;
}

.button[class*="icon-"]:before {
  padding-right: 10px;
  position: relative;
  top: 1px;
}

.button.small {
  padding: 7px 10px 7px 5px;
  font-size: 1rem;
}

.button.small[class*="icon-"]:before {
  padding-right: 5px;
}

.button.nyi {
  opacity: 0.5;
  pointer-events: none;
  text-decoration: line-through;
}

.button:hover {
  text-decoration: none;
}

.button.discord.login {
  background-color: #7289da;
  color: #ffffff;
}

.button.github.login {
  background-color: #ffffff;
  color: #000000;
}

.button.authn {
  background-color: #a63fb5;
  color: #ffffff;
}

.button.aws {
  font-family: 'Ember', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  background-color: #ff9900;
  color: #ffffff;
}

.button.fluid {
  display: block;
  width: 100%;
}

.button.fluid:not(:first-child) {
  margin-top: 15px;
}

.button:hover {
  opacity: 1;
}

.button.disabled {
  background-color: #ccc !important;
  color: #000 !important;
  pointer-events: none;
}

.login.box .img.container img.tmpim {
  margin-bottom: 20px;
  border-radius: 6px;
}

.login.box .img.container,
.login.box .main.container {
  width: 100%;
}

.login.box {
  text-align: center;
}

@media (min-width: 700px) {
  .login.box {
    padding: 50px 50px;
  }

  .login.box {
    text-align: left;
    flex-wrap: nowrap;
    align-items: normal;
  }

  .login.box .img.container img.tmpim {
    margin: 0;
    width: 200px;
    height: 200px;
    margin-right: 50px;
  }

  .login.box .img.container {
    width: auto;
  }

  html {
    font-size: 16px;
  }
}

@media (max-width: 512px) {
  .login.box h1 {
    font-size: 2rem;
  }

  .login.box .img.container img.tmpim {
    margin: 0;
    width: 96px;
    height: 96px;
  }

  .art-disclaimer {
    display: none;
  }

  .support-disclaimer {
    text-align: center;
  }
}

.generic.box .main.container {
  width: 100%;
  max-width: 600px;
}

.generic.box .main.container.larger-container {
  max-width: 920px;
}

.privacy-leading {
  line-height: 1.4;
}

.error.box {
  background: rgba(89, 11, 5, 0.3);
  text-align: center;
}

.error.box .main.container {
  width: 100%;
  min-width: 400px;
}

.error.box h1 {
  color: #F44336;
}

.error.box .error-meta {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  font-size: 80%;
  color: rgba(255, 255, 255, 0.6);
}

.error.box .error-meta code {
  text-transform: uppercase;
  font-size: 90%;
  color: rgba(255, 255, 255, 0.75);
}

.support-disclaimer {
  position: fixed;
  bottom: 20px;
  left: 20px;
  opacity: 0.4;
  transition: opacity 0.15s ease;
}

.support-disclaimer a {
  font-weight: bold;
}

.art-disclaimer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  opacity: 0.4;
  transition: opacity 0.15s ease;
}

.support-disclaimer:hover, .art-disclaimer:hover {
  opacity: 1.0;
}

.alert {
  width: 100%;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 110%;
  border: 1px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
}

.alert p {
  margin: 0;
}

.alert ul {
  margin: 0.5rem 0.5rem 0 0rem;
}

.alert.alert-success {
  /* background: #4CAF50;
     border-color: #1B5E20; */
  background: rgba(76, 175, 80, 0.4);
}

.alert.alert-warning {
  /* background: #FFC107;
     border-color: #FF6F00; */
  background: rgba(255, 193, 7, 0.4);
  color: black;
}

.alert.alert-warning a {
  color: #3E2723 !important;
  font-weight: bolder;
}

.alert.alert-danger {
  /* background: #F44336; 
     border-color: #B71C1C; */
  background: rgba(244, 67, 54, 0.4);
}

.alert.alert-danger a {
  color: #ffd9d9 !important;
  font-weight: bolder;
}

/* ========================================================================== */
/* holidays are cumming                                                       */
/* ========================================================================== */

.bulbs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 10000;
  pointer-events: none;
}
