
:root {
    --navyblue: #1d0553;
    --purple1: #37075d;
    --purple2: #440d82;
    --keycolor1: #c211a0;
    --keycolor2: #9d0580;
  }
  
  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  body {
    color: #57584e;
    font-family: "Poppins", sans-serif;
  }
  main {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background: linear-gradient(
      109.25deg,
      var(--navyblue) 7.93%,
      var(--purple1) 60.97%,
      var(--purple2) 91.81%
    );
  }
  
  .RegLogo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3% 0;
  }
  
  .RegLogo img {
    width: 90%;
  }
  
  .form-container {
    background-color: white;
    width: 450px;
    margin: 0 auto;
    position: relative;
    max-width: 95%;
    border-radius: 3px;
    padding: 35px 35px 60px 35px;
  }
  
  .form-container h1 {
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    margin: 30px 0;
  }
  
  .Email-Address,
  .Password {
    margin-bottom: 15px;
  }
  
  #email,
  #password {
    width: 100%;
    font-size: 15px;
    height: 50px;
    padding: 6px 12px;
    border: 1px solid #dee5e7;
    border-radius: 2px;
    box-shadow: none;
  }
  
  #email:foucs,
  #password:foucs {
    outline: 1px solid var(--navyblue);
  }
  
  .accept {
    width: 100%;
    background-color: var(--keycolor2);
    border-color: var(--keycolor2);
    border-radius: 5px;
    padding: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
  }
  
  .accept:hover {
    background-color: var(--keycolor1);
  }
  
  .newUser {
    width: 450px;
    margin: 25px auto 1px;
  }
  .newUser P {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
  }
  
  .forgotPassword {
    width: 450px;
    margin: 1px auto;
    text-align: center;
  }
  
  .login,
  .forgot {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
  }
  
  .forgot {
    text-decoration: none;
    color: #fff;
  }
  
  .login:hover,
  .forgot:hover {
    text-decoration: underline;
  }
  
  footer button {
    width: 120px;
    height: 40px;
    padding: 0 5px;
    border-radius: 20px;
    background: var(--keycolor1);
    border: none;
    color: rgba(255, 255, 255, 0.747);
    font-size: 15px;
    font-weight: 700;
  }
  
  footer button:hover {
    color: #fff;
    background-color: var(--keycolor2);
  }
  
  footer a {
    position: fixed;
    bottom: 20px;
    right: 5px;
  }
  /* Placing toggle icon in the password field */
  #togglePassword {
    margin-left: -30px;
    cursor: pointer;
  }
  
  /* If a required input has been touched and is valid*/
  .touched:required:valid {
    outline: 1px solid green;
  }
  
  /* If a required input has been touched and is invalid*/
  .touched:required:invalid {
    outline: 1px solid red;
  }
  
  /* Mobile View */
  @media screen and (max-width: 428px) {
    .form-container {
      width: 90%;
    }
  }