@import url('https://fonts.googleapis.com/css?family=Audiowide');

::-moz-selection {
  background: #cc0000;
  text-shadow: none;
}
::selection {
  background: #cc0000;
  text-shadow: none;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #1b1b1b;
  color: #fff;
}

* {
  box-sizing: border-box;
  outline: none;
}

.background-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
  z-index: -1;
  overflow: hidden;
}

.background {
 
  filter: blur(10px);
  position: absolute;
  top: -2.5%; left: -2.5%;
  width: 105%; height: 105%;
}

form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #111;
  border: 1px solid #191919;
  border-radius: .4em;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 320px;
  padding: 20px;
  z-index: 1;
}

form h1 {
  font-family: 'Audiowide';
  color: #FFbb00;
  text-align: center;
  font-size: 20px;
  margin-bottom: 15px;
}

input[type=text], input[type=password] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  background: linear-gradient(#1f2124,#27292c);
  border: 1px solid #222;
  border-radius: .3em;
  color: #fff;
  font-size: 14px;
}

input[type=submit] {
  width: 100%;
  padding: 10px;
  background: #fb0;
  border: 1px solid rgba(0,0,0,0.4);
  border-radius: .3em;
  color: #873C00;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s ease;
}

input[type=submit]:hover {
  box-shadow: inset 0 -5px 10px rgba(255,255,255,0.1);
}

.p-container {
  margin-top: 10px;
}

.checkboxouter {
  height: 20px;
  width: 20px;
  border: 2px solid #555;
  background: #000;
  display: inline-block;
  position: relative;
  border-radius: 3px;
}

input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  cursor: pointer;
  z-index: 2;
}

.checkbox {
  position: absolute;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  height: 10px;
  width: 5px;
  transform: rotate(45deg);
  top: 4px;
  left: 6px;
  transition: 0.2s ease;
}

input[type="checkbox"]:checked ~ .checkbox {
  border-right-color: #ffcc00;
  border-bottom-color: #ffcc00;
}

/* Animations */
@keyframes neon {
  from {
    text-shadow: 0 0 3px #fff, 0 0 7px #fff, 0 0 10px #B6FF00;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #B6FF00, 0 0 20px #B6FF00;
  }
}

/* ====================
   Responsive Layouts
   ==================== */

@media screen and (max-width: 768px) {
  form {
    width: 90%;
    max-width: 300px;
    padding: 15px;
  }

  form h1 {
    font-size: 18px;
  }

  input[type=text], input[type=password], input[type=submit] {
    font-size: 13px;
    padding: 8px;
  }
}

@media screen and (max-width: 480px) {
  form {
    width: 95%;
    margin: 0 auto;
    padding: 10px;
  }

  form h1 {
    font-size: 16px;
  }

  .p-container span {
    font-size: 12px;
  }

  input[type=submit] {
    font-size: 13px;
    padding: 8px;
  }
}
