<div class="body"></div>
<div id="formDiv"></div>

<div class="header">
  <div>Camp<span>Out</span></div>
</div>

<br>

<div class="login">
  <input type="text" placeholder="username" name="user"><br>
  <input type="password" placeholder="password" name="password"><br>
  <input type="button" value="Login">
</div>


@import url(https://fonts.googleapis.com/css?family=Exo:100,200,400);
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Raleway:wght@400;500&display=swap');

body{
	  margin: 0;
    padding: 0;
    background: #fff;
    color: #fff;
    font-family: Arial;
    text-align: center;
    font-size: 12px;
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.body{
	position: absolute;
	top: -20px;
	left: -20px;
	right: -40px;
	bottom: -40px;
	width: auto;
	height: auto;
	background-image: url(https://images4.alphacoders.com/114/1144182.jpg);
	background-size: cover;
	background-position: center;
	z-index: 0;
}



#formDiv{
    height: 200px;
    width: 700px;
    border-radius: 5px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 200px rgba(255,255,255,0.09);

    border-top: 2px solid rgba(225, 225, 225, 0.3);
    border-left: 2px solid rgba(225, 225, 225, 0.1);
    border-right: 1px solid rgba(225, 225, 225, 0.2);
  
/* IE and Firefox compatible too*/
/*  background: #969899; 
/*  opacity: 0.6; */

/*  WHITE FROST */
/*  box-shadow: 0px 10px 15px 10px rgb(0 0 0 / 15%);
    background-color: rgb(228 228 228 / 15%);  */
 
/*  GRAY FROST */
/*  box-shadow: 0px 10px 15px 10px rgb(0 0 0 / 10%);
    background-color: rgb(228 228 228 / 8%);  */
  
/*  GRAY FROST using filter: drop shadow */
/*  filter: drop-shadow(2px 4px 6px black);
    background-color: rgb(152 151 151 / 35%);
    box-shadow: inset 0 0 0 200px rgb(255 255 255 / 8%);  */
  
/*  GRAYSCALE GLASS */
/*  backdrop-filter: grayscale(.8) blur(5px);
    box-shadow: inset 0 0 0 200px rgba(255,255,255,0.08);  */
  
}


.header{
	position: absolute;
  top: calc(48% - 35px);
  left: calc(47% - 255px);
  z-index: 2;
}

.header div{
	float: left;
	color: #fff;
	font-family: 'Fredoka One';
	font-size: 55px;
	font-weight: 200;
}

.header div span{
	color: #542b67 !important;
}

.login{
	position: absolute;
	top: calc(49% - 75px);
	left: calc(50% - 50px);
	height: 150px;
	width: 350px;
	padding: 10px;
	z-index: 2;
}

.login input[type=text]{
	width: 250px;
	height: 30px;
	background: transparent;
	border: 1px solid rgba(255,255,255,0.8);
	border-radius: 10px;
	color: #fff;
	font-family: 'Raleway';
	font-size: 16px;
	font-weight: 400;
	padding: 4px 4px 2px 10px;
}

.login input[type=password]{
	width: 250px;
	height: 30px;
	background: transparent;
	border: 1px solid rgba(255,255,255,0.8);
	border-radius: 10px;
	color: #fff;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
	font-weight: 400;
	padding: 4px 4px 2px 10px;
	margin-top: 10px;
}

.login input[type=button]{
  transition: all 0.4s ease;
	width: 260px;
	height: 35px;
	background: transparent;
	border: none;
	cursor: pointer;
	border-radius: 2px;
	color: white;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
	font-weight: 500;
	padding: 6px;
	margin-top: 10px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.8);
}

.login input[type=button]:hover{
	opacity: 0.8;
  color: black;
  background: #fff;
	border: 1px solid #fff;
  border-radius: 25px;
  
}

.login input[type=button]:active{
	opacity: 0.6;
}

.login input[type=text]:focus{
	outline: none;
	border: 1px solid rgba(255,255,255,0.9);
}

.login input[type=password]:focus{
	outline: none;
	border: 1px solid rgba(255,255,255,0.9);
}

.login input[type=button]:focus{
	outline: none;
}

::-webkit-input-placeholder{
   color: rgba(255,255,255,0.6);
}

::-moz-input-placeholder{
   color: rgba(255,255,255,0.6);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js