﻿* {
  box-sizing: border-box;
}

html {
  background-color: black;
  color: white;
  font-family: 'Ubuntu', sans-serif;
  font-size: 62.5%;
}

body {
  font-size: 2rem;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-bottom: 2rem;
  margin-top: 0;
}

p {
  line-height: 3.6rem;
}

strong {
  font-weight: 800;
}

input:focus,
button:focus,
textarea:focus {
  outline: #ffc75f solid;
}

.js-loading {
  opacity: 0.5;
  pointer-events: none;
}

.container {
  margin: 0 auto;
  max-width: 102rem;
}

.container-narrow {
  margin: 0 auto;
  max-width: 55rem;
  position: relative;
}

.header {
  padding: 2rem 0;
}

.header__container {
  display: flex;
}

.header__help-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
}

.header__help-icon polygon {
  transition: fill 300ms ease;
}

.header__help-button:hover .header__question-mark polygon,
.header__help-button:hover .header__question-mark rect {
  fill: #b2b2b2;
}

.header__help-button:hover .header__help-button-text {
  color: #b2b2b2;
}

.header__help-button-text {
  color: white;
  display: block;
  font-size: 1.2rem;
  transition: color 100ms ease;
}

.header__question-mark {
  margin-bottom: 0.5rem;
  width: 3rem;
}

.header__question-mark polygon,
.header__question-mark rect {
  transition: fill 100ms ease;
}

.login {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 100%;
  min-height: calc(100vh - 11.2rem);
}

.login__form {
  width: 55rem;
}

.login__white-block {
  background-color: white;
  margin-bottom: 1rem;
  min-height: 3rem;
  position: relative;
}

.login__white-block--spacer-top {
  margin-top: 6.5rem;
}

.login__form-group {
  display: flex;
  margin-bottom: 1rem;
}

.login__label {
  font-size: 2.9rem;
  font-weight: 500;
  width: 14rem;
}

.login__label--wide {
  width: 25rem;
}

.login__input {
  background-color: #c3c3c3;
  border: none;
  flex-grow: 1;
  margin-left: 1.5rem;
  padding: 0.3rem 1rem;
}

.login__button {
  background-color: black;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 2rem;
  font-weight: 500;
  height: 3rem;
  padding: 0.4rem 2rem;
  position: absolute;
  right: 3rem;
  transition: color 200ms ease;
}

.login__button:hover {
  color: #b2b2b2;
}

.login__error-message {
  color: red;
  font-size: 1.6rem;
  font-weight: 500;
  left: 1rem;
  position: absolute;
  top: 0.5rem;
}

.login__global-error-message {
  color: red;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.login__global-error-message ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.login__password-help {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.2rem;
  margin-top: 5.5rem;
}

.help-modal {
  align-items: center;
  background-color: black;
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
}

.help-modal a {
  color: white;
  transition: color 100ms ease;
}

.help-modal a:hover {
  color: #b2b2b2;
}

.help-modal.js-open {
  display: flex;
}

.help-modal__icon {
  height: 20rem;
  left: -18rem;
  position: absolute;
  width: 13rem;
}

.help-modal__header {
  background-color: black;
  font-size: 3rem;
  font-weight: 500;
  left: 3rem;
  margin: 0;
  padding: 0 3rem;
  position: absolute;
  text-transform: uppercase;
  top: -0.2rem;
}

.help-modal__content {
  text-align: justify;
}
