img { display: block; margin: auto; max-width: 100%; max-height: 100%; } p { margin-top: 100px; margin-bottom: 100px; margin-right: 150px; margin-left: 80px; }