.form-container{
    height: 100%;
    width: 100%;
    position: none;
    font-family: sans-serif;
    display: none;
    padding: 0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 2%;
    z-index: 1;
    background-color:rgb(251, 251, 251);
}

.container {
    width: 60%;
    background-color: white;
    padding: 20px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.150);
  }

  .container h1{
    margin: 0 5px;
    color: var(--bg-color);
  }
  .container h1 i{
    margin-right: 5px;
  }

  input[type=text],
  textarea {
    /* background-color: rgba(48, 132, 131, 0.03); */
    outline: none;
    width: 100%;
    padding: 10px;
    font-family: sans-serif;
    font-size: 1em;
    border: none;
    border-bottom: 1px solid;
    border-radius: 0px;
    resize: vertical;
  }

  input {
    /* background-color: rgba(48, 132, 131, 0.03); */
    outline: none;
  }

  .row {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
  }

  input[type=tel] {
    width: 100%;
    padding: 12px;
    outline: none;
    border: none;
    border-bottom: 1px solid;
    border-radius: 0px;
    resize: vertical;
    -moz-appearance: textfield;
  }

  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
  }

  form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  

  input:focus~label,
  textarea:focus~label,
  input:valid~label,
  textarea:valid~label {
    font-size: 0.75em;
    color: #999;
    top: -25px;
    -webkit-transition: all 0.225s ease;
    transition: all 0.225s ease;
  }

  textarea:valid~label{
        font-size: .7em;
      }

  .col-75 {
    float: left;
    width: 100%;
    margin: 1rem 0;
    position: relative;
    border-radius: 4px;
  }

  label {
    color: #999;
    padding: 1.3rem 30px 1rem 10px;
    position: absolute;
    top: -10px;
    left: 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    pointer-events: none;
  }

  /* Clear floats after the columns */
  .row:after {
    content: "";
    display: table;
    clear: both;
  }

  input[type=submit] {
    background: #3c3c3c;
    color: white;
    padding: 12px 20px;
    border: none;
    font-size: 1.2em;
    font-weight: 600;
    border-radius: 4px;
    width: 25%;
    cursor: pointer;
    box-shadow: 0 4px 1px 0 var(--bg-color);
    transition:.2s all ease-in-out;
  }

  input[type=submit]:focus{
    background: var(--bg-color);
    box-shadow: none;
  }

  /* 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: 800px) {
    .col-75 {
      width: 100%;
    }
  }

  @media screen and (max-width: 600px) {
    .container {
      width: 90vw;
    }
  }

  @media screen and (max-width: 460px) {
    .container {
      border-radius: 5px;
      margin-top: 10%;
    }

    input[type=submit] {
      width: 45%;
    }

    textarea {
      height: 10vh;
    }

    h1 {
      font-size: 7vw;
    }
  }