Custom CSS Request for Divi theme

In mobile view, there is a huge chunk of white space above the title box. I have tried this code - @media screen and (max-width: 1024px) {
.home form p:first-child {
height: 100px;
}
}
But is is not working.