body {font-family: Arial, Helvetica, sans-serif;}
  * {box-sizing: border-box;}
    
    .inputBox
{
  position: relative;
  width: 100%;
}

.inputBox input
{
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgb(255, 255, 255);
  border-radius: 5px;
  outline: none;
  color: black;
  font-size: 1em;
  transition: 0.5s;
}

.textarea input
{
  width: 100%;
  padding: 10px;
  border: 1px solid gray;
  background: gray;
  border-radius: 5px;
  outline: none;
  color: black;
  font-size: 1em;
  transition: 0.5s;
}

.inputBox span
{
  position: absolute;
  left: 0;
  padding: 20px;
  pointer-events: none;
  font-size: 1em;
  color: gray;
  text-transform: uppercase;
  transition: 0.5s;
}

.inputBox input:valid ~ span,
.inputBox input:focus ~ span
{
  color:rgb(255, 255, 255);
  transform: translateX(11px) translateY(-2px);
  font-size: 0.65em;
  padding: 0 10px;
  background: black;
  border-left: 1px solid black;
  border-right: 1px solid black;
  letter-spacing: 0.2em;
}

.inputBox input:valid,
.inputBox input:focus
{
  border: 1px solid black;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid lightgray;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=password], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid lightgray;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
    background-color: red;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;

  }
  
  input[type=submit]:hover {
    background-color: black;
  }
  
  .container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 1px;
  }
  
  .col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
  }
  
  .col-100 {
    float: left;
    width: 100%;
    margin-top: 6px;
  }
  
  /* Clear floats after the columns */
  .row::after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .col-25, .col-75, input[type=submit] {
      width: 100%;
      margin-top: 0;
    }
  }
