body{
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;
}

.bg1{
  padding: 0.1px;
  min-height: calc(100vh - var(--height-navbar) - var(--height-footer) - 6rem - 1px);
}

.namePage{
  text-align: center;
  font-size: 3.5em;
}

form{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

form .input{
  position: relative;
  margin-bottom: 1rem;
  width: 100%;
  height: 4rem;
}

.input input:not([type="checkbox"]){
  display: block;
  width: calc(100% - 1rem);
  position: absolute;
  bottom: 1px;
}

.input label{
  display: block;
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  transition: all 0.3s ease-in-out;
  color: black;
}

.input input:hover ~ label,
.input input:focus ~ label,
.input input:valid ~ label{
  bottom: 3rem;
  color: var(--text-color);
}

#seePass{
  position: absolute;
  bottom: 0.55rem;
  right: 1rem;
  width: 20px;
}

.rememberMe{
  margin-top: 1rem;
  width: 100%;
}

.btnBar{
  width: 100%;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
}

.btn-submit{
  width: 45%;
  padding: 0.5rem;
  background-color: #28a745;
  color: white;
  font-size: 1.2em;
  border: none;
  border-radius: 0.3rem;
  border-color: #28a745;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.btn-submit:hover{
  background-color: #1e7e34;
  border-color: #1e7e34;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

#textRegister{
  display: inline-block;
  width: 45%;
  background-image: var(--bg-btn-textRegister);
  border-radius: 1.5rem;
  padding: 0.5rem 0;
  color: white;
  font-size: 1.2em;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

#textRegister:hover{
  transform: scale(1.1);
}

.forgotPassword{
  display: inline-block;
  margin-top: 2rem;
  width: 100%;
  /* color: var(--text-color); */
  color: rgb(0, 209, 255);
  text-align: center;
  /* text-decoration: none;
  transition: all 0.3s ease-in-out; */
  transition: all 0.5s;
}

.forgotPassword:hover{
  /* transform: scale(1.1);
  text-decoration: underline; */
  color: rgb(255, 0, 245);
}

#logout{
  display: inline-block;
  background-image: var(--bg-btn-textRegister);
  border-radius: 1rem;
  padding: 1rem;
  color: white;
  font-size: 1.2em;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

@media(min-width: 768px){
  form{
    width: 50%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .btn-submit{
    font-size: 1.5em;
  }

  #textRegister{
    font-size: 1.5em;
  }
}