The 1950s was an age of kitsch motels, wacky-looking shops and eccentrically designed restaurants popping up along the roadsides of America. But, by the 1970s, out-of-town shopping malls and interstate highways meant these colorful businesses were struggling for customers. Many closed and were left abandoned. Luckily, one photographer spent nearly 40 years capturing their magic before they disappeared. Click through to see the most eye-catching of the bunch...

In the 1950s, there were many bizarrely designed and decorated restaurants along America’s roadsides. These colorful shops were no longer able to find customers due to interstate highways and out-of-town malls. Many were closed down and left to die. Before they vanished, one photographer was able to capture their magic for almost 40 years. Scroll through the gallery to view the best of the lot…

These attraction won't be forgotten, thanks to U.S. photographer John Margolies, who documented these businesses over a period of decades with photographs that would eventually be added to the National Register of Historic Places. Pictured here is an ice cream stand built in the shape of an ice cream cone on the side of a road in Long Beach, Florida. Mr Margolies snapped the picture in 1979.

U.S. photographer John Margolies documented the attractions for decades, capturing them with photos that eventually would be included on the National Register of Historic Places. Here is an example of an icecream stand in Long Beach that looks like an icecream cone. This picture was snapped by Mr Margolies on September 12, 1979.

The unusual buildings sprung up in earnest in the 1950s when car ownership skyrocketed in America and businesses across the country took the opportunity to draw in new customers by setting up on roadsides – like this building, which features a giant bird sitting on top of the 'Mother Goose Market'.

The unusual buildings sprung up in earnest in the 1950s when car ownership skyrocketed in America and businesses across the country took the opportunity to draw in new customers by setting up on roadsides – like this building, which features a giant bird sitting on top of the ‘Mother Goose Market’. 

Mr Margolies began photographing the buildings in 1969, and, so, was able to save them for posterity when they began shutting down in huge numbers in the 1970s and 80s. Here, you see a quirky place for drivers to fill up their gas tanks in Zillah, Washington.

In 1969, Mr Margolies started photographing these buildings. He was then able to preserve them for posterity after they closed down rapidly in the 1970s. You can see here a fun place to fuel up in Zillah.

Originally from Connecticut, Margolies drove thousands of miles across the country, snapping images of the sometimes dilapidated buildings until 2008. Spray Foam Trucks in Albany, Oregon, pictured in 1987, was certainly visible from the roadside thanks to its huge prospector statue and sign.

Margolies, originally from Connecticut, drove thousands of miles to document the buildings that were sometimes abandoned throughout the United States. Spray Foam Trucks in Albany, Oregon, pictured in 1987, was certainly visible from the roadside thanks to its huge prospector statue and sign.

'My parents' generation thought it was the ugliest stuff in the world,' he told The Washington Post in 2015. 'I liked places where everything was screaming for attention: "Look at me. Look at me."' The Hoot Owl Cafe in Southgate, Los Angeles, pictured here, drew in the crowds as the eyes in the top of the owl, made from Buick headlights, would blink. Margolies captured this shot in 1977 – two years before it was demolished.

He told The Washington Post that his parents thought it was the most ugly thing in the world. I liked areas where everyone was screaming at me: “Look At Me.” Take a look at me. The Hoot Owl Cafe in Southgate, Los Angeles, pictured here, drew in the crowds as the eyes in the top of the owl, made from Buick headlights, would blink. Margolies captured this shot in 1977 – two years before it was demolished.

This shot of the Hat 'n' Boots gas station on Route 99 in Seattle, Washington, was taken in 1977. The gas station dated back to 1945 and appeared in the movie National Lampoon's Vacation.

This 1977 photo of the Station 99 Hat ‘n Boots in Seattle was taken. It dates back to 1945, and was used in National Lampoon’s Vacation.

Margolies's pictures often showed the buildings with no humans or cars in sight and against the backdrop of a clear, blue morning sky. He wrote in his 2010 book, Roadside America: 'I love the light at that time of day; it's like golden syrup. Everything is fresh and no one is there to bother you.' The Shell Service Station is located in Winston-Salem, North Carolina, and was pictured here in 2001.

Margolies photographs often featured buildings that were uninhabited and with no cars. They are also set against a blue sky. In his book Roadside America, he wrote: “I love the light in that hour of day. It’s almost like golden syrup.” You are free to enjoy the freshness of everything and there is no need for you to be bothered. The Shell Service Station is located in Winston-Salem, North Carolina, and was pictured here in 2001.

Margolies took this picture of Harold's Auto Center on Route 19 in Spring Hill, Florida, in 1979. The business is still in operation today.

Margolies captured this 1979 photo of Harold’s Auto Center, Route 19, Spring Hill, Florida. Today, the business continues to be in operation.

The Coney Island Dairy Land snack stand on Route 285 in Aspen Park, Colorado, appears abandoned in this 1980 photograph.

In this 1980 photograph, the Coney Island Dairy Land snack stop on Route 285 at Aspen Park (Colorado) appears to be abandoned.

This vintage shot of a worn Leaning Tower of Pizza restaurant was taken in 1984 in Quincy, Massachusetts. It's unclear whether the building has been demolished since this photo was taken.

This vintage shot of a worn Leaning Tower of Pizza restaurant was taken in 1984 in Quincy, Massachusetts. Although it is unclear if the building was demolished, this image shows it. 

Mr Margolies stumbled across this windmill at the entrance to the Fountain Valley mini golf attraction in 1981 in Fountain Valley, California.

In Fountain Valley, California, Mr Margolies found this windmill near the Fountain Valley mini-golf course in 1981.

This Candy House at the then Castle Amusement Park in Riverside, California, stayed open after this photo was taken in 1985. Today, Castle Park remains open, but the fate of Candy House is unclear.

The Candy House, which was located at Riverside Castle Amusement Park, California in the 1980s, has remained open since 1985. Castle Park still remains open. However, Candy House’s fate is unknown. 

Margolies generally rented a Cadillac for his road trips and shot his images with a Canon camera outfitted with a basic lens. Drivers looking for a quirky place to stay on Route 66 in Holbrook, Arizona, could check into the Wigwam Village Hotel, and they're still operating.

Margolies rented a Cadillac on his road trips. Margolies shot the images using a Canon camera equipped with a simple lens and used it as a Canon Camera. If you’re looking for a fun place to stop on Route 66 near Holbrook in Arizona, the Wigwam Hotel might be able to help. 

The Townley milk bottle sits on top of the Townley Dairy building in Oklahoma City. It was snapped in 1993 and has been abandoned since 1998.

On top of Oklahoma City’s Townley Dairy Building, the Townley milk container rests. It was stolen in 1993.

Taken in 1980, this shot shows the Sioux Chief Train Motel in Sioux Falls, South Dakota. When the business failed, the cars were sold off separately to private businesses.

The image was taken in 1980 and shows Sioux Chief Train Motel at Sioux Falls in South Dakota. The cars were then sold separately by private companies after the company failed.

Mr Margolies was not only drawn to architecture that came to define travel by car such as motels, diners and gas stations, but also to quintessentially American oddities like diners. Pictured here in 1984 is Mickey's Dining Car on West 9th Street in St Paul, Minnesota. It typically operates as a 24-hour diner today, but it is temporarily closed at the moment.

Margolies wasn’t only attracted to the architecture of travel, such as diners, gas stations and motels but also to American quirks like diners. Here is Mickey’s Dining Car at West 9th Street, St Paul, Minnesota in 1984. It is currently closed but still operates 24 hours a day. 

Drivers would almost immediately notice the ice cream cones attached to the roof of Gary's ice cream parlor in Jacksonville, Florida, pictured here in 1979.

Nearly all drivers would notice the attached ice-cream cones to Gary’s Jacksonville Ice Cream Parlor roof, as seen here in 1979.

This is the Fleur De Lis Cocktail Lounge on the side of Government Street in Baton Rouge, Louisiana, in 1982. The building remains today, but it now functions as a pizza restaurant called Fleur de Lis Pizza.

In 1982, this is where you will find the Fleur De Lis Cocktail Lounge. It’s located at the end of Government Street. It is still standing today but now it serves as Fleur De Lis Pizza. 

Margolies died in 2016 aged 76, but left his stunning collection of 11,700 quirky images to the Library of Congress. The former Leon's Drive-In restaurant, pictured here in 1977, is still in business in Milwaukee, Wisconsin, today.

Margolies passed away in 2016 at age 76. However, he left a stunning collection of 11700 photos to the Library of Congress. Today, Leon’s Drive In restaurant in Milwaukee is still open.