<header><h1>Registration Form </h1></header>

<form action="/register" method="post">
  <label for="fname">First Name </label><br>
  <input type ="text" id="fname" required><br>
    <label for="lname">Last Name </label><br>
  <input type ="text" id="lname" required><br>
    <label for="email">Email </label><br>
  <input type ="email" id="email" required><br>
    <label for="company">Organization </label><br>
  <input type ="text" id="company" required><br>
    <input type="submit" value="Submit">
</form>
* {
  padding: 0.5rem;
  margin: 0.5rem;;
}

body {
  background-color: #193366;
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  line-height: 0.5;
}

form {
  position: relative;
  text-align: center;
  box-sizing: border-box;
  border: 2px solid white;
  border-radius: 20px;
  top: 15%;
  background: #B6C6EC;
  max-width: 500px;
  min-width: 200px;
  margin: 0 auto;
  padding: 5px;
  opacity: 1;
}

input {
  position: relative;
  width: 80%;
}

h1 {
  text-align: center;
  line-height: 1.2;
  background: #B6C6EC;
  min-width: 200px;
  margin: 5px auto;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.