#add_post{ display: flex; flex-direction: column; justify-content: center; align-items: center; } #add_post input{ margin-bottom: 10px; } #add_post label{ margin-bottom: 10px; font-size: 20px; font-weight: bold; } #submit{ background-color: chartreuse; border-radius: 25px; border: 2px solid black; font-size: 20px; text-decoration: none; color:black; font-family: Arial; text-align: center; margin-top: 10px; }