JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
<div class="wrapper">
  <a href="#" class="close"><i class="fas fa-times"></i></a>
  <form action="">
    <h2><i class="fas fa-lock"></i> Login Form</h2>
    <div class="form-group">
      <input type="text" placeholder="User or Email...">
      <i class="fas fa-smile"></i>
      <a href="#">Forgot your username?</a>
    </div>
    <div class="form-group">
      <input type="password" placeholder="Password">
      <i class="fas fa-key"></i>
      <a href="#">Forgot your password?</a>
    </div>
    <div class="form-group">
      <div class="remember">
        <input type="checkbox" id="check">
        <label for="check">Remember me</label>
      </div>
      <a href="#" class="sign-in">Sign-in now</a>
    </div>
  </form>
  <nav class="socials">
    <a href="#"><i class="fab fa-twitter"></i> Sign in with <strong>Twitter</strong></a>
    <a href="#"><i class="fab fa-facebook-f"></i> Sign in with <strong>Facebook</strong></a>
    <a href="#"><i class="fab fa-google-plus"></i> Sign in with <strong>Google+</strong></a>
    <a href="#"><i class="fab fa-linkedin"></i> Sign in with <strong>LinkedIn</strong></a>
  </nav>
</div>

CSS

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600');

* {
  box-sizing: border-box;
}

body {
  background: url('https://images.pexels.com/photos/1308624/pexels-photo-1308624.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940') center no-repeat;
  background-size: cover;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

body::before {
  content: "";
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.wrapper .close {
  background-color: #f0ff00;
  border-radius: 50%;
  color: #2E3131;
  line-height: 30px;
  text-align: center;
  height: 30px;
  width: 30px;
  position: absolute;
  top: -15px;
  right: -15px;
}

form,
.socials {
  box-shadow: 0 0 10px  #f0ff00;
  border: 2px solid #f0ff00;
  padding: 1rem 2rem;
}

form h2 {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

form .fa-lock {
  text-shadow: 0 0 10px #f0ff00;
  color: #f0ff00;
  font-size: 1rem;
  margin-right: 0.5rem;
}

.form-group {
  margin-bottom: 1rem;
  position: relative;
}

.form-group .fas {
  color: #ffffff;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  transition: all 300ms ease-in-out;
}

.form-group input[type="text"],
.form-group input[type="password"] {
  border-radius: 2px;
  display: block;
  border: 0;
  background-color: #2E3131;
  font-size: 0.875rem;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  font-family: "Source Sans Pro", sans-serif;
  margin-bottom: 0.2rem;
  transition: all 300ms ease-in-out;
  width: 240px;
  max-width: 100%;
}

.form-group input:focus {
  background: #ffffff;
  color: #2E3131;
  outline: none;
}

.form-group input:focus ~ .fas {
  color: #2E3131;
}

.form-group a {
  display: block;
  color: #ffffff;
  text-align: right;
 ...