input[type=text], input[type=email], select, textarea {
  width: 100%;
  padding-left: 12px;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 4px;
  margin-bottom: 14px;
  resize: vertical;
}

input[type=submit] {
  background-color: black;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

input[type=submit]:hover {
  background-color: rgb(78, 77, 77);
  transition: background-color 0.5s;
}

.container {
  border-radius: 5px;
  background-color: rgb(182,182,183);
  padding: 20px;
}


.successDiv{
  width: 100%;
  text-align:center;
}


textarea{
  min-height: 100px;
}
@media all and (min-width: 700px){
  h2{    
    margin-bottom: 20px;
  }
  .container {
    width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  .form-control{
    height: 30px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-weight: bold;
  }

  
  label{
    font-weight: bold;
    font-size: 1em;
    
  }



}

@media all and (max-width: 700px){
  .form-control{
    height: 24px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .container {
    width: 100%;
  }

  label{
    font-weight: bold;
    font-size: 1em;

  }

  input[type=submit] {
    font-size: 0.8em;
  }
  p{
    margin-top: 0;
    margin-bottom: 0;
  }
}

.form-control{
  background-color:  white;
}
