.container {
display:flex;
justify-content:center;
align-items:center;
flex-direction:column;
width:100%;
}

form{width:100%; max-width:600px; display:flex; justify-content:center; align-items:center; flex-direction:column;}
.row{width:80%;}

/* Actual code example */
.form-field {
  display: block;
  margin-bottom: 16px;
  text-align: left;

}
.form-field--is-active .form-field__control::after {
  border-bottom: 2px solid #ffffff;
  -webkit-transform: scaleX(150);
          transform: scaleX(150);
}
.form-field--is-active .form-field__label {
  color: #ffffff;
  font-size: 0.75rem;
  -webkit-transform: translateY(-14px);
          transform: translateY(-14px);
}
.form-field--is-filled .form-field__label {
  font-size: 0.75rem;
  -webkit-transform: translateY(-14px);
          transform: translateY(-14px);
}

.form-field__label {
  display: block;
  font-size: 1.2rem;
  font-weight: normal;
  left: 0;
  margin: 0;
  padding: 18px 12px 0;
  position: absolute;
  top: 0;
  transition: all 0.4s;
  width: 100%;
  color:#999999;
}

.form-field__control {
  background: rgba(0, 0, 0, 0);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.form-field__control::after {
  border-bottom: 2px solid #ffffff;
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  transition: all 0.4s;
  width: 1%;
}

.form-field__input,
.form-field__textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #999;
  color: #efefef;
  display: block;
  font-size: 1.2rem;
  margin-top: 24px;
  outline: 0;
  padding: 0 12px 10px 12px;
  width: 100%;
}

.form-field__textarea {
  height: 150px;
}


input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: none;
  -webkit-text-fill-color: white;

  transition: background-color 5000s ease-in-out 0s;
}


#submit_button{
	border: solid 1px #999;
	border-radius : 70px;
	moz-border-radius : 70px;
	font-size : 20px;
	color: #efefef;
	background-color:rgba(0,0,0,0) ;
	width:80%;
        max-width:300px;
	height:70px;
       
	margin-top:3rem;
       transition: all 0.4s ease-in;
}

#submit_button:hover{
	border: solid 2px #fff;

}

.form-popup{
width:100%;
height:100%;
position:absolute;
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
opacity:1; 
transition:all .5s ease-in;
}

.form-popup-container{
position:relative;
background-color:#efefef;
width:450px;
min-height:300px;

max-width:85%;
max-height:86vh;
padding:30px;
border-radius:10px;
display:flex;
justify-content:center;
align-items:center;
flex-direction:column;
-webkit-box-shadow: 0px 3px 10px -1px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 3px 10px -1px rgba(0,0,0,0.3);
box-shadow: 0px 3px 10px -1px rgba(0,0,0,0.3);
padding:30px;
}

.form-popup p{
color:black;
font-size:16px;
text-align:center;
margin-bottom:15px;
}

h4{
color:black;
font-size:28px;
font-family: 'Abhaya Libre', serif; 
font-weight:800; 
margin:0px;
padding:0 0 15px 0;
}

.button-container{position:absolute; width:100%; height:100%; z-index:99; opacity:1; transition:all .2s ease-in;}

.x-button{
  width:45px; 
  height:45px; 
  border-radius:45px; 
  background-color:#ffffff; 
  position:relative; 
  left:92%; 
  top:-14px;
  -webkit-box-shadow: 0px 3px 10px -1px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 3px 10px -1px rgba(0,0,0,0.3);
  box-shadow: 0px 3px 10px -1px rgba(0,0,0,0.3);
  display:flex;
  align-items:center;
  justify-content:center;
}

.spanner1{
  height:2px; 
  width:24px; 
  background-color:black; 
  transform: 
  rotate(45deg);
  position: relative;
  left: 11px;
}

.spanner2{
  height:2px; 
  width:24px; 
  background-color:black; 
  transform: 
  rotate(-45deg);
  position: relative;
  right: 11px;
}

.off{opacity:0;}

.error{color:#ff0000;}

body{font-family: 'Lato', sans-serif; line-height:1.5; font-size:12px;}










