You do realize that the literal measurements of the ark would not be able to hold even two of every kind of bird in the country of Costa Rica? Literalism doesn't work. Even every animal endemic to the middle east wouldn't fit. Even if we just say a pair of each "Kind" (canid, feline, cervid, psittacine, falconiform, cetacean, mollusc, etc.) is all that was on the ark, it wouldn't fit. Literalism fails.
When the term "the whole world" was used in Hebrew, it was a general expression "the known world". The latest research indicates a worldwide catastrophe around 11,600 years ago, likely repeated asteroid strikes that led to tremendous hellscapes, coupled with super heated glaciers causing instantaneous flooding over much of the world. The Sahara as a jungle became the desert we know in less than 100 years. The nano diamonds and trace platinum found worldwide in that geologic layer supports it.`