body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding:30px 10px;
  margin: 0;
  background: #f4f4f9;
}
.login-container {
  display: flex;
  width: 700px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.register-container {
  display: flex;
  width: 800px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-side {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-side h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.form-side p {
  font-size: 14px;
  margin-bottom: 30px;
  color: #888;
}
.form-side input,.form-side select {
  border-radius: 25px;
  margin-bottom: 20px;
  padding: 10px 20px;
  min-height: 43px;
  box-shadow: rgb(127 100 234 / 32%) 0px 9px 16px;
  background: white;
}
.form-side input[type=checkbox]{
  min-height: 16px;
}
.form-control::placeholder {
  color: #999;
}
.btn-primary {
  background-image: linear-gradient(45deg, #8427E9, #3C01F3);
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
}
.btn-primary:hover {
  background: #594ed6;
}
.info-side {
  background: linear-gradient(326deg, #3C01F3, #8427E9);
  color: #fff;
  padding: 40px;
  flex: 1;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.info-side h3 {
  margin-bottom: 10px;
  font-size: 26px;
}
.info-side p {
  font-size: 14px;
  line-height: 1.5;
}
.error{
  color: red;
  font-size: 14px;
  padding: 2px 10px;
  display: flex;
}

.form-control:focus{
  box-shadow: none;
}

@media only screen and (max-width:768px){
  .login-container{
    flex-direction: column-reverse;
  }  
  .register-container{
    flex-direction: column-reverse;
  }
  .info-side{
    border-radius: 10px;
  }
}