html {
  height: 100%;
}


.imgcontainer {
  text-align: center;
  margin: 24px 0 0px 0;
}

/* Avatar image */
img.avatar {
  width: 30%;
  border-radius: 50%;
  /*border: 10px solid  #B8D2E0 ;*/
  /*background: linear-gradient(360deg, transparent, #BAB812);*/
  box-shadow: 0 0 50px #C3F5F1,
              0 0 100px #C3F5F1,
              0 0 150px #C3F5F1,
              0 0 200px #C3F5F1;
}


body{
  /*background-attachment: fixed;*/
  background-image: url(../img/img_fondo.jpg);
  background-size:  100%;
  /*padding-top: 50px;*/
  width: 100%;

  }

/*body {
  margin:0;
  padding:0;
  font-family: sans-serif;
  background: linear-gradient(#FFFFFF, #2A6546);
}*/

.login-box {
  font-family: Roboto,sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  padding: 40px;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,.9);*/
  box-sizing: border-box;
  box-shadow: 0 15px 25px rgba(0,0,0,.6);
  border-radius: 20px;
}

.login-box h2 {
  margin: 0 0 30px;
  padding: 0;
  color: #636D66;
  text-align: center;
}

.login-box h4 {
/*    margin: 0 0 30px;*/
    text-transform: uppercase;
    padding: 0;
    color: #FF0000;
    text-align: center;
}

.login-box .user-box {
  position: relative;
}

.login-box .user-box input {
  /*text-align: center;*/
  width: 100%;
  padding: 10px 0px;
  font-size: 20px;
  color: #556A7D;
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid #9399A3;
  border-radius: 5px;
  outline: none;
  background: transparent;
}

.login-box .user-box label {
  width: 100%;
  /*text-align: center;*/
  position: absolute;
  top:0;
  left: 0;
  padding: 10px 0;
  font-size: 20px;
  color: #9AA7A6;
  pointer-events: none;
  transition: .5s;
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
  /*text-align: center;*/
  top: -30px;
  left: 0;
  color: #509A64;
  font-size: 20px;

}
.user-box-chek {
  padding-bottom: 30px;
}
.user-box-chek label {
  color: #626161;
   
}


.login-box form button {

  position: relative;
  display: inline-block;
  padding: 10px 20px;
  background: #BCC3BC;
  color: #393737;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  /*transition: .5s;*/
  margin-top: 10px;
  letter-spacing: 1px
}

.login-box button:hover {
  background: #179C5F;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px #C3F5F1,
              0 0 10px #C3F5F1,
              0 0 15px #C3F5F1,
              0 0 20px #C3F5F1;
}



.login-box button span {
  position: absolute;
  display: block;
}

.login-box button span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #BAB812);
  animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
  0% {
    left: -100%;
  }
  50%,100% {
    left: 100%;
  }
}

.login-box button span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #BAB812);
  animation: btn-anim2 1s linear infinite;
  animation-delay: .25s
}

@keyframes btn-anim2 {
  0% {
    top: -100%;
  }
  50%,100% {
    top: 100%;
  }
}

.login-box button span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #BAB812);
  animation: btn-anim3 1s linear infinite;
  animation-delay: .5s
}

@keyframes btn-anim3 {
  0% {
    right: -100%;
  }
  50%,100% {
    right: 100%;
  }
}

.login-box button span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #BAB812);
  animation: btn-anim4 1s linear infinite;
  animation-delay: .75s
}

@keyframes btn-anim4 {
  0% {
    bottom: -100%;
  }
  50%,100% {
    bottom: 100%;
  }
}

/* aqui en tamaño celular cambia fondos --------------------------------------------*/
@media screen and (max-width: 871px) {

body {
   
  background-image: url(../img/img_fondo2.jpg);
  background-size: 100% ;
  background-attachment: fixed;
  /*padding-top: 50px;*/
  width: 100%;
 }

 
.login-box {
  font-family: Roboto,sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75%;
  padding: 40px;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,.9);*/
  box-sizing: border-box;
  box-shadow: 0 15px 25px rgba(0,0,0,.6);
  border-radius: 10px;
}

.login-box form button{
     padding: 10px 10px
}


 

 

};