@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900&display=swap");

body {
  background: linear-gradient(135deg, #0b3d91, #1db954);
}

body,
html {
  height: 100%;
  margin: 0;
}

.box {
  width: 40%;
  min-width: 300px;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #191919;
  text-align: center;
  border-radius: 7px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: rgb(26, 3, 32);
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
}

.box h1 {
  color: lime;
  text-transform: uppercase;
  font-weight: 500;
}

/* Inputs & Selects */
.regform select,
.regform input,
.box input[type="text"],
.box input[type="password"] {
  margin-top: 5px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-weight: bold;
}
.box input[type="checkbox"] {
  color: #0de0337b;
  margin-top: 15px;
}

.regform select:focus,
.regform input:focus,
.box input[type="text"]:focus,
.box input[type="password"]:focus {
  width: 95%;
  border-color: #2ecc71;
}

.regform button,
input[type="submit"],
.box input[type="submit"] {
  border: 0;
  display: block;
  margin: 20px auto;
  text-align: center;
  border: 2px solid #2ecc71;
  padding: 7px 7px;
  outline: none;
  background: linear-gradient(135deg, #0b3d91, #1db954);
  border-radius: 10px;
  transition: 0.25s;
  cursor: pointer;
  width: 60%;
  font-weight: bold;
}

.regform button:hover,
input[type="submit"]:hover,
.box input[type="submit"]:hover {
  background: #0056b3;
}

/* Labels */
.regform label {
  color: #000;
  font-weight: bold;
  display: block;
  font-size: 14px;
  text-align: left;
  margin: 7px 0; /* same margin as inputs */
  max-width: 350px; /* match input width */
}

.regform a {
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
}
