body {
    margin: 0;
    padding: 0;
    background: url(../img/img-fondo.png) no-repeat 0px 0px;
    min-height: 100%;
    background-size: cover;
    font-family: 'Avenir', sans-serif;
    background-position: right;
}

.login-logo{
  margin: 0 auto 2rem;
  position: relative;
  display: block;
  max-width: 220px;
}

h1 {
    margin: 0;
    color: #ffffff;
    text-align: center;
    font-size: 50px;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 50px 0;
}

h2 {
    margin: 0;
    color: #fc3955;
    font-size: 25px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 1px;
    padding-bottom: 30px;
}

p.w3l-register-p {
    color: #202645;
    font-size: 13px;
    text-align: center;
    margin-top: 2em;
    margin-bottom: 0;
}

.login-form {
    background: rgba(222, 222, 222, 0.41);
    max-width: 450px;
    margin: 8rem auto 2rem;
    padding: 3em;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
}

.group {
    display: flex;
    padding: 0px;
    background-color: #ffffff;
}

.group i {
  color: #fff;
  font-size: 20px;
  padding: 13px 13px;
  background-color: #0077b5;
}

.w3l-form-group {
    margin: 20px 0;
}

.w3l-form-group label {
  display: block;
  text-transform: uppercase;
  font-size: 13px;
  color: #202645;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-style: normal;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    border: none;
    box-sizing: border-box;
    background: transparent;
    color: #000;
    font-family: 'Avenir', sans-serif;
    font-size: 0.9rem;
    font-weight: normal;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
}

button {
    background: #0077b5;
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    padding: 12px 60px;
    cursor: pointer;
    width: 100%;
    border-radius: 6px;
    margin: 1rem 0 0 0;
}

#remember{
  margin-right: 8px;
}

button:hover {
    background-color: #202645;
    transition-duration: 1s;
}

.forgot {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

a {
    color: #202645;
    font-size: 14px;
    text-decoration: none;
}

.forgot p {
    color: #202645;
    text-align: center;
    margin: 0px;
	font-size: 13px;
}

.register {
    color: #0077b5;
    text-decoration: none;
}

/*--footer--*/

p.copyright-agileinfo {
    font-size: 15px;
    letter-spacing: 2px;
    color: #fff;
    font-weight: 300;
}

footer p a {
    display: inline-block;
    color: #fff;
    text-decoration: underline;
}

footer p a:hover {
    color: #fff;
    text-decoration: none;
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
    transition: 0.5s all;
}

footer {
    padding: 2rem 0 0 0;
    text-align: center;
}


/*--//footer--*/

/*-- /responsive design --*/

@media(max-width:768px) {
    h1 {
        font-size: 47px;
    }
}

@media(max-width:667px) {
    h1 {
        font-size: 45px;
    }
}

@media(max-width:640px) {
    p.copyright-agileinfo {
        letter-spacing: 1px;
    }
    h1 {
        font-size: 43px;
    }
}

@media(max-width:568px) {
    h1 {
        font-size: 40px;
    }
    p.copyright-agileinfo {
        font-size: 14px;
    }
}

@media(max-width:480px) {
    .login-form {
    margin: 60px 15px 30px;
  }

  body {
      background-position: bottom;
  }

  footer {
    padding: 1rem 0 0 0;
    text-align: center;
  }
    h1 {
        font-size: 38px;
    }
    p.copyright-agileinfo {
        line-height: 1.8em;
    }
}

@media(max-width:414px) {
    h1 {
        font-size: 34px;
    }
}

@media(max-width:384px) {
    h1 {
        font-size: 30px;
    }
}

@media(max-width:320px) {
    h1 {
        font-size: 25px;
    }
    .forgot p {
        text-align: left;
    }
    .forgot {
        display: block;
    }
}
