* {
  font-family: 'Montserrat', sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: #333;
}

html, body {
  height: auto;
  min-height: 100vh;
}

html {
  background: linear-gradient(180deg, #ea02ff 0%, #0097ff 100%);
}

input:focus {
  outline: none;
}

/* container */
#register-container {
  display: flex;
  max-width: 90vw;
  min-height: 90vh;
  margin: 2rem auto;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

@media screen and (max-width: 769px) {
  #register-container {
    flex-direction: column;
  }
}

/* banner */
#register-banner {
  background: url('../img/bg-form.jpg');
  background-size: cover;
  background-position: center;
  width: 50%;
}

@media screen and (max-width: 769px) {
  #register-banner {
    width: 100%;
  }
}

#banner-layer {
  display: flex;
  background-color: rgba(25, 11, 122, 0.7);
  height: 100%;
  padding: 2rem;
  align-items: center;
}

#register-banner h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: #fff;
  word-spacing: 50rem;
}

/* form */
#register-form {
  display: flex;
  flex-direction: column;
  background-color: #fdfdfd;
  padding: 2rem;
  width: 50%;
}

@media screen and (max-width: 769px) {
  #register-form {
    width: 100%;
  }
}

#register-form h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

#register-form p {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #aaa;
  font-size: 0.8rem;
}

.form-control {
  display: flex;
  flex-direction: column; 
  margin-bottom: 1rem;
}

.form-control label {
  font-weight: bold;
  margin-bottom: .6rem;
}

.form-control input {
  border: none;
  border-bottom: 1px solid #aaa;
  padding: .6rem 0;
}

/* password */
#generate-password {
  font-weight: bold;
  cursor: pointer;
  transition: 0.4s;
}

#generate-password:hover {
  color: #0099ff;
}

#register-form #generated-password {
  border: 1px solid #0099ff;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.2rem;
  padding: .4rem;
  color: #333;
  text-align: center;
  margin-bottom: 1rem;
  display: none;
}

#register-form #generated-password p {
  color: #81d340;
  margin-bottom: 0.5rem;
}

#register-form input[type="submit"] {
  background-color: #81d340;
  color: #fff;
  opacity: 0.8;
  border: none;
  border-radius: 2rem;
  padding: 1rem 1.4rem;
  max-width: 150px;
  cursor: pointer;
  align-self: flex-end;
  transition: 0.4s;
}

#register-form input[type="submit"]:hover {
  opacity: 1;
}