#main_content_wrapper figcaption h1 { text-align: center; border-bottom: solid 3px darkgrey; font-size: 1.8rem; margin-bottom: 0.3rem; } #gallery_image { display: block; max-width: 100%; max-height: 80vh; margin-left: auto; margin-right: auto; }