* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
  }
  
  .container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-color);
    overflow: hidden;
    /* background-image: url("bb.jpg"); */
    background-repeat: no-repeat;
    background-size: cover;
  
  }
  
  .container:before {
    content: "";
    position: absolute;
    width: 2000px;
    height: 2000px;
    border-radius: 50%;
    background: linear-gradient(-45deg, var(--bg-round-a), var(--bg-round-b));
    top: -10%;
    right: 48%;
    transform: translateY(-50%);
    z-index: 6;
    transition: 1.8s ease-in-out;
    background: #820f2a;
      /* opacity: 0.3; */
    /* background-image: url(./assets/images/banner/banner2.png); */
  }
  
  .forms-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  
  .signin-signup {
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    width: 50%;
    display: grid;
    grid-template-columns: 1fr;
    z-index: 5;
    transition: 1s 0.7s ease-in-out;
  }
  
  form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 5rem;
    overflow: hidden;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    transition: 0.2s 0.7s ease-in-out;
  }
  
  form.sign-in-form {
    z-index: 2;
  }
  
  form.sign-up-form {
    z-index: 1;
    opacity: 0;
  }
  
  /* MODAL */
  
  .btn-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: pink;
    font-size: 20px;
    color: white;
    padding: 10px 30px;
    cursor: pointer;
  }
  
  #popUpBox {
    width: 500px;
    overflow: hidden;
    background: pink;
    box-shadow: 0 0 10px black;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    padding: 10px;
    text-align: center;
    display: none;
  }
  
  .title {
    font-size: 2.2rem;
    color: var(--title);
    margin-bottom: 10px;
  }
  
  .input-field {
    width: 90%;
    height: 55px;
    /* background-color: var(--bg-input); */
    margin: 10px 0;
    border-radius: 55px;
    display: grid;
    grid-template-columns: 15% 60% 15%;
    padding: 0 0.4rem;
    background: #fdfbfe;
    box-shadow: rgb(0 0 0 / 16%) 0px 1px 4px;
      background: #ffffff26;
  }
  
  .input-field i {
    text-align: center;
    line-height: 55px;
    color: var(--input-icon);
    font-size: 1.1rem;
  }
  
  .key {
    color: var(--key-color);
    text-decoration: none;
  }
  
  .key:hover {
    color: var(--pass-hover-color);
  }
  
  .pass {
    margin: 12px 0;
    color: var(--pass-color);
  }
  
  .pass:hover {
    color: var(--pass-hover-color);
  }
  
  #togglePassword {
    text-align: center;
    color: var(--input-icon);
  }
  
  #toggleReg {
    text-align: center;
    color: var(--input-icon);
  }
  
  .input-field input {
    background: none;
    outline: none;
    border: none;
    line-height: 1;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--input);
    min-width: 100%;
  }
  
  .input-field input::placeholder {
    color: var(--input-hover);
    font-weight: 500;
  }
  
  .btn {
    width: 150px;
    height: 49px;
    border: none;
    outline: none;
    border-radius: 49px;
    cursor: pointer;
    /* background-color: var(--btn-color); */
    color: var(--btn-text);
    text-transform: uppercase;
    font-weight: 600;
    margin: 10px 0;
    transition: 0.5s;
    background-color: #820f4a;
    color: #fff;
  }
  
  .btn:hover {
    /* background-color: var(--btn-hover); */
    background-color: #820f4a;
  }
  
  .check {
    display: block;
    position: relative;
    margin: 12px 0;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  .checkmark {
    color: var(--check-text);
  }
  
  .checkmark a {
    color: var(--check-link);
    text-decoration: underline;
  }
  
  .checkmark a:hover {
    color: var(--check-hover);
  }
  
  .social-text {
    padding: 0.7rem 0;
    font-size: 1rem;
    color: var(--social-text);
  }
  
  .social-media {
    display: flex;
    justify-content: center;
  }
  
  .social-icon {
    height: 46px;
    width: 46px;
    border: 1px solid var(--icon-color);
    margin: 0 0.45rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--icon-color);
    font-size: 1.1rem;
    border-radius: 50%;
    transition: 0.3s;
  }
  
  .social-icon:hover {
    color: var(--social-icon);
    border-color: var(--social-icon);
  }
  
  .icon-mode {
    height: 32px;
    width: 32px;
    border: 1px solid var(--icon-color);
    margin: 40px 5px 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--icon-color);
    font-size: 1rem;
    border-radius: 50%;
    transition: 0.3s;
  }
  
  .icon-mode:hover {
    color: var(--social-icon);
    border-color: var(--social-icon);
  }
  
  .text-mode {
    padding: 0.5rem 0;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--social-text);
  }
  
  .panels-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
    text-align: center;
    z-index: 7;
  }
  
  .left-panel {
    pointer-events: all;
    padding: 3rem 17% 2rem 12%;
  }
  
  .right-panel {
    pointer-events: none;
    padding: 3rem 12% 2rem 17%;
  }
  
  .panel .content {
    /* color: var(--panel-color); */
    transition: 0.9s 0.6s ease-in-out;
    color: #fff;
  }
  
  .panel h3 {
    font-weight: 600;
    line-height: 1;
    font-size: 1.5rem;
  }
  
  .panel p {
    font-size: 0.95rem;
    padding: 0.7rem 0;
  }
  
  .btn.transparent {
    margin: 0;
    background: none;
    border: 2px solid #fff;
    width: 130px;
    height: 41px;
    font-weight: 600;
    font-size: 0.8rem;
  }
  
  .image {
    width: 90%;
    margin-top: 10px;
    transition: 1.1s 0.4s ease-in-out;
  }
  
  .right-panel .content,
  .right-panel .image {
    transform: translateX(800px);
  }
  
  /* ANIMATION */
  
  .container.sign-up-mode:before {
    transform: translate(100%, -50%);
    right: 52%;
  }
  
  .container.sign-up-mode .left-panel .image,
  .container.sign-up-mode .left-panel .content {
    transform: translateX(-800px);
  }
  
  .container.sign-up-mode .right-panel .content,
  .container.sign-up-mode .right-panel .image {
    transform: translateX(0px);
  }
  
  .container.sign-up-mode .left-panel {
    pointer-events: none;
  }
  
  .container.sign-up-mode .right-panel {
    pointer-events: all;
  }
  
  .container.sign-up-mode .signin-signup {
    left: 25%;
  }
  
  .container.sign-up-mode form.sign-in-form {
    z-index: 1;
    opacity: 0;
  }
  
  .container.sign-up-mode form.sign-up-form {
    z-index: 2;
    opacity: 1;
  }
  
  /* KEYBOARD */
  
  .keyboard {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 5px 0;
    background: var(--keyboard-color);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    user-select: none;
    transition: bottom 0.4s;
    z-index: 999;
  }
  
  .keyboard--hidden {
    bottom: -100%;
  }
  
  .keyboard__keys {
    text-align: center;
  }
  
  .keyboard__key {
    height: 45px;
    width: 6%;
    max-width: 90px;
    margin: 3px;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--key-letter);
    font-size: 1.05rem;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: top;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }
  
  .keyboard__key:active {
    background: rgba(255, 255, 255, 0.12);
  }
  
  .keyboard__key--wide {
    width: 12%;
  }
  
  .keyboard__key--extra-wide {
    width: 36%;
    max-width: 500px;
  }
  
  .keyboard__key--activatable::after {
    content: "";
    top: 10px;
    right: 10px;
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
  }
  
  .keyboard__key--active::after {
    background: #08ff00;
  }
  
  .keyboard__key--dark {
    background: rgba(0, 0, 0, 0.25);
  }
  
  /* MEDIA SCREEN */
  
  @media (max-width: 870px) {
    .container {
      min-height: 800px;
      height: 100vh;
    }
  
    .container::before {
      width: 1500px;
      height: 1500px;
      left: 30%;
      bottom: 68%;
      transform: translateX(-50%);
      right: initial;
      top: initial;
      transition: 2s ease-in-out;
    }
  
    .signin-signup {
      width: 100%;
      left: 50%;
      top: 95%;
      transform: translate(-50%, -100%);
      transition: 1s 0.8s ease-in-out;
    }
  
    .panels-container {
      grid-template-columns: 1fr;
      grid-template-rows: 1fr 2fr 1fr;
    }
  
    .panel {
      flex-direction: row;
      justify-content: space-around;
      align-items: center;
      padding: 2.5rem 8%;
    }
  
    .panel .content {
      padding-right: 15%;
      transition: 0.9s 0.8s ease-in-out;
    }
  
    .panel h3 {
      font-size: 1.2rem;
    }
  
    .panel p {
      font-size: 0.7rem;
      padding: 0.5rem 0;
    }
  
    .btn.transparent {
      width: 110px;
      height: 35px;
      font-size: 0.7rem;
    }
  
    .image {
      display: none;
    }
  
    /*.image {
          width: 200px;
          transition: 0.9s 0.6s ease-in-out;
      }*/
  
    .left-panel {
      grid-row: 1 / 2;
    }
  
    .right-panel {
      grid-row: 3 / 4;
    }
  
    .right-panel .content,
    .right-panel .image {
      transform: translateY(300px);
    }
  
    .container.sign-up-mode:before {
      transform: translate(-50%, 100%);
      bottom: 32%;
      right: initial;
    }
  
    .container.sign-up-mode .left-panel .image,
    .container.sign-up-mode .left-panel .content {
      transform: translateY(-300px);
    }
  
    .container.sign-up-mode .signin-signup {
      top: 5%;
      transform: translate(-50%, 0);
      left: 50%;
    }
  
    .keyboard,
    .key {
      opacity: 0;
      visibility: hidden;
      font-size: 0.1px;
    }
  }
  
  @media (max-width: 570px) {
    form {
      padding: 0 1.5rem;
    }
  
    .image {
      display: none;
    }
  
    .panel .content {
      padding: 0.5rem 1rem;
    }
  
    .panel p {
      opacity: 0;
    }
  
    .container:before {
      bottom: 75%;
      left: 50%;
    }
  
    .container.sign-up-mode:before {
      bottom: 24%;
      left: 50%;
    }
  
    .field-icon {
      float: right;
      margin-left: 300px;
      margin-top: -55px;
      position: relative;
      z-index: 1;
    }
  }
  
  @media (max-width: 385px) {
    .field-icon {
      float: right;
      margin-left: 260px;
      margin-top: -55px;
      position: relative;
      z-index: 1;
    }
  }
  
  @media (max-width: 350px) {
    .field-icon {
      float: right;
      margin-left: 200px;
      margin-top: -55px;
      position: relative;
      z-index: 1;
    }
  }
  
  .wrong{
border:2px solid red; */
    /* box-shadow: 0 0 8px 5px red; */
  }

  .ok{
    border:2px solid limegreen;
    /* box-shadow: 0 0 8px 5px limegreen; */
  }
  #in_s_msg{
    display: none;
  }
  .resend{
    border:none;
    border-radius: 50px;
 /* display: none; */
    padding:6px;
    background-color: #820f2a;
    color:#fff;
    width: fit-content;
  }
  #re_sen{
    margin-top: 18px;
    color:blue;
    display: none; 
    cursor:pointer;
  }
  .chng{
    float:left;
    text-align: left;
    margin-right: 300px;
    color:red;
    display: none;
    cursor: pointer;
  }
  @media screen and (max-width: 480px) {
    .chng{
     margin-right: 100px;
    }
    #re_sen{
    right:0;
      
    }
  }

  .toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    transform: translate(-50%, 0);
    animation: fadein 0.5s;
    font-size: 12px;
    border-radius: 50px;
    z-index:111;
  }
  .toast.error {
    background-color: red;
  }
  .toast.success {
    background-color: rgba(76, 175, 80, 0.8);
  }
  
  @keyframes fadein {
    from {
      bottom: 0;
      opacity: 0;
    }
    to {
      bottom: 20px;
      opacity: 1;
    }
  }
  ul, li {
    margin:0;
    padding:0;
    list-style-type:none;
}
#pswd_info {
  position:absolute;
  bottom:-75px;
  bottom: -115px\9; /* IE Specific */
  right:55px;
  width:250px;
  padding:15px;
  background:#fefefe;
  font-size:.875em;
  border-radius:5px;
  box-shadow:0 1px 3px #ccc;
  border:1px solid #ddd;
}
#pswd_info h4 {
  margin:0 0 10px 0;
  padding:0;
  font-weight:normal;
}
#pswd_info::before {
  content: "\25B2";
  position:absolute;
  top:-12px;
  left:45%;
  font-size:14px;
  line-height:14px;
  color:#ddd;
  text-shadow:none;
  display:block;
}
.invalid {
  background:url(images/invalid.png) no-repeat 0 50%;
  padding-left:22px;
  line-height:24px;
  color:#ec3f41;
}
.valid {
  background:url(images/valid.png) no-repeat 0 50%;
  padding-left:22px;
  line-height:24px;
  color:#3a7d34;
}
#pswd_info {
  display: none;
  z-index:1;
}