* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Courier New', Courier, monospace;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  background: no-repeat top center/cover;
  background-image: url(https://img.freepik.com/fotos-premium/vista-do-ceu-noturno-roxo-com-nuvens-cirros-e-estrelas_910684-1990.jpg?w=1060);
}

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 90%;
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  padding: 40px 60px;
  color: white;
}
header nav{
  width: 55%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 26px;
}
header nav a{
  color: white;
  text-decoration: none;
  position: relative;
}
header nav a::before{
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  background-color: white;
  width: 0%;
  height: 2.5px;
  transition: .3s;
}
header nav a:hover::before{
  width: 100%;
}
.Form-box{
  position: relative;
  width: 400px;
  height: 450px;
  backdrop-filter: blur(40px);
  color: white;
  font-size: 20px;
  border: 2px solid white;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .6s ease, height .2s ease-in-out;
}
.Form-box form{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: absolute;
  transition: all .5s ease;
}
.Form-box .Register-form{
  transform: translateX(-100%);
}
.input-box{
  width: 80%;
  display: flex;
  justify-content: space-between;
  position: relative;
  border-bottom: 2px solid white;
  margin: 40px 0px;
}
.Register-form .input-box{
  margin: 26px 0px;
}
.input-box input{
  width: 90%;
  position: absolute;
  color: white;
  font-size: 20px;
  border: none;
  background: none;
  outline: none;
}
.input-box label{
  transition: .4s;
}
.input-box input:focus ~ label,
.input-box input:valid ~ label{
  transform: translateY(-25px);
}
.input-box ion-icon{
  font-size: 25px;
}
.checkbox{
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.Register-form .checkbox{
  display: unset;
}
.submit-btn{
  width: 80%;
  height: 30px;
  cursor: pointer;
  border-radius: 20px;
  margin: 15px 0px;
  border: none;
  font-size: 16px;
}
.Form-box h5,
.checkbox label,
.checkbox input{
  cursor: pointer;
}
.change-form{
  height: 500px;
}
.change-form .Login-form{
  transform: translateX(100%);
}
.change-form .Register-form{
  transform: translateX(0%);
}
