.requestForm{
    background-color: white;
    

}
form{
    display: flex;
    justify-content: space-between;
}
form>div{
    width: 500px;
}
.formContainer{
    padding: 2rem 4rem 5rem 4rem;
    width: 100%;
}
.customerCarInfo{
    display: flex;
    flex-direction: column;
}

#customerInfoMssg{
    height: 1rem;
    color: red;
    padding-left: 5px;
}
#vehicleYearMssg{
    height: 1rem;
    color: red;
    padding-left: 5px;
}
.formContainer input[type='text'],input[type='tel'],input[type='email']{
    
    width: 100%;
    height: 50px;
    padding-left: 1rem;
}
div.formContainer>h1{
    font-size: 2rem;
    text-transform: uppercase;
    padding-top: 2rem;
}
form h1{
    text-transform: capitalize;
    padding-top: 0.7rem;
}
.dateOfWork input{
    margin-right:1rem;
}
form input,textarea{
    padding: 5px 7px;
    
    font-size: 1rem;
    border: 1px solid black;
    outline: none;
    margin-top: 0.7rem;
    border-radius: 10px;
   

}

textarea{
    width: 100%;
    padding: 10px 15px;

}
input:focus {
    border:1.4px solid var(--secondary-color);
    box-shadow: var(--box-shadow-1);
  }
textarea:focus {
    border:1.4px solid var(--secondary-color);
    box-shadow: var(--box-shadow-1);
  }

  form input[type='submit']{
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-size: 1.2rem;
    font-weight: bold;
    width: 100%;
    height: 50px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.1s;
    border: none;
  }
  form input[type='submit']:hover{
    background-color: var(--primary-color);
  }
  
  .dateOfWork span{
    color: red;
    font-size: 1.3rem;
  }
  .phone p{
    padding-left: 10px;
  }

  /* media queries */
  @media screen and (max-width:450px) {
    
    .formContainer {
        padding: 1rem 1rem 3rem 1rem;
    }
    div.formContainer>h1 {
        font-size: 2rem;
        text-transform: uppercase;
        padding-top: 1rem;
        text-align: center;
    }
    form {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    form>div {
        width: auto;
    }
    .dateOfWork input {
        margin-right: 0;
        margin-top: 0.5rem;
    }
    #customerInfoMssg {
        height: auto;
        
    }
    #vehicleYearMssg{
        height: auto;
    }

    input[type="date"]:before {
        color: black;
        content: attr(placeholder) !important;
        margin-right: 0.5em;
      }
      input[type="date"]:focus:before {
        content: '' !important;
      }
    input[type="time"]:before {
        color: black;
        content: attr(placeholder) !important;
        margin-right: 0.5em;
      }
      input[type="time"]:focus:before {
        content: '' !important;
      }
      
  }
  @media screen and (max-width:768px) {
    .formContainer {
        padding: 2rem 2rem 5rem 2rem;
        /* width: 100%; */
    }
    form {
        gap: 2rem;
    }
    #vehicleYearMssg {
        height: auto;
        
    }
    #customerInfoMssg {
        height: auto;
        
    }
  }

  @media screen and (min-width:1400px) {
    .formContainer {
        padding: 0;
        margin: 2rem auto;
        margin-bottom: 4rem;
        width: 100%;
        max-width: 1300px;
    }
  }