form {
    /* Center the form on the page */
    margin: 0 auto;
    width: 100%;
    /* Form outline */
    padding: 1em;
    /* border: 1px solid #ccc; */
    border-radius: 1em;
    background: transparent;
    margin: auto;
    text-align: center;

}

input, 
textarea {
    /* To make sure that all text fields have the same font settings
     By default, textareas have a monospace font */
    font: 1em sans-serif;
    /* Uniform text field size */
    width: 40%;
    box-sizing: border-box;
    /* Match form field borders */
    border: 0.7px solid grey;
    /* spacing */
}

@media screen and (max-width:600px) {

    input,
    textarea {
        /* To make sure that all text fields have the same font settings
     By default, textareas have a monospace font */
        font: 1em sans-serif;
        /* Uniform text field size */
        width: 100%;
        box-sizing: border-box;
        /* Match form field borders */
        border: 0.7px solid grey;
        /* spacing */
    }
}

input:focus,
textarea:focus {
    /* Additional highlight for focused elements */
    border-color: transparent;
}

textarea {
    /* Align multiline text fields with their labels */
    vertical-align: top;
    /* Provide space to type some text */
    height: 12em;
    padding-top: 0.5em;
}

  .submit {
    background-color: red;
    border: none;
    color: white;
    /* padding: 16px 32px; */
    padding: 1em 1em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.6s;
    cursor: pointer;
} 

.submit {
    background-color: transparent;
    color: black;
    border: 2px solid transparent;
    width: 24%;
    margin-left: 20%;
}

.submit:hover {
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
    background-color: #021b79;
    color: white;
} 

/* reset input styles   */
  .reset {
      background-color: red;
      border: none;
      color: white;
      /* padding: 16px 32px; */
      padding: 1em 1em;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 16px;
      margin: 4px 2px;
      transition-duration: 0.6s;
      cursor: pointer;
  }

  .reset {
      background-color: transparent;
      color: black;
      border: 2px solid transparent;
      width: 24%;
      margin-left: 1%;
  }

  .reset:hover {
      box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
      background-color: #021b79;
      color: white;
  }

/* new form styles  */
div.form-floating.mb-3 {
    margin-left: 12%;
    margin-right: 12%;
    border-bottom: red;
}

.select {
    padding-left: 12%;
    padding-right: 12%;

}

textarea#form-control {
    background-color: white;
    width: 100em;
    max-width: 100%;
}
/* new sumbit button  */