body { padding: 2rem; font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif; } h1 { font-size: 16px; margin-top: 0; } p { color: rgb(107, 114, 128); font-size: 15px; margin-bottom: 10px; margin-top: 5px; } .card { margin: 0 auto; padding: 16px; border: 1px solid lightgray; border-radius: 16px; background:cornflowerblue; max-width:512px; max-height:5000px; display:flex; flex-direction:column; } .card p:last-child { margin-bottom: 0; }