* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: #131618;
    font-family: sans-serif;
  }
  
  header h2 {
    padding: 20px;
  }

  a {
    text-decoration: none;
    color: #ffc0cb;
    font-size: 20px;
    transition: color 200ms ease-in-out 0s;
  }

  a:hover {
      color: #ffa1b1;
  }
  
  .main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  form {
    display: flex;
    flex-direction: column;
    width: 350px;
    height: 450px;
    background: #131618;
  }
  
  form > .email {
    display: flex;
    flex-direction: column;
  }
  
  form .password {
    display: flex;
    flex-direction: column;
  }
  
  form .button > button {
    width: 100%;
  }
  
  form > button:hover {
    background: #d4d4d4;
  }
  
  form > h1 {
    font-size: 30px;
    color: #fff;
  }
  
  form > button {
    height: 52px;
    margin-top: 50px;
    border: none;
    color: #191919;
    font-size: 17px;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background 200ms ease-in-out 0s;

  }
  
  form > span h3 {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    font-size: 14px;
    position: relative;
    color: #fff;
  }
  
  form > span h3:before {
    content: "";
    background: #333;
    width: 150px;
    height: 2.1px;
    position: absolute;
    transform: translate(-65%, 350%);
  }
  
  form > span h3:after {
    content: "";
    background: #333;
    width: 150px;
    height: 2.1px;
    position: absolute;
    transform: translate(65%, 350%);
  }
  
  form .email {
    margin-top: 30px;
    font-size: 14px;
    color: #fff;
  }
  
  form .password {
    margin-top: 10px;
    font-size: 15px;
    color: #fff;
  }
  
  form .email > input,
  form .password > input {
    margin-top: 10px;
    height: 40px;
    padding: 0 10px;
    border-radius: 5px;
  }
  
  form input::placeholder {
    font-size: 14px;
  }
  
  form .password .cre {
    display: flex;
    justify-content: space-between;
    margin-top: 7px;
  }
  
  form .password .cre :nth-child(2) {
    text-decoration: underline;
    color: #a6a6a6;
    font-size: 14px;
  }
  
  form .button button {
    margin-top: 25px;
    height: 50px;
    font-size: 16px;
    background: #7b4162;
    border: none;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background 200ms ease-in-out 0s;
  }
  
  form .button button:hover {
    background: rgb(85, 35, 64);
  }
  
  #email_error,
  #pass_error {
    margin-top: 5px;
    width: 100%;
    font-size: 14px;
    color: #c62828;
    background: rgba(255, 0, 0, 0.1);
    text-align: center;
    padding: 5px 8px;
    border-radius: 3px;
    border: 1px solid #ef9a9a;
    display: none;
  }
  
  /* Styling Errors */
  
  #messages p {
    color: red;
    font-size: 16px;
    margin: 8px 0;
  }
  
  #messages #success {
    color: green;
  }
  