So I am trying to figure out a good way to get to Girona from Madrid and preferably by train (maybe a sleeper train). I was just wondering if anyone had any advice, I will be arriving in Madrid on April 2 and was hoping to go to Girona either that day or the next day. I tried to look at the train times but I only found a train that leaves around midnight which could work but I am just concerned about safety (because its late at night) and just the possibility of other options. I ultimately need to be in Girona because I have to catch a flight on April 4th and thought it would be fun to explore the city. I appreciate any advice you all have! Thanks.