:root {
  --color-primary: #0a6ec3;
  --red-1: tomato;
  
}


/*
RESET
*/
*, 
*:after,
*:before {

}

html, body {
  font-family: 'Roboto', sans-serif;
}

/*
BODY
*/
body {
  background-color: #fff;
  min-height: 100vh; 
  line-height: 1.6;
  overflow: hidden;
}

body::after {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;    
  background-color: #f2f2f2;
  width: 100vw;
  height: 100vh;
  
/* background-image: linear-gradient(to right bottom, #36f9ba, #34866b); */
}

/*
WRAPPER
*/
.wrapper {
  max-width: 120rem;
  padding-top: 2rem;
}

.container {
  width: 100%;
  margin: 0 auto;
}

.login-panel {}

.login-panel  .login-panel__title {
  font-size: 2rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #555;
  letter-spacing: 1px;  
}

.login-panel  .login-panel__subtitle {
  font-size: .85rem;
  color: #444;
  letter-spacing: 1px;
  font-weight: 400;
}

.login-panel  .login-panel__title,
.login-panel  .login-panel__subtitle{
  display: block;
  margin: 1rem 0 0; 
  text-align: center;
}

.login-panel__top {
  padding: 2.5rem 2rem; 
  position: relative;
}

.login-panel__content,
.login-panel__bottom {
    padding: 2rem;
}

.login-panel__content .input label,
.login-panel__content .checkbox label {
    display: block;
    margin-bottom: .5rem;
    font-size: .87rem;
    font-weight: 400;
    color: #555;
    letter-spacing: 1px;
  
}

.login-panel__content .checkbox label {
    letter-spacing: 0;
    font-size: .77rem;

    text-transform: uppercase;
}


.login-panel__content .checkbox input[type=checkbox] {
  display: inline-block;
  vertical-align: middle;
  bottom: 1px;
  margin-right: 2px;
  position: relative;
}

.login-panel__content .input input::placeholder {
  letter-spacing: 1px;

}


.login-panel__content .input input{
    display: inline-block;
    padding: .72rem;
    width: 100%;
    border: 1px solid #dedede;
    border-radius: 3px;
    outline: none;
    transition:  box-shadow .2s;
}

.login-panel__content .input input:focus {
  border: 1px inset rgba(0,0,0,.2);
  box-shadow: 0 0 6px  rgba(0,0,0,.2);
}

.login-panel__content .input {
    margin-bottom: 1.2rem;
}

.login-panel__bottom {
  display: flex;
  align-items: center;
 
}


.login-panel__bottom .forgot {
    margin-left: auto;
}


.login-panel__bottom .forgot a {
    font-size: .87rem;
    text-decoration: none;
    color: #999;
    transition: all .2;

}

.login-panel__bottom .forgot a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}


.login-panel__bottom button,
.login-panel__bottom input[type=submit]{
    border: none;
    height: 2.5rem;
    line-height: 2.5rem;
    width: 6rem; 
    color: #fff;
    border-radius: 2px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;    
    transition: all .2s;
    display: block;
/*     background-color: #14aa69; */
  background-color: #F44336;
}

.login-panel__bottom button:hover,
.login-panel__bottom input[type=submit]:hover{
/*   background-color: #1b8959; */
  color: var(--color-primary);
  background-color: transparent;
  border: 1px solid currentColor;
}

/*
LINKS 
*/

.links {
  width: 100%;
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 2rem 0;
}

.links li a {
  text-decoration: none;
  color: var(--color-primary);
  font-size: .87rem;
}

.links li {
  padding: 1rem;
  transition: all .2s;
  border-radius: 2px;
  animation-name: fadeIn;
  backface-visibility: hidden;
  animation-duration: 2s;
}

.links li:hover a {
   color: var(--color-primary);
}
.links li:hover {
  background-color: #fff;
}


/*
ANIMATIONS
*/
@keyframes slideDown {
  0% {
    transform: translateY(-2rem);
    opacity: 0;
    
  }
  100% {
    
    transform: translateY(0);
    opacity: 1;
  }
  
}


@keyframes fadeIn {
  0% {
    visibility: hidden;
    opacity: 0;
    
  }
  
  100% {
    visibility: visible;
    opacity: 1;
  }
  
}


/*
MEDIA QUERIES
*/
@media only screen and (min-width: 500px) {
  
  body::after {
    -webkit-clip-path:  polygon(0 100vh, 50vw 100vh, 100vw 0,0px 0px);   
    clip-path:  polygon(0 100vh, 50vw 100vh, 100vw 0,0px 0px);      
    box-shadow: -10px 50px 2px rgba(0,0, 0,.8);
  }
  
  .container {
    max-width: 25rem;
  }
  
  .wrapper {
    padding-top: 6rem;
  }
  

  .login-panel {
    border-radius: 2px;
    box-shadow: 1rem 2rem 6rem rgba(0,0,0,0.2);
    background-color: #fff;
    animation: slideDown 1s;
  }
    
  .login-panel__content,
  .login-panel__bottom {
    background-color: #f9fcfb;
  }
}


/* POP */

.alert-pop {
  display: block;
  background-color: #fff;
  padding: 1.8rem 3rem 1.8rem 2rem;
  border-radius: 4px;
  position: absolute;
  font-size: .92rem;
  line-height: .92rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
  top: 1rem;
  right: 1rem;
  
  pointer-events: none;
  animation: alertPopup .8s ease-in-out;
}

.alert-pop:after {
  pointer-events: all;
  content: "X";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
  background-color: #ddd;
  width: 1rem;
  height: 1rem;
  line-height: 1rem;
  text-align: center;
  font-size: .87rem;
/*   text-transform: uppercase; */
  font-weight: 700;
  border-radius: 50%;
}


.alert-pop--warning  {
    background-color: orange;
    color: #fff;
}

.alert-pop--warning:after  {
    background-color: orangered;
    color: #fff;
}

.alert-pop--danger:after {
    background-color: red;
}
.alert-pop--danger {
  background-color: tomato;
  color: #fff;
}

.alert-pop--remove {
  animation: fadeOut 1s;
}

@keyframes fadeOut {
    0% {
    opacity: 1;
      visibility: visible;

  }
  
  80% {
/*      transform: translateX(-3rem); */
  }
  
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes alertPopup {
  0% {
    opacity: 0;
    transform: translateX(15rem);
  }
  
  80% {
/*      transform: translateX(-3rem); */
  }
  
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}