body {
  background-image: url("/img/bg/bg1.jpg");
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: cover;
  color: #31333E;
}

a,
a:visited {
  color: inherit;
}

a:hover,
a:focus {
  color: #D97344;
}

.auth-wrapper {
  background-color: #fdfeff50;
  border-radius: .6rem;
  color: #31333E;
  font-size: 1.4rem;
  margin: 6rem auto;
  max-width: 42rem;
  padding: 1rem 1rem 2rem;
  position: relative;
}

.auth-wrapper .logo-wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

label {
  font-weight: 600;
  margin: .5rem 1.5rem;
}

input.input,
button.button {
  background-color: rgba(56, 51, 61, .3);
  border-radius: 2rem;
  min-height: 4rem;
  width: 100%;
}

input.input {
  color: #F5EEE8;
  padding: 1rem 1.5rem;
}

input[type=checkbox].input,
input[type=radio].input {
  height: 2rem;
  min-height: 2rem;
  min-width: 2rem;
  width: 2rem;
}

input[type=checkbox].input + label,
input[type=radio].input + label {
  margin-left: .5rem;
  width: calc(100% - 2.5rem);
}

button.button {
  background-color: #31333E;
  color: #F5EEE8;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .1rem;
  margin: 0;
  text-transform: uppercase;
}

button.button:hover,
button.button:focus {
  background-color: #D97344;
}

.auth-wrapper form {
  margin: 0 auto 3rem;
  max-width: 100%;
}

form .input-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: .5rem;
}

form button.button {
  margin: 2rem 0 0 0;
}

.input-wrapper.row {
  flex-direction: row;
}

.auth-error {
  color: #E75757;
  margin-top: 1rem;
  padding: .5rem 0;
}

.auth-wrapper .links-wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  /* width: calc(100% - 2rem); */
}



/* register */
.avatar-img {
  border: 0 solid #31333E;
  border-radius: 50%;
  cursor: pointer;
  padding: .2rem;
  transition: 100ms ease-in-out;
}

.avatar-img:focus,
.avatar-img:hover {
  border-width: .2rem;
}

.avatar-img.active {
  border-width: .4rem;
}

.avatar-img.current {
  border: .4rem solid #ffcc66;
}



/* footer */
.footer {
  align-items: center;
  background-color: #31333E;
  border-radius: .6rem .6rem 0 0;
  bottom: 0;
  color: #F5EEE8;
  display: flex;
  flex-direction: row;
  font-size: 1.2rem;
  justify-content: space-between;
  left: 50%;
  line-height: 2rem;
  max-width: 100rem;
  min-height: 4rem;
  padding: 1rem 2rem;
  position: fixed;
  transform: translateX(-50%);
  width: 90%;
}


/* Modal styles */
.modal {
  background-color: rgba(49, 51, 62, .8);
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
}

.modal .modal-wrapper {
  background-color: #f5eee8;
  border-radius: .6rem;
  min-height: 30rem;
  left: 50%;
  padding: 2rem;
  position: relative;
  top: 40%;
  transform: translate(-50%,-50%);
  width: 40rem;
}

.modal .modal-container {
  margin-top: 3rem;
  min-height: 20rem;
}

.modal button:focus,
.modal button:hover {
  /* color: #E75757; */
  cursor: pointer;
}

.modal form button:focus,
.modal form button:hover {
  color: #F5EEE8;
}

.modal .modal-skip,
.modal .modal-prev,
.modal .modal-next {
  font-size: 1.2rem;
  line-height: 2rem;
  position: absolute;
}

.modal .modal-prev {
  bottom: 2rem;
  left: 2rem;
}

.modal .modal-next {
  bottom: 2rem;
  right: 2rem;
}

.modal .modal-skip {
  font-weight: 900;
  right: 2rem;
  top: 2rem;
}
