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;
  width: 100%;
  height: 4rem;
}

.input input{
  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);
}

.message{
  width: 100%;
  margin-bottom: 1rem;
}

.btn-submit{
  width: 100%;
  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);
}

.error{
  position: absolute;
  right: 0;
  bottom: 2rem;
  color: red;
  font-size: 0.8em;
}

.error li{
  list-style-type: none;
}

@media(min-width: 768px){
  form{
    width: 50%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .btn-submit{
    font-size: 1.5em;
  }
}