@font-face {
    font-family: yekan;
    src: url("../fonts/iranyekanwebbold.ttf") format("truetype");
  }

.btnlogin-popup{
    width: 170px;
    height: 43px;
    background: transparent;
    border: 1px solid #c0c0c0c7;
    outline: none;
    border-radius: 1rem;
    cursor: pointer;
    font-size: 1.1em;
    color: #000;
    font-weight: 500;
    font-family: yekan;
    transition: 0.5s;
    display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 8px 140px #444;
}
.btnlogin-popup:hover{
    background-color: rgba(238, 238, 238, 0.897);
    color: #000;
    border: none;
}

/* Login Start */
.wrapper-login {
    position: fixed;
    width: 400px;
    height: 440px;
    background: rgba(236, 236, 236, 0.87);
    border: 2px solid rgb(109, 109, 109);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transform: scale(0);
    transition: transform .5s ease, height .2s ease;
    font-family: yekan;
    z-index: 9999;
    
  }

  .wrapper-login.active-popup {
    transform: scale(1);
    
  }
  
.wrapper-login.active {
    height: 520px;
}

  .wrapper-login .form-box-login {
  width: 100%;
  padding: 40px;
  }
  
  .wrapper-login .form-box-login.login{
    transition: transform .18s ease;
    transform: translateX(0);
  }

  .wrapper-login.active .form-box-login.login{
    transition: none;
    transform: translateX(-400px);
  }

  .wrapper-login .form-box-login.register{
    position: absolute;
    transition: none;
    transform: translateX(400px);
  }
  .wrapper-login.active .form-box-login.register{
    transition: transform .18s ease;
    transform: translateX(0);
  }

  .wrapper-login .icon-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: #000000;
    font-size: 2em;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    cursor: pointer;
    z-index: 1;
  }

  .form-box-login h2 {
    font-size: 2em;
    color: #000000;
    text-align: center;
  }
  
  .input-box {
     position: relative;
     width: 100%;
     height: 50px;
     border-bottom: 2px solid #000;
     margin: 30px 0;
  }

  .input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #000;
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
  }

   .input-box input:focus~label,
   .input-box input:valid~label{
    top: -5px;

   }

  .input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1em;
    color: #000;
    font-weight: 600;
    padding: 0 35px 0 5px;
  }

  .input-box .icon {
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: #000;
    line-height: 57px;

  }

  .remember-forgot {
    font-size: .9em;
    color: #000;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
  }
  .remember-forgot label input {
    accent-color: #162938;
    margin-right: 3px;
  }

  .remember-forgot a {
    color: #6d6d6d;
    text-decoration: none;

  }

  .remember-forgot a:hover {
    
    color: #ff0000;
  }

  .button-login-btn {
    width: 100%;
    height: 45px;
    background: #000;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: rgb(255, 255, 255);
    font-weight: 500;
  }

  .login-register {
    font-size: .9em;
    color: #000000;
    text-align: center;
    font-weight: 500;
    margin: 25px 0 10px;
  }

  .login-register p a {
    color: #6d6d6d;
    text-decoration: none;
    font-weight: 600;
  }

  .login-register p a:hover {
    color: #ff0000;
    
  }

 @media screen and (max-width: 417px){
    .wrapper-login {
        width: 360px;
        height: 400px;
       
      }
      .wrapper-login.active {
        height: 480px;
    }
 }