/* General */

body,
html {
  height: 100%;
  margin: 0;
}

/* Fullscreen background image */

.bg {
  background-image: url("../img/bg.png");
  opacity: 0.5;
  height: 100%;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* Containers */

.container-login {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 512px;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.3);
  padding-top: 60px;
}

.container-img {
  position: relative;
  text-align: center;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 24px;
  font-size: 64px;
  color: var(--unify-darkest-color);
}

.container-form {
  padding: 16px;
}

.container-info {
  padding: 16px;
  margin-top: 16px;
}

.float-container {
  float: left;
  width: 50%;
}

.float-container:first-of-type {
  padding-right: 0.5em;
}

.float-container:last-of-type {
  padding-left: 0.5em;
}

/* Logo */

.logoimg {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Alert box */

.unify-alert-error {
  background-color: var(--unify-alert-error-color);
  padding: 16px;
}

/* Responsive design */

@media screen and (max-width: 512px) {
  .container-login {
    width: 100%;
  }

  .container-login {
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0);
  }
}