@media (min-width: 768px) {
  #successMessage, #errorMessage, #loadingSpinner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
  }#successMessage h1, #errorMessage h1, #loadingSpinner h1 {  width: 100%; text-align: center; padding: 0 25px; box-sizing: border-box; }
  #successMessage h1 {  color: green; }
  #errorMessage h1 {  color: red; }
  #loading {
    display: block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #022855;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
  }
  
  @keyframes spin {
    to { -webkit-transform: rotate(360deg); }
  }
  @-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
  }
  .form-section {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 90vh;
  }
  .form-section .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 35vw;
    background-color: #022855;
    color: white;
    -webkit-box-shadow: inset 0px 0px 61px 6px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: inset 0px 0px 61px 6px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0px 0px 61px 6px rgba(0, 0, 0, 0.5);
  }
  .form-section .left .left-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 35px;
  }
  .form-section .left .left-container .contact-option {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 25px;
  }
  .form-section .left .left-container .contact-option svg {
    margin-right: 25px;
  }
  .form-section .left label {
    margin-right: 10px;
  }
  .left .clickable,
  .left .clickable label {
    cursor: pointer;
  }
  .form-section .right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 65vw;
    background-color: #e1e1e1;
    -webkit-box-shadow: inset 0px 0px 61px 6px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: inset 0px 0px 61px 6px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0px 0px 61px 6px rgba(0, 0, 0, 0.5);
  }
  #form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
  }

  .form-column {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .form-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  .form-row label {
    color: #022855;
    font-size: 0.9rem;
  }
  .form-row input {
    width: 200px;
    height: 25px;
    margin-right: 10px;
    margin-bottom: 20px;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
  }
  .form-row textarea {
    min-width: 420px;
    max-width: 420px;
    min-height: 100px;
    max-height: 250px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    border: none;
  }

  .form-row .button {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px 15px 30px;
    border-radius: 25px;
    background-color: #022855;
    color: white;
    font-size: 1rem;
    cursor: pointer;
  }
}
@media (max-width: 768px) {
  #successMessage, #errorMessage, #loadingSpinner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }#successMessage h1, #errorMessage h1, #loadingSpinner h1 {  width: 100%; text-align: center; 
    font-size: .9rem; padding: 0 25px; box-sizing: border-box; }
  #successMessage h1 {  color: green; }
  #errorMessage h1 {  color: red; }
  #loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #022855;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
  }
  
  @keyframes spin {
    to { -webkit-transform: rotate(360deg); }
  }
  @-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
  }
  .form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
  }
  .form-section .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100vw;
    background-color: #022855;
    color: white;
    padding: 100px 0px;
    -webkit-box-shadow: inset 0px 0px 33px 5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: inset 0px 0px 33px 5px rgba(0, 0, 0, 0.25);
    box-shadow: inset 0px 0px 33px 5px rgba(0, 0, 0, 0.25);
  }
  .form-section .left .left-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 35px;
  }
  .form-section .left .left-container .contact-option {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 25px;
  }
  .form-section .left .left-container .contact-option svg {
    margin-right: 25px;
  }
  .form-section .left label {
    margin-right: 10px;
  }
  .left .clickable,
  .left .clickable label {
    cursor: pointer;
  }
  .form-section .right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100vw;
    background-color: #e1e1e1;
    padding: 100px 0px;
    -webkit-box-shadow: inset 0px 0px 33px 5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: inset 0px 0px 33px 5px rgba(0, 0, 0, 0.25);
    box-shadow: inset 0px 0px 33px 5px rgba(0, 0, 0, 0.25);
  }
  #form-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .form-column {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .form-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  .form-row label {
    color: #022855;
    font-size: 0.9rem;
  }
  .form-row input {
    width: 35vw;
    height: 25px;
    margin-right: 10px;
    margin-bottom: 20px;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
  }
  .form-row textarea {
    min-width: calc(70vw + 30px);
    max-width: calc(80vw + 30px);
    min-height: 100px;
    max-height: 250px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    border: none;
  }

  .form-row .button {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px 15px 30px;
    border-radius: 25px;
    background-color: #022855;
    color: white;
    font-size: 1rem;
    cursor: pointer;
  }
}
