@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
:root {
  --header-height: 3rem;
  --main-color: #a1823d;
  --light: hsl(38, 75%, 70%); /* #ECC279 */
  --dark: hsl(35, 30%, 46%); 
  --red: #f00;
  --button-color: hsl(0, 0%, 17%);
  --button-color-alt: hsl(0, 0%, 21%);
  --title-color: hsl(0, 0%, 8%);
  --text-color: hsl(0, 0%, 35%);
  --text-color-light: hsl(0, 0%, 55%);
  --main-gradient: linear-gradient(60deg, #987b52, #bd9857, #987b52);
  --white: #fff;
  --black: #000;
  --grey: #666;
  --grey-light: #E1E1E1;
  --border:.1rem solid rgba(0,0,0,.1);
  --box-shadow:0 .2rem .3rem rgba(0,0,0,.1);
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  outline: none; border:none;
  text-decoration: none;
  transition: .2s linear;
}
*:focus {
	outline: none;
}
li { list-style: none; }

html{
  /* font-size: 62.5%; */
  font-size: 1rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html,body{
  display: grid;
  height: 100vh;
  width: 100vw;
  place-items: center;
  background: #000;
  background-image: url('../auimg/bar_xl.svg');
}

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

::selection{
  background: var(--main-color);
  color: #fff;
}
.wrapper{
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  background: var(--white);
  opacity: .9;
  padding: 30px 60px;
  border-radius: 20px;
  box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
}
.wrapper .logo{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wrapper .logo img {
  width: 100px;
  margin-bottom: 1rem;
}
.wrapper .error {
  font-size: 0.75rem;
  color: var(--red);
  padding: 1rem;
  text-align: center;
}
.wrapper .form-container{
  width: 100%;
  overflow: hidden;
}
.form-container .form-inner{
  display: flex;
  width: 200%;
}
.form-container .form-inner form{
  width: 50%;
  transition: all 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
}
.form-inner form .field{
  height: 50px;
  width: 100%;
  margin-top: .5rem;
}

.form-inner form .field input {
  width: 100%;
  text-align: center;
  background-color: #f4f4f4;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 200;
  padding: 10px 0;
  transition: all 0.3s ease;
  }
.form-inner form .field input:focus{
  border: 1px solid var(--main-color);
  box-shadow: none;
  /* box-shadow: inset 0 0 3px #fb6aae; */
}
.form-inner form .field input::placeholder{
  color: var(--grey);
  transition: all 0.3s ease;
}
form .field input:focus::placeholder{
  color: #b3b3b3;
}
.form-inner form .pass-link{
  margin-top: 5px;
}
.form-inner form .copyright{
  font-size: 0.75rem;
  color: var(--main-color);
  text-align: center;
  margin-top: 30px;
}
/* .form-inner form .copyright a:is(:hover, :focus) { color: var(--main-color); } */

form .btn{
  height: 50px;
  width: 100%;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
form .btn .btn-layer{
  height: 100%;
  width: 300%;
  position: absolute;
  left: -100%;
  /* background: -webkit-linear-gradient(right, var(--light), var(--main-color), var(--light), var(--main-color)); */
  background: var(--main-color);
  border-radius: 5px;
  transition: all 0.4s ease;;
}
form .btn:hover .btn-layer{
  left: 0;
}
form .btn input[type="submit"]{
  height: 100%;
  width: 100%;
  z-index: 1;
  position: relative;
  background: none;
  border: none;
  color: #fff;
  padding-left: 0;
  border-radius: 5px;
  /* font-size: 20px; */
  font-weight: 500;
  cursor: pointer;
}

/*--- footer START ---*/
.footer-area{
  display: grid;
  place-items: center;
}
.footer-box{
  margin-top: 1rem;
  font-size: 12px;
  color: var(--main-color);
  align-items: center;
  display: grid;
  place-items: center;
  /* gap: calc(10% + 20px); */
  }
 /*--- footer END ---*/

@media (max-width:991px){
  html{
    font-size: 55%;
  }
}

@media (max-width:540px){
  html{
    font-size: .75rem;
  }
  .wrapper{
    padding: 30px 30px;
    width: 90%;;
  }
  .wrapper .logo img {
    width: 80px;
  }
  .form-inner form .field input{
    font-size: 15px;
  }
  .footer-box{
    font-size: 10px;
  }
	}
