@keyframes shake {
  0%   { transform: translateX(0); }
  10%  { transform: translateX(-16px); }
  20%  { transform: translateX(16px); }
  30%  { transform: translateX(-12px); }
  40%  { transform: translateX(12px); }
  50%  { transform: translateX(-8px); }
  60%  { transform: translateX(8px); }
  70%  { transform: translateX(-4px); }
  80%  { transform: translateX(4px); }
  90%  { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

#login {
  align-items: center;
  background-image: url( /img/fluid-background.png );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
  justify-content: center;
}

#login[hidden] {
  display: none;
}

#login article {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba( 0, 0, 0, 0.30 );                    
  display: flex;
  flex-direction: column;
  width: 320px;
}

#login article.shake {
  animation: shake 0.60s ease-in-out;  
}

#login button {
  align-items: center;
  appearance: none;
  background: #0f62fe;
  border: solid 1px transparent;          
  color: #f4f4f4;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  margin: 0;
  outline: none;
  padding: 16px 16px 32px 16px;
  width: 50%;
  -webkit-tap-highlight-color: transparent;
}

#login button:focus {
  box-shadow:
    inset 0 0 0 1px #0f62fe,
    inset 0 0 0 2px #ffffff;    
}

#login button:hover {
  background: #0050e6;    
}        

#login button span {
  display: block;
  flex-basis: 0;
  flex-grow: 1;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.50px;
  line-height: 18px;
  text-align: left;
}

#login h3 {
  color: #161616;
  cursor: default;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.50px;
  line-height: 28px;
  margin: 0;
  padding: 16px 16px 0 16px;
}

#login h3 ~ p {
  color: #525252;
  cursor: default;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.50px;
  line-height: 18px;
  margin: 0;
  padding: 4px 0 0 16px;  
}

#login h3 ~ p a {
  color: #0f62fe;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#login footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

#login form {
  padding: 32px 16px 32px 16px;
}
