* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

body {
  background-color: #3d3d3d;
  height: 100vh;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -webkit-box;
  display: flex;

  /* background-image: url('images/gema-bg-login.jpg'); */
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.login {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
  margin: auto;
  margin-left:10%;
  margin-right:10%;
  border-radius: 5px;

  display:grid;
  grid-template-columns:1fr 1fr;
}

.login .login__form{
  padding:10px;
  order:2;
}

.login .login__img img{
  width: 100%;
  height: 100%;
  object-fit:contain;
  order:1;
  border-radius:5px 0 0 5px;
  padding:20px;
}

.login form #input_login {
  padding: 20px
}

.login h1 {
  text-align: center;
  color: #5b6574;
  font-size: 40px;
  padding: 20px 0 20px 0;
  margin:0;
}

.login form {
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -webkit-box;
  display: flex;
  -webkit-box-direction: normal;
  -webkit-box-orient: vertical;
  -moz-box-direction: normal;
  -moz-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column
}

.login .btn{
  font-size: 40px;
}

.login form .form-group {
  margin: auto
}

.login form label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 50px;
  color: #333
}

.login form input[type="password"], .login form input[type="text"] {
  width: 100%;
  height: 50px;
  border: 1px solid #dee0e4;
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 10px;
  font-size:25px;
}

.login form input[type="submit"] {
  -webkit-box: 1;
  -moz-box: 1;
  -webkit-flex: 1 100%;
  -ms-flexbox: 1 100%;
  flex: 1 100%;
  padding: 15px;
  margin-top: 20px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s
}

.login form input[type="submit"]:hover {
  opacity:0.8;
  transition: background-color 0.2s
}

.msg_error{
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  width: 100%;
  margin:5px;
  background-color: red;
  font-size:20px;
  color:#fff;
}

@media only screen and (max-width: 850px){
  .login{
    grid-template-columns:1fr;
  }
}

@media only screen and (min-width: 1200px) {
  .login {
    width: 1000px;
    margin-left:auto;
    margin-right:auto;
  }
}
