@font-face {
  font-family: 'Prompt';
  src: url('./fonts/Prompt-Bold.ttf');
  font-weight: 700;
}
@font-face {
  font-family: 'Prompt';
  src: url('./fonts/Prompt-SemiBold.ttf');
  font-weight: 600;
}

@font-face {
  font-family: 'Prompt';
  src: url('./fonts/Prompt-Medium.ttf');
  font-weight: 500;
}

@font-face {
  font-family: 'Prompt';
  src: url('./fonts/Prompt-Regular.ttf');
  font-weight: 400;
}
@font-face {
  font-family: 'Prompt';
  src: url('./fonts/Prompt-Light.ttf');
  font-weight: 300;
}
@font-face {
  font-family: 'Prompt';
  src: url('./fonts/Prompt-ExtraLight.ttf');
  font-weight: 200;
}
@font-face {
  font-family: 'Prompt';
  src: url('./fonts/Prompt-Thin.ttf');
  font-weight: 100;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Prompt', sans-serif;
}

nav {
  padding: 20px;
  width: 100%;
}

.code-form {
  max-width: 586px;
  display: none;
}

.code-form h1 {
  margin-bottom: 40px;
}

.code-form h2 {
  margin-bottom: 20px;
}

.code-form .input-box input {
  margin-right: 40px;
}

input {
  border: 1px solid #8d96a8;
  appearance: none;
  border-radius: 0;
  font-weight: 400;
  font-size: 27px;
  line-height: 27px;
  color: #000000;
  padding: 10px 40px;
  background-color: #ffffff;
  width: 100%;
  height: 64px;
}

input:focus {
  outline: none;
  border: 1px solid #1a2c51;
}

h1 {
  font-weight: 600;
  font-size: 50px;
  line-height: 100%;
  color: #1a2c51;
  text-align: center;
}

h2 {
  font-weight: 600;
  font-size: 27px;
  line-height: 120%;
  color: #000;
  text-align: center;
}

.input-box {
  display: flex;
  width: 100%;
}

button {
  width: auto;
  padding: 20px 40px;
  height: 64px;
  outline: none;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease-out;
  border: 0 none;
  background-color: #1a2c51;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 27px;
  line-height: 100%;
  color: #ffffff;
}

button.secondary {
  background-color: #ececec;
  color: #1a2c51;
}

.code-text {
  font-size: 82px !important;
}

.error-text {
  color: #ff6565 !important;
}
.error-box {
  display: none;
  padding: 60px 0;
}

.show-box {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.code-success-box {
  display: none;
  padding: 40px;
}

.code-success-box-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 60px);
  border-top: 1px solid #8d96a8;
  padding-top: 30px;
  margin-top: auto;
}

#login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  max-width: 586px;
  width: 100%;
  padding: 60px 0;
  margin: 0 auto;
  flex-grow: 1;
}

#login-form input {
  margin-bottom: 80px;
}

#login-form #refresh {
  margin-bottom: 40px;
}

.error-box button {
  margin: 60px 0;
}

.code-success-box .code-text {
  margin: 20px 0;
}

.code-success-box button {
  margin-bottom: 20px;
}
.code-success-box .code-success-box-footer button {
  margin-bottom: 0;
}
.try-again {
  margin: 0 40px;
}
