@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
* {
  box-sizing: border-box;
}

body {
  background-color: antiquewhite;
  font-family: 'Montserrat', open-sans;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center; /*cross axis here column so horizontal*/
  justify-content: center; /*main axis here column so vertical*/
}

.container {
  color: #000;
  background-color: #fff;
  padding: 10px 30px;
  border-radius: 10px;
}

.container h1 {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 30px;
}

a {
  text-decoration: none;
}

.form-control {
  position: relative;
  margin: 20px 0 40px;
  width: 300px;
}

.form-control input {
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid #000;
  display: block;
  width: 100%;
  padding: 5px 0;
  font-size: 18px;
  color: #000;
}

input:focus {
  outline: 0;
}

form .btn {
  display: inline-block;
  width: 100%;
  background-color: antiquewhite;
  padding: 10px 0px;
  text-transform: uppercase;
  font-weight: bolder;
  cursor: pointer;
  font-family: inherit;
  border: 0;
  border-radius: 10px;
}

form p {
  font-size: 15px;
  margin-top: 20px;
}

.form-control label {
  position: absolute;
  top: 5px;
  left: 0;
  pointer-events: none;
}

.form-control label span {
  display: inline-block;
  font-size: 18px;
  min-width: 5px;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control input:focus + label span {
  transform: translateY(-30px);
}
