body.themed {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-size: 500px 500px; /* Set specific width and height for the logo */
}

app-root home-page .backdrop {
  /*background-image: url("/assets/images/v4.png") !important;*/
  background-image: url("/assets/img/sign-in-bg-6.svg") !important;
  background-size: cover;
  background-position-x: 100%;
  background-position-y: 0;
  background-attachment: fixed;
  opacity: .25;
}

body.themed app-log-in .backdrop {
  background-image: url("/assets/images/logo.img.png");
  background-size: cover;
  background-position-x: 100%;
  background-position-y: 0;
  background-attachment: fixed;
  padding-top: 83px;
  height: 100vh;
  width: 100%;
  max-width: 100vw;
  background-size: 500px 500px; /* Set specific width and height for the logo */
}

#login-box {
  margin-right: 55%;
}

#login-box>:first-child {
  margin-left: auto;
  margin-right: auto;
  width: 69%;
}

mat-toolbar.topcard {
  color: #001141a3;
  min-width: 100px;
  min-height: 60px;
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  outline: none;
  position: relative;
  padding: 10px;
  background-color: transparent;
}

.topcard:before {
  content: '';
  border-radius: 1000px;
  box-shadow: 0 0 40px rgba(12, 86, 134, .64);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all .3s ease-in-out 0s;
}

.topcard span {
  margin-left: auto;
  margin-right: auto;
}

.wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#login-box .mat-button {
  color: #ffffff;
  min-height: 60px;
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease-in-out 0s;
  cursor: pointer;
  outline: none;
  position: relative;
  padding: 10px;
  background-color: #1877f2;
  align-items: left;
  border: 1px solid #ffffff;
}

#login-box .mat-button::before {
  content: '';
  border-radius: 1000px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all .3s ease-in-out 0s;

}

#login-box .mat-button:hover,
#login-box .mat-button:focus {
  color: #ffffff;
  transform: translateY(-6px);
  background-color: #083858a3;
}

#login-box .mat-button:hover::before,
#login-box .mat-button:focus::before {
  opacity: 1;
}

#login-box .mat-button::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring 1.5s infinite;
}

#login-box .mat-button:hover::after,
#login-box .mat-button:focus::after {
  animation: none;
  display: none;
}

#login-box .mat-form-field-appearance-outline .mat-form-field-outline-thick {
  color: rgba(9, 54, 136, 0.87);
}

#login-box .mat-form-field {
  padding: 10px;
  width: 100% !important;
  background-color: transparent;
}

.prompt-box {
  position: fixed;
  left: 2rem;
  bottom: 2rem;
}

@media only screen and (max-width:1349px) {
  #login-box {
    border: solid 1px #292626;
    align-items: center;
    /* margin-right: 60%; */
  }

  #login-box>:first-child {
    width: 65%;
  }

  .topcard {
    color: #ffffff;
    min-width: 100px;
    min-height: 60px;
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 700;
    background-color: #0c5686;
    background: linear-gradient(90deg, rgba(20, 91, 150, 1) 0%, rgba(20, 91, 150, 1) 100%);
    border: none;
    cursor: pointer;
    outline: none;
    position: relative;
    padding: 10px;
    border-radius: 600px;
  }
}

@media only screen and (max-width:998px) {
  #login-box {
    border-bottom-left-radius: solid 20px #ffffff;
    margin: auto auto;
  }

  #login-box>:first-child {
    width: 85%;
  }

  .prompt-box {
    display: none !important;
  }
}

/* ########## academy-login.component ######### */
.login-welcome {
  color: darkred;
}

.login-companyName {
  color: #0154a4;
}
/* ########## academy-login.component ######### */