@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  
}
.wrapper{
  width: 450px;
  background: #fff;
  padding: 15px;
  background-color: #cccccc;
  /* box-shadow: 0px 0px 10px rgba(0,0,0,0.1); */
}
.wrapper .input-data{
  height: 40px;
  width: 100%;
  position: relative;  
}

.message{  
  position: relative;  
  max-width: 450px;
}

.wrapper .input-data input{
  height: 100%;
  width: 100%;
  border: none;
  font-size: 17px;
  border-bottom: 2px solid silver;
}
.input-data input:focus ~ label,
.input-data input:valid ~ label{
  transform: translateY(-20px);
  font-size: 15px;
  color: #4158d0;
}
.wrapper .input-data label{
  position: absolute;
  bottom: 10px;
  left: 0;
  color: grey;
  pointer-events: none;
  transition: all 0.3s ease;
}
.input-data .underline{
  position: absolute;
  height: 2px;
  width: 100%;
  bottom: 0;
}

.input-data .underline:before{
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: #4158d0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.input-data input:focus ~ .underline:before,
.input-data input:valid ~ .underline:before{
  transform: scaleX(1);
}

.buttonWrapper{
  width: 450px;
  background: #fff;
  padding: 15px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;  
  background-color: #cccccc;
}

.buttonWrapper .input-data button{
  width: 20vw;
  height: 5vh;
}

.Formbody{
  background-color: #cccccc;
}

.FormTitle{
  align-items: center;
  font-size: 24px;
  padding-left: 10vw;
}

/* nav */
.navbar{
  position: fixed;
  background-color: #222;
  top: 0;
  left: 0;
  right: 0;
  transition: all .3s ease-in-out;
}

.navbar .textContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px, 0;
  transition: all .3s ease-in-out;
}

.navbar ul {
  display: flex;
  list-style-type: none;
  align-items: center;
  justify-content: center;
}

.navbar a{
  color: white;
  text-decoration: none;
  padding: 7px 15px;
  transition: all .3s ease-in-out;
  font-size: 20px;
}

.navbar.active{
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);    
}

.navbar.active a {
  color: black;
}

.navbar.active .textContainer{
  padding: 10px 0;
}

.navbar a.linkcurrent, 
.navbar a:hover{
  color: red;
  font-weight: bold;
}