body{
    background: #eee;
    background: -moz-linear-gradient(top,  #0033660, #003366100);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eee), color-stop(100%,#aaa));
    background: -webkit-linear-gradient(top,  #0033660,#003366100);
    background: -o-linear-gradient(top,  #0033660,#003366100);
    background: -ms-linear-gradient(top,  #0033660,#003366100);
    background: linear-gradient(to bottom,  #0033660,#003366100);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003366', endColorstr='#003366',GradientType=0 );
}
html,body{
    position: relative;
    height: 100%;
}

.login-container{
    position: relative;
    /*width: 450px;*/
    /*margin: 80px auto;*/
    margin-top: 80px;
    padding: 20px 60px 30px;
    text-align: center;
    background: #666;
    border: 0px solid #eee;
}

#output{
    position: absolute;
    /*width: 450px;*/
    text-align: center;
    top: -75px;
    left: 0;
}

#output.alert-success{
    background: rgb(25, 204, 25);
}

#output.alert-danger{
    background: rgb(228, 105, 105);
}


.login-container::before,.login-container::after{
    content: "";
    position: absolute;
    width: 100%;height: 100%;
    top: 3.5px;left: 0;
/*    background: #;*/
    z-index: -1;
    -webkit-transform: rotateZ(4deg);
    -moz-transform: rotateZ(4deg);
    -ms-transform: rotateZ(4deg);
    border: 0px thin #ccc;

}

.login-container::after{
    top: 5px;
    z-index: -2;
    -webkit-transform: rotateZ(-2deg);
     -moz-transform: rotateZ(-2deg);
      -ms-transform: rotateZ(-2deg);

}

.avatar{
    /*width: 290px;*/
    /*height: 150px;*/
    /*margin: 10px auto 30px;*/
    margin-top: 10px;
    /* Removed negative margin-bottom to prevent overlap */
    /*margin-bottom: -40px;*/
    margin-left: auto; /* Center avatar */
    margin-right: auto; /* Center avatar */
    margin-bottom: 20px; /* Add space below logo */
    display: block; /* Ensure it takes its own line for margin to work consistently */
    /*border-radius: 100%;*/
    /*border: 2px solid #aaa;*/
    width: 75%; /* Limit the width of the avatar container to 75% to center it*/
}

.avatar img{
    width: 100%; /* Make image fill its 75% parent */
    height: auto; /* Maintain aspect ratio */
}

.form-box input{
    width: 100%;
    padding: 10px;
    text-align: center;
    height:40px;
    border: 1px solid #ccc;;
    background: #fafafa;
    transition:0.2s ease-in-out;

}

.form-box input:focus{
    outline: 0;
    background: #eee;
}

.form-box input[type="text"]{
    border-radius: 5px 5px 0px 0;
/*    text-transform: lowercase;*/
}

.form-box input[type="password"]{
    border-radius: 0 0 5px 5px;
    border-top: 0;
}

.form-box button.login{
    margin-top:15px;
    padding: 10px 20px;
    outline: none;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}