html,
body {
  min-height: 100%;
  font-family: Oxygen;
  font-weight: 300;
  font-size: 1em;
  color: #fff;
  margin: 0;
  padding: 0;
}

body {
  background: #2e3441;
  background-image: radial-gradient(top, circle cover, #4e7a89, #2e3441 80%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.signin {
  display: block;
  position: relative;
  width: 250px;
  margin: 40px auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  box-shadow: inset 1px 1px 0 0 rgba(255, 255, 255, 0.2),
              inset -1px -1px 0 0 rgba(0, 0, 0, 0.2);
}

.signin .avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 35px auto;
  border: 5px solid #fff;
  border-radius: 100%;
  position: relative;
}

.signin .avatar:before {
  content: "\f272";
  text-align: center;
  font-family: Ionicons;
  display: block;
  height: 100%;
  line-height: 100px;
  font-size: 5em;
  color: #fff;
}

.signin .inputrow {
  position: relative;
}

.signin .inputrow label {
  position: absolute;
  top: 12px;
  left: 10px;
}

.signin .inputrow label:before {
  color: #538a9a;
  opacity: 0.4;
  transition: opacity 300ms ease;
}

.signin input[type="text"],
.signin input[type="password"] {
  padding: 10px 12px 10px 32px;
  display: block;
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: #fff;
  color: #333;
  font-size: 1em;
  border-radius: 5px;
  box-sizing: border-box;
}

.signin input[type="text"]:focus + label:before,
.signin input[type="password"]:focus + label:before {
  opacity: 1;
}

.signin input[type="submit"] {
  appearance: none;
  height: 40px;
  padding: 10px 20px;
  background-color: #538a9a;
  text-transform: uppercase;
  color: #fff;
  border: 0;
  border-radius: 5px;
  display: block;
  margin: 20px auto 0 auto;
  font-size: 1em;
  cursor: pointer;
}

.signin input[type="submit"]:hover {
  background-color: #5e98a8;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + label {
  position: relative;
  padding-left: 36px;
  font-size: 0.6em;
  line-height: 16px;
  opacity: 0.8;
  text-transform: uppercase;
}

input[type="checkbox"] + label:before,
input[type="checkbox"] + label:after {
  content: "";
  position: absolute;
  display: block;
  height: 16px;
  border-radius: 30px;
}

input[type="checkbox"] + label:before {
  left: 0;
  top: -2px;
  width: 30px;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: inset 1px 1px 1px 1px rgba(0, 0, 0, 0.3);
}

input[type="checkbox"] + label:after {
  opacity: 0.3;
  background: #fff;
  top: 0px;
  left: 2px;
  height: 12px;
  width: 12px;
  transition: all 200ms ease;
}

input[type="checkbox"]:checked + label:after {
  opacity: 1;
  left: 16px;
}

.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}

.cf {
  *zoom: 1;
}
