* {
  margin: 0;
  padding: 0;
  font-family:
    Open Sans,
    sans-serif,
    Poppins;
}

/* media query begin */
@media screen and (min-width: 1400px) {
  html {
    font-size: 16px;
  }

  .logo {
    top: 20px;
    left: 50px;
  }

  .maintenance-overlay .info {
    max-width: 70%;
  }

  .maintenance-overlay .info .img {
    width: 40%;
  }
}

@media screen and (max-width: 1399px) {
  html {
    font-size: 14px;
  }

  .logo {
    top: 20px;
    left: 50px;
  }

  .maintenance-overlay .info {
    width: 75%;
  }

  .maintenance-overlay .info .img {
    width: 30%;
  }
}

@media screen and (max-width: 800px) {
  html {
    font-size: 12px;
  }

  .logo {
    top: 20px;
    left: 20px;
  }

  .back-text > p {
    text-align: center;
  }

  .maintenance-overlay .info {
    width: 80%;
  }

  .maintenance-overlay .info .img {
    width: 40%;
  }
}

@media screen and (max-width: 600px) {
  html {
    font-size: 10px;
  }

  .logo {
    left: 10px;
    top: 10px;
  }
  .back-text > p {
    text-align: center;
  }

  .maintenance-overlay .info {
    width: 90%;
  }

  .maintenance-overlay .info .img {
    width: 50%;
  }
}

@media screen and (max-width: 400px) {
  html {
    font-size: 8px;
  }
  .back-text > p {
    text-align: center;
  }
}

@media screen and (max-height: 400px) {
  html {
    font-size: 10px;
  }
  .back-text > p {
    text-align: center;
  }
}

/* media query end */

.app {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #e4e6ea;
}

.flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

/* logo */

.logo {
  height: 20%;
  position: absolute;
  z-index: 2;
}

.logo.vertical {
  height: 10%;
}

.logo img {
  width: auto;
  max-height: 150px;
  height: 100%;
}

/* maintenance begin */
.maintenance-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 2;
}

.maintenance-overlay .info {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
}

.maintenance-overlay .info .img {
  height: auto;
  margin-bottom: 30px;
}

.maintenance-overlay .info .title {
  margin-bottom: 20px;
  /* color: #1BD8CC; */
  font-size: 2rem;
  font-weight: 700;
}

.maintenance-overlay .info .content {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 600;
}

/* maintenance end */

/* background container begin */

.bg-container {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  align-items: flex-start;
  background: url("./imgs/house1.png") no-repeat;
  background-size: auto 100%;
  background-position: right bottom;
}

.bg-container.autoWidth {
  background-size: 80% auto;
}

.bg-container.vertical {
  background: url("./imgs/house2.png") no-repeat;
  background-size: 100% auto;
  background-position: left bottom;
}

.left-bg {
  flex: 1;
  height: 100%;
  background-color: #083c5f;
}

.top-bg {
  flex: 1;
  height: 55%;
  background-color: #083c5f;
}

.right-bg {
  flex: 1;
  height: 100%;
  background: url("./imgs/bg1.png") no-repeat;
  background-size: auto 100%;
  transition: 0.7s ease;
}

.right-bg.selected {
  background: url("./imgs/bg2.png") no-repeat;
  background-size: auto 100%;
  transition: 0.7s ease;
}

/* background container end */

/* content container begin */

/* left/top content begin */

.content-container {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  flex-wrap: wrap;
}

.content-left {
  position: relative;
  width: 60%;
  height: 100%;
}

.content-top {
  position: relative;
  width: 100%;
  height: 55%;
}

/* portal select begin*/
.portal-select {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 95%;
  height: 60%;
  transform: translate(-50%, -50%);
  color: white;
  transition: 0.1s ease;
}

.content-top .portal-select {
  height: 55%;
}

.portal-select-container {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: calc(95% - 20px);
  transform: translateY(-50%);
}

.portal-select-item {
  position: relative;
  width: 47%;
  height: 100%;
}

.portal-select-item.full-width {
  width: 60%;
}

.portal-select-item-img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: auto;
  max-width: 600px;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: 0.5s ease;
}

.vertical .portal-select-item-img {
  height: 100%;
  width: auto;
  max-height: 600px;
}

.portal-select-item-img:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* portal select end*/

/* welcome back */

.back-container {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 95%;
  height: 55%;
  transform: translate(-50%, -50%);
  color: white;
}

.back-text {
  position: absolute;
  left: 10%;
  top: 50%;
  width: 80%;
  transform: translateY(-50%);
  text-align: left;
  cursor: pointer;
}

.back-text-title {
  font-size: 2.8rem;
  font-weight: 500;
}

.back-text-subtitle {
  font-size: 3rem;
  font-weight: 600;
}

/* left/top content end */

/* right/bottom content begin */

.content-right {
  position: relative;
  width: 40%;
  height: 100%;
}

.content-bottom {
  position: relative;
  width: 100%;
  height: 45%;
}

/* login */
.login-container {
  display: flex;
  position: absolute;
  left: 50%;
  top: 49%;
  width: 300px;
  height: 240px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transform: translate(-50%, -50%);
}

.hdb-logo {
  width: 77px;
  height: 77px;
  overflow: hidden;
  margin-bottom: 20px;
}

.hdb-logo img {
  width: auto;
  height: 100%;
}

.login-text {
  font-size: 3rem;
  margin-bottom: 30px;
}

.login-btn a {
  text-decoration: none;
  color: rgb(63, 63, 63);
}

.login-btn img {
  transform: scale(1.3);
}

.content-bottom .login-btn img {
  transform: none;
}

.login-btn img:hover {
  border-radius: 10px;
  box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.7);
}

.welcome-text {
  display: flex;
  position: absolute;
  left: 50%;
  top: 49%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: rgb(63, 63, 63);
  transform: translate(-50%, -50%);
}

.content-right .login-container,
.content-right .welcome-text {
  left: 60%;
}

/* right/bottom content end */

/* content container end */

/* animation */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 1s ease;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}
