@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  background-color: cornflowerblue;
  color: white;
}
/* container */
.container {
  width: 25%;
  height: 50%;
  background-color: royalblue;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  padding: 20px 0px;
}
/* btn */
.btn {
  width: 60%;
  height: 40px;
  background-color: deepskyblue;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.1s ease;
}
.btn:active {
  background-color: rgb(1, 165, 220);
}
a {
  text-decoration: none;
  color: cornflowerblue;
}
input {
  border: none;
  border-bottom: 2px solid white;
  background-color: transparent;
  width: 100%;
  font-size: 15px;
  height: 40px;
  color: white;
}
input:focus {
  border-bottom: 2px solid cornflowerblue;
  outline: 0;
}
.form {
  width: 250px;
}
.form-control {
  width: 100%;
  text-align: left;
  position: relative;
  height: 25px;
  margin: 10px 0px 50px 0px;
  display: block;
}
label {
  position: absolute;
  top: -10px;
  pointer-events: none;
}

.form-control label span {
  display: inline-block;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.form-control:focus-within label span {
  color: cornflowerblue;
  transform: translateY(-20px);
}
