body{ font-family: Arial, Helvetica, sans-serif; padding: 0px; background-image:url("../img/background.svg"); } 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%; } /*input[type=text]:focus{ border: 2px solid red; border-radius: 4px; }*/ input[type=text], textarea, input[type=email] { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; resize: vertical; } label{margin-right: 0px; margin-left: 0px; width: 100%;} input[type=submit] { background-color: #1255a2; color: white; padding: 12px 20px; border: none; border-radius: 4px; cursor: pointer; } input[type=submit]:hover { background-color: #1872D9; }