* {
  box-sizing: border-box;
}
body {

  /* background-image: linear-gradient(180deg, #3096e1, #54d2dc); */
  background-image: linear-gradient(45deg, #111, #444);
  background-image: url('../img/background.jpg');
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size:13px;
  padding: 0px;
  margin: 0px;
  min-height: 100vh;
}
.loginbox {
  width: 450px;
  display: flex;
  background-color: #fff;
  position: absolute;
  top:35%;
  left:10%;
  border-radius: 3px;
  border-bottom: 2px solid #000;
  box-shadow: 0px 0px 20px rgba(0,0,0,.2);
}

.login-logo {
  font-size:64px;
  font-weight: bold;
  font-family: 'Kanit', sans-serif;
  position: absolute;
  top:-110px;
  z-index: -1;
  left:15px;
  color:#FFF;
}
.login-logo >span {
  font-size:16px;
  letter-spacing: 0px;
  margin-left:0px;
}
.login-logo >font {
  position: absolute;
  font-size:14px;
  letter-spacing: 0px;
  width: 100%;
  left:2px;
  bottom: 5px;
  letter-spacing: 1px;
  font-weight: 300;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color:rgba(255,255,255,.5);
  text-shadow: none;
}
.login-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: center;
}
.login-element {
  display: flex;
  justify-content: center;
  padding: 7px;
  width: 100%;
  align-items: center;
}
.login-element >span:nth-child(1) {
  width: 150px;
}
.login-element >span:nth-child(2) {
  flex:1;
}
.login-input {
  width: 100%;
  padding: 10px;
  border:none;
  background-color: #ddd;
  border-radius: 3px;
  outline: none;
  font-size:13px;
  font-weight: bold;
  box-shadow: 0px 0px 3px rgba(0,0,0,.2) inset;
  transition: 300ms all;
}

.login-input:focus {
  background-color: #f9f9f9;
}

.login-button {
  background-color: #ff826f;
  width: 70%;
  display: flex;
  color:#222;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-bottom: 2px solid rgba(0,0,0,.2);
  padding: 8px 0px 9px;
  font-size:13px;
  border-radius: 3px;
  font-weight: 500;
  box-shadow: 0px 30px 15px #ffc161 inset;
  transition: 300ms all;
}

.login-button:hover {
  filter:brightness(110%);

}

.colors {
  height: 8px;
  display: flex;
  position: absolute;
  bottom:-5px;
  width: 100%;
  border-radius: 3px;
  overflow: hidden;
}
.colors >div {
  flex:1;
  height: 100%;
}
.colors >div:nth-child(1) {
  background-color: #54d2dc;
}
.colors >div:nth-child(2) {
  background-color: #3096e1;
}
.colors >div:nth-child(3) {
  background-color: #ff826f;
}
.colors >div:nth-child(4) {
  background-color: #ffc161;
}


.bincolors {
  height: 25px;
  display: flex;
  position: absolute;
  width: 100%;
  border-radius: 3px;
  overflow: hidden;
  bottom:0px;
  filter:blur(20px);
}
.bincolors >div {
  flex:1;
  height: 100%;
}
.bincolors >div:nth-child(1) {
  background-color: #54d2dc;
}
.bincolors >div:nth-child(2) {
  background-color: #3096e1;
}
.bincolors >div:nth-child(3) {
  background-color: #ff826f;
}
.bincolors >div:nth-child(4) {
  background-color: #ffc161;
}

.topbin {
  top:0px;
}

.forget {
  padding: 8px;
  width: 100%;
}
.forget a {
  color:#3096e1;
}

.shadow {
  position: absolute;
  width: 100%;
  height: 5px;
  background-color: #000;
  left:0px;
  top:-60px;
  filter:blur(7px);
}

.box-area {
  position: fixed;
  width: 100%;
  height: 100%;
  top:0px;
  left:0px;
  right:0px;
  bottom:0px;
  background: rgba(0,0,0,.6);
  z-index: 10000;
  display: none;
}

.box-box {
  position: absolute;
  width: 400px;
  background-color: rgba(255,255,255,.2);
  left:50%;
  margin-left:-200px;
  top:100px;
  animation: showbox;
  animation-duration: 250ms;
  box-shadow: 0px 0px 50px rgba(0,0,0,.5);
  padding: 5px;
  border-radius: 5px;

}
@keyframes showbox {
  0% {
    top:-100px;
    opacity:0;
  }
  100% {
    top:100px;
    opacity:1;
  }
}
.box-button a {
  padding: 10px;
  display: inherit;
  color:#FFF;
  font-weight: 500;
  text-decoration: none;
  border-top: 2px solid rgba(0,0,0,.2);
  box-shadow: 0px 3px 5px rgba(0,0,0,.1) inset;
}
.success-box .box-button a {
  background-color: #269e59;
}
.error-box .box-button a {
  background-color: #BC2121;
}

.box-msg {
  padding: 15px;
  background-color: #FFF;
}

.box-button a:hover {
  filter:brightness(105%);
}

.disable-loginbutton {
  background-color: #999;
  color:#666;
  text-shadow: none;
  box-shadow: none;
}
