@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
*{ 
    margin: 0;
    box-sizing: border-box; 
    padding: 0;
    text-decoration:none;
    font-family: 'Open Sans', sans-serif;    
}
.invalid-feedback{
  color: white !important;
}
body{ 
  background-image: url(/img/fono_login_ecorcd.jpg);
  margin: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height:100vh;
  background-attachment: fixed;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contenedor{
  border-radius: 6px;
  position: absolute;
  background: rgba(31, 156, 104, 0);
  box-shadow: 1px 7px 10px rgba(0,0,0,.5);
  width: 400px;
  border: 3px solid rgba(255,255,255);

}
header{
  width: 100%;
  min-height: 90px;
  background: rgba(23, 117, 78,0.5);
  box-shadow:0px 5px 10px rgb(23, 117, 78,0.7);
  position: relative; 
  display: flex;
  justify-content: center;
  align-items: center;
}
.a{
  position: absolute;
  width: 30%;
  transform: translateY(-56%);
  transition: 0.5s all ease;
  cursor: pointer;
  z-index: 1;
  visibility: visible;

}

h4{
  margin-top: 35px !important;
  margin-bottom:10px !important ;
  font-size: 20px !important;
  position: absolute !important;
  color: white !important;
}
.formulario{
  width: 100%;

 padding-bottom: 20px;
  position: relative;
  
  display: flex;
  justify-content: center;
  align-items: center;
}
.formulario form{
  
  width: 100%;
  margin: auto;

 
}
form .grupo{
  position: relative;
  margin: 45px;
}
.formulario form input{
  padding: 10px 10px 10px 8px;
  width: 100%;

  background: white;
  display: block;
  background: none;
  font-size: 18px;
  border: none;
  border-bottom: 2px solid rgb(14, 70, 46);

}
input:focus{
  outline: none;
}
label{
  color: rgba(14, 70, 46);
  font-size: 16px;
  position: absolute;
  
  left: 5px;
  top: 10px;
  transition: 0.5s all ease;
  pointer-events: none;
}
input:focus~label,
input:valid~label{
  top: -14px;
  font-size: 12px;
  font-weight: 600;
  color: white;

}
.barra{
  position: relative;
  display: block;
  width: 100%;
}
.barra::before{
  content: "";
  height: 2px;
  width: 0%;
  bottom: 0;
  position: absolute;
  background: linear-gradient(to right, rgba(14, 70, 46),rgb(48, 216, 143));
  transition: 0.3s ease width;
  
}



input:focus~.barra::before{
 width: 100%; 


}
button{
  background: rgba(14, 70, 46);
  border: none;
  display: block;
  width: 80%;
  margin: 10px auto !important;
  color: white;
  min-height: 40px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease all;

}
button:hover{
  background: rgb(29, 138, 90);
}
button:active{
  transform: scale(0.9);
}
.logo{
  display: block;
  transform: translateY(30%);
  
  width: 30%;
  margin: 10px auto;
}

.frase{
    text-align: center;
    
}
.frase a{
    color: white;
    text-decoration: none !important;
}