body {
  margin: 0;
  padding: 0;
  background-size: cover;
  background-color: #121212;
  color: #fff;
  font-family: sans-serif;
}

.box {
  /* position: sticky; */
  /* top: 50%; */
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
  width: 25rem;
  padding: 2.5rem;
  box-sizing: border-box;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #1e1e1e;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.box h2 {
  margin: 0px 0 -0.125rem;
  padding: 0;
  color: #fff;
  text-align: center;
  font-family: 'Google Sans', 'Noto Sans Myanmar UI', arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
}

.box p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .1px;
  line-height: 1.5;
  margin-bottom: 25px;
  text-align: center;
  color: #ccc;
}

.box .inputBox {
  position: relative;
}

.box .inputBox input,
.box .inputBox textarea {
  width: 93%;
  padding: 0.625rem 10px;
  font-size: 1rem;
  letter-spacing: 0.062rem;
  margin-bottom: 1.875rem;
  border: 1px solid #666;
  background: transparent;
  border-radius: 4px;
  color: #fff;
}

.box .inputBox label {
  position: absolute;
  top: 0;
  left: 10px;
  padding: 0.625rem 0;
  font-size: 1rem;
  color: #aaa;
  pointer-events: none;
  transition: 0.5s;
}

.box .inputBox input:focus~label,
.box .inputBox textarea:focus~label,
.box .inputBox input:valid~label,
.box .inputBox textarea:valid~label,
.box .inputBox input:not([value=""])~label,
.box .inputBox textarea:not([value=""])~label {
  top: -1.125rem;
  left: 10px;
  color: #1a73e8;
  font-size: 0.75rem;
  background-color: #1e1e1e;
  height: 10px;
  padding-left: 5px;
  padding-right: 5px;
}

.box .inputBox input:focus,
.box .inputBox textarea:focus {
  outline: none;
  border: 2px solid #1a73e8;
}

.box input[type="submit"] {
  border: none;
  outline: none;
  color: #fff;
  background-color: #1a73e8;
  padding: 0.625rem 1.25rem;
  cursor: pointer;
  border-radius: 0.312rem;
  font-size: 1rem;
  float: right;
}

.box input[type="submit"]:hover {
  background-color: #287ae6;
  box-shadow: 0 1px 1px 0 rgba(66, 133, 244, 0.45), 0 1px 3px 1px rgba(66, 133, 244, 0.3);
}

#message {
  
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.success {
  background-color: green;
  color: white;
}

.error {
  background-color: red;
  color: #fff;
}