main{ display: flex; flex-direction: column; align-items: center; justify-content: flex-start; } h1{ margin-bottom: 10px; } form{ backdrop-filter: blur(10px); background-color: rgba(255, 255, 255, 0.2); width: 50%; display: flex; flex-direction: column; align-items: center; size: 10px; box-shadow: 0 40px 60px rgba(0,0,0,0.7); border-radius: 20px; margin: 10vh; } form div { margin: 2%; }