@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
/* Reset styles */
html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

.values {
  height: 100vh;
  width: auto;
  display: block;
}

/* Typography */
.aside-title {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 60px;
  color: #ffffff;
  padding-left: 1.7em;
}

.aside-subtitle {
  font-family: 'DM Sans';
  font-style: normal;
  font-size: 1.5rem;
  color: #ffffff;
  padding-left: 2.9em;
}

@media screen and (max-width: 1200px) {
  .aside-subtitle {
    font-size: 0.8rem;
    padding-left: 3.3em;
  }
}

@media screen and (max-width: 1200px) {
  .aside-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

@media screen and (max-width: 730px) {
  .values {
    height: 80vh;
  }
}

h2 {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 48px;
  text-align: center;
  color: #000000;
}

.signin-title {
  padding-top: 0.3em;
}

input {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-size: 1rem;
  line-height: 24px;
  padding-left: 1.5em;
}
button {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;

  color: #ffffff;
}

.divider span {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  color: #c4c4c4;
}
/* Layout */

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

.container {
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

.columns {
  display: flex;
  height: 100vh;
}

.col-1 {
  width: 72.2%;
  display: flex;
  align-items: center;
}

.col-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

@media screen and (max-width: 630px) {
  .col-2 {
    display: none;
  }
  .col-1 {
    width: 100%;
  }
  .columns {
    height: 100%;
  }
}

.mfa-content {
  width: 319px;
  min-height: 700px;
  margin: 0 auto;
}

.mfa-content p {
  font-family: 'DM Sans';
  font-style: normal;
  font-size: 14px;
  line-height: 2em;
  padding-top: 2em;
  text-align: center;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4.14em 0 4.14em 0;
}

.logo {
  display: block;
  width: 160px;
  height: auto;
}

.signin {
  display: block;
}

.auth {
  display: flex;
  justify-content: center;
  padding-top: 2em;
  padding-bottom: 1.9em;
}

.auth-item {
  padding: 0 1em;
}
.auth-link {
  display: inline-block;
  border-radius: 8px;
  height: 55px;
}

.auth-icon {
  width: 55px;
  height: 55px;
}

.auth-link:selection,
.auth-link:focus-visible {
  outline: 2px solid #21201f;
}

.auth-icon:not(.noactive):focus-visible,
.auth-icon:not(.noactive):hover {
  border: none;
  border-radius: 8px;
  outline: 2px solid #21201f;
  transition: 0.1s;
}

.divider {
  display: flex;
  justify-content: center;
  border-top: 1px solid #c4c4c4;
  height: 22px;
}

.divider-title {
  position: relative;
  top: -0.8em;
  background-color: #ffffff;
  padding: 0 0.8em;
}

.form {
  padding-top: 1.3em;
}
.form-item {
  position: relative;
  padding-bottom: 2.3em;
}

.form-field {
  width: 319px;
  height: 48px;
  border: 1px solid #8c8c8c;
  border-radius: 8px;
}

input[type='text'],
input[type='password'] {
  box-sizing: border-box;
  outline: none;
}

input[type='text']:focus,
input[type='password']:focus,
input[type='text']:hover,
input[type='password']:hover {
  border: 2px solid #21201f;
  cursor: pointer;
}

.btn-submit {
  width: 319px;
  height: 48px;
  color: #ffffff;
  border-radius: 8px;
  background: #21201f;
  border: none;
  margin-top: -5px;
}

.btn-submit span {
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.btn-submit span:after {
  content: '\00bb';
  position: absolute;
  font-size: 1.5rem;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.btn-submit:hover span {
  padding-right: 25px;
}

.btn-submit:hover span:after {
  opacity: 1;
  right: 0;
}

.btn-submit:focus-visible,
.btn-submit:hover {
  cursor: pointer;
}

.btn-submit:active {
  border: 1px solid #ffffff;
}

#kc-logout {
  display: block;
  margin: auto;
  width: 100px;
  height: 48px;
  color: #ffffff;
  border-radius: 8px;
  background: #21201f;
  border: none;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  padding: 0;
}

/* Loader */
.redirect {
  display: none;
  padding-top: 10em;
}
.redirect-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.redirect-content span {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  padding-top: 24px;
}

.loader {
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid #e6e6e6;
  border-right: 5px solid #cfcfcf;
  border-bottom: 5px solid #ff8a00;
  width: 78px;
  height: 78px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Error messages */

.alert {
  display: flex;
  justify-content: center;
  margin-top: -2em;
}
.error-message {
  /* display: none; */
  position: absolute;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  color: #ff5757;
  padding-top: 6px;
  text-align: center;
  max-width: 300px;
}

.error-message a {
  color: #21201f;
}

#kc-error-message,
#kc-info-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 2rem;
  text-align: center;
  color: #ff5757;
  padding-top: 6px;
}

#kc-info-message a {
  font-size: 1rem;
  line-height: 4rem;
}

#kc-error-message #backToApplication {
  font-size: 1rem;
}

#kc-otp-login-form h4 {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 48px;
  color: #000000;
  text-align: center;
}

#kc-otp-login-form input {
  width: 319px;
  height: 48px;
  border: 1px solid #8c8c8c;
  border-radius: 8px;
  margin-bottom: 1.5em;
}

#kc-otp-login-form #otp {
  caret-color: transparent;
  font-family: 'Roboto Mono', monospace;
  font-size: 22px;
  width: 380px;
  box-sizing: border-box;
  border: none;
  background-image: url('../img/pins.png');
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 320px 46px;
  letter-spacing: 42px;
  margin-top: 20px;
  outline: none;
  padding-left: 16px;
  white-space: normal;
}

@media screen and (max-width: 440px) {
  .alert {
    text-align: center;
  }
  #kc-otp-login-form #otp {
    width: 280px;
    font-size: 16px;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 224px 30px;
    letter-spacing: 29px;
    margin-top: 20px;
    outline: none;
    margin-left: 50px;
    padding-left: 11px;
    white-space: normal;
  }

  input#kc-login.pf-c-button.pf-m-primary.pf-m-block.btn-lg {
    width: 270px;
    margin-left: 26px;
  }
}

#kc-otp-login-form #otp::selection {
  background: none;
}

#kc-otp-login-form #otp::-moz-selection {
  background: none;
}

#kc-login {
  width: 319px;
  height: 48px;
  color: #ffffff;
  border-radius: 8px;
  background: #21201f;
  border: none;
  padding-right: 30px;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

#kc-login:focus,
#kc-login:hover {
  cursor: pointer;
  letter-spacing: 2px;
}

#userError {
  padding-top: 2em;
}

.input-error {
  border: 1px solid #ff5757;
}

.username-error {
  padding-left: 8px;
}

.data-error {
  left: 50%;
  transform: translateX(-50%);
}

.instruction {
  font-family: 'DM Sans';
  font-style: normal;
  font-size: 14px;
  line-height: 2em;
  padding-top: 2em;
}

/* Style for JS add */
.show-content {
  display: block;
}

.hide-content {
  display: none;
}
