@font-face {
  font-family: 'Montserrat-Bold';
  src: url('../../themes/thehighwire/assets/fonts/Montserrat-Bold.woff2') format('woff2'),
  url('../../themes/thehighwire/assets/fonts/Montserrat-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat-Medium';
  src: url('../../themes/thehighwire/assets/fonts/Montserrat-Medium.woff2') format('woff2'),
  url('../../themes/thehighwire/assets/fonts/Montserrat-medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat-Regular';
  src: url('../../themes/thehighwire/assets/fonts/Montserrat-Regular.woff2') format('woff2'),
  url('../../themes/thehighwire/assets/fonts/Montserrat-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --color-black: #000;
  --color-rich-black: #0A1012;
  --color-black-blue: #202126;
  --color-space: #151515;
  --color-charcoal: #2a2a2a;
  --color-matterhorn: #4f4f4f;
  --color-stone: #a8a8a8;
  --color-alabaster: #e4e8ea;
  --color-white: #fff;
  --color-electric-blue: #4EFDFB;
  --color-teal: #007573;
  --color-dark-teal: #064140;
  --color-error-red: #eb002f;
  --color-gold: #d6ae50;
}

html body{
  background-color: var(--color-white);
  font-family: 'Montserrat-Regular', sans-serif;
  font-size: 16px;
  color: var(--color-space);
}

a {
  color: var(--color-space);
  text-decoration: 2px underline var(--color-space);
}

a:hover{
  color: var(--color-space);
  text-decoration: 2px underline var(--color-electric-blue);
}

.login .message {
  border-radius: 4px;
}

#login{
  padding: 1rem 0;
  background-color: rgba(168, 168, 168, 0.15);
  max-width: 900px;
  width: 100%;
  border-radius: 12px !important;
  margin: 2rem auto;
}

@media screen and (min-width: 600px){
  #login{
    padding: 2rem;
  }  
}

#login a:focus,
#login button:focus,
#login input:focus{
  outline: 1px solid var(--color-teal);
  box-shadow: none;
  border-color: var(--color-teal) !important;
}

#login h1{
  border-radius: 10px;
  margin: 0 auto 2rem;
  width: 100%;
  max-width: 360px;
}

#login h1 a {
  background-image: url('/wp-content/themes/thehighwire/assets/img/thw-logo.png');
  background-size: contain;  
  width: auto;
  height: auto;
  aspect-ratio: 612 / 108;
  pointer-events: none;
  filter: invert(1);
}

#lostpasswordform,
#resetpassform,
#loginform {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  border: none;
  box-sizing: border-box;
}

#resetpassform label,
#lostpasswordform label,
#loginform label {
  color: var(--color-space);
  font-weight: 400;
  text-transform: uppercase;
  font-family: "Montserrat-Medium", sans-serif;
}

#resetpassform .input, #lostpasswordform input[type="password"], #lostpasswordform input[type="text"],
#lostpasswordform .input, #lostpasswordform input[type="password"], #lostpasswordform input[type="text"],
#loginform .input, #loginform input[type="password"], #loginform input[type="text"] {
  font-size: 16px;
  border: 2px solid var(--color-stone);
  height: 50px;
}

/* Global buttons */
#resetpassform .wp-generate-pw,
#resetpassform #wp-submit,
#lostpasswordform #wp-submit,
#loginform #wp-submit {
  font-size: 14px;
  height: 44px;
  min-width: 100px;
  color: var(--color-rich-black);
  font-weight: 700;
  font-family: "Montserrat-Bold", sans-serif;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: none;
  transition: color 250ms ease-in-out, background-color 250ms ease-in-out, border-color 250ms ease-in-out;
}

/* Main button */
#resetpassform #wp-submit,
#lostpasswordform #wp-submit,
#loginform #wp-submit {
  background-color: var(--color-electric-blue);
  border: 2px solid var(--color-electric-blue);
}

#resetpassform #wp-submit:hover,
#lostpasswordform #wp-submit:hover,
#loginform #wp-submit:hover{
  background-color: #80fefc;
  border-color: #80fefc;
  color: var(--color-rich-black);
}

/* Tertiary button */
#resetpassform .wp-generate-pw {
  background-color: transparent;
  border: 2px solid var(--color-space);
}

#resetpassform .wp-generate-pw:hover {
  background-color: var(--color-alabaster);
  border-color: var(--color-space);
  color: var(--color-rich-black);
}

#pass-strength-result {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

#login #nav,
#login #backtoblog{
  font-size: 16px;
}

.login #login_error, .login .message, .login .success {
  max-width: 320px;
  border-left-color: var(--color-electric-blue);
  margin-left: auto;
  border-radius: 4px;
  margin-right: auto;
}

.login .button.wp-hide-pw{
  top: 5px;
  color: var(--color-space);
}

#login,
.login .message,
#lostpasswordform,
#loginform .input, input[type="password"], input[type="text"]{
  border-radius: 6px;
}

.login #backtoblog, .login #nav{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.login #backtoblog a,
.login #nav a{
  color: var(--color-space);
  text-decoration: 2px underline transparent;
}

.login #backtoblog a:hover,
.login #nav a:hover{
  color: var(--color-space);
  text-decoration: 2px underline var(--color-electric-blue);
}

.interim-login #lostpasswordform,
.interim-login #login{
  width: 320px;
  padding: 16px;
  margin-top: 1rem;
  border-radius: 4px;
}

.interim-login #login > h1 > a{
  max-width: 125px;
}

.interim-login #lostpasswordform,
.interim-login #loginform{
  width: auto;
}