@import url("https://fonts.googleapis.com/css?family=Sunflower:300");

* {
  margin: 0;
  padding: 0;
  font-family: "Sunflower", sans-serif;
  outline: none;
  text-decoration: none;
  box-sizing: border-box;
}

body {
background: linear-gradient(to right, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 50%, rgba(188,224,238,1) 100%);
}

.container {
  padding: 0 20px;
}

.sub-container {
    background-color: aliceblue;
  max-width: 500px;
  width: 100%;
  height: 500px;
  margin: 150px auto 0;
  display: flex;
  background: #fff;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.125);
    
}

.sub-container .banner-img {
  width: 220px;
  height: 100%;
    
}

.sub-container .banner-img img {
  width: 100%;
  height: 100%;
}

.sub-container .login-form {
  width: 280px;
  height: 100%;
  text-align: center;
  padding: 40px 35px 0;
  position: relative;
}

.sub-container .login-form .title {
  color: blue;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  margin-bottom: 15px;
  font-weight: bold;
    
}

.login-form .label {
  color: #524a4a;
  font-size: 14px;
  letter-spacing: 2px;
}

.login-form .input {
  margin: 5px 0 15px;
  width: 100%;
  padding: 8px;
}
.login-form .select {
  margin: 5px 0 15px;
  width: 100%;
  padding: 8px;
}

.login-form .forgot a {
  color: linear-gradient(to right, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 50%, rgba(188,224,238,1) 100%);
  font-size: 18px;
    
}

.btn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background:linear-gradient(to right, rgba(73,155,234,1) 0%, rgba(32,124,229,1) 100%);
  color: #fff;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

@media screen and (max-width: 500px) {
  .sub-container {
    flex-direction: column;
    max-width: 300px;
    height: 400px;
    margin-top: 50px;
  }
  .sub-container .banner-img {
    width: 100%;
    height: 150px;
  }
  .sub-container .login-form {
    width: 100%;
    padding: 20px 35px 0;
  }
  .sub-container .login-form .title {
    font-size: 15px;
    margin-bottom: 15px;
  }
  .login-form .input {
    margin-bottom: 5px;
  }

  .login-form .forgot {
    margin-bottom: 55px;
  }
  .btn {
    margin-top: 20px;
    padding: 10px;
  }
}

