@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;400;600&display=swap');

*{
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

:root {
  --color-primary: #6c63ff;
  --color-success: #00bf8e;
  --color-warning: #f7c94b;
  --color-danger: #f75842;
  --color-danger-variant: rgba (247, 88, 66, 0.4);
  --color-white: #fff;
  --color-light: rgba(255, 255, 255, 0.7);
  --color-black: #000;
  --color-bg: #1f2641;
  --color-bg1: #2e3267;
  --color-bg2: #424890;
  --container-width-lg: 80%;
  --container-width-md: 90%;
  --container-width-sm: 94%;
  --transition: all 400ms ease;
}

body{
  background: url('../src/2207.i605.048.S.m005.c13.office_illustration_Converted.png');
  background-repeat: no-repeat;
  background-color: var(--color-primary);
  background-size: cover;
  color: #f1f1f1;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--color-white);
}

.container{
  width: var(--container-width-lg);  
  margin: 0 auto;
  /* border: 1px solid white; */
}

.container-bar{
    /* position: fixed; */
    /* top: 0; */
    width: 100vw;
    padding: 1.5rem 4rem;
    background: var(--color-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    /* border: 1px solid white; */
}

.window-scroll{
  background: var(--color-primary);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.logo{
    font-size: 2em;
    color: #fff;
    user-select: none;
}
.navigate{
    position: relative;
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    font-weight: 500;
    margin-left: 50px;
}

.navigate::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s;
}
.navigate:hover::after {
    transform: scaleX(1);
}

.btn-login{
    padding: 13px 23px;
    background: transparent;
    border: 2px solid #fff;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    color: #fff;
    margin-left: 40px;
    font-weight: 500;
    transition: .5ms;
}
.btn-login {
    text-align: center;
    text-decoration: none;
}
    
.btn-login:hover {
    background-color: #fff;
    color: #162938;
}

.dropdown{
    display: none;
}

@media (max-width: 768px) {
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  
    .navigate {
      display: none;
    }
  
    .dropdown {
      display: block;  
      position: relative;
      z-index: 100;
    }
  
    .dropdown-btn {
      padding: 8px;
      background-color: transparent;
      color: #fff;
      border: none;
      font-size: 1.4em;
      cursor: pointer;
    }
  
    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      background-color: var(--color-bg1);  
      min-width: 160px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      z-index: 10;
    }
  
    .dropdown-content a {
      display: block;
      padding: 8px 16px;
      color: var(--color-white);
      text-decoration: none;
      transition: background-color 0.3s;
    }
  
    .dropdown-content a:hover {
      background-color: #f1f1f1;
      z-index: 100;
    }
  
    .dropdown:hover .dropdown-content {
      display: block;
    }
}

/* login and registration */

.wrapper{
    position: relative;
    margin-top: 10%;
    height: auto;
    width: 400px;
    height: 440px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .5);
    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;
    transition: transform .5s ease,height .2s ease;
}


.wrapper.active{
    height: 520px;
}

.wrapper .form-box {
    width: 100%;
    padding: 40px;
}

.form-box h2{
    font-size: 2em;
    color: #162938;
    text-align: center;
    /* margin-bottom: 50px; */
}
.input-box{
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid 0#162938;
    margin: 30px 0;
}
.input-box label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #162938;
    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;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px ;
}
    
.input-box .icon {
    position: absolute;
    right: 8px;
    bottom: 13px;
    font-size: 1.2em;
    color: var(--color-bg2);
}

.remember-forgot{
    font-size: .9em;
    color: var(--color-bg1);
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

.remember-forgot label input {
    accent-color: var(--color-success);
    margin-right: 4px;
}

.remember-forgot a{
    color: var(--color-warning);
    text-decoration: none;
}

.btn {
    width: 100%;
    height: 45px;
    background: #162938;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: lem;
    color:#fff;
    font-weight: 500;
}

.login-register{
    font-size: .9em;
    color: var(--color-white);
    text-align: center;
    font-weight: 500;
    margin: 25px 0 10px;
}
.login-register p a {
    color: var(--color-success);
    text-decoration: none;
    font-weight: 600;
}
.login-register p a:hover {
    text-decoration: underline;
}

.wrapper .form-box.login {
    transform: translateX(0);
    transition: transform .18s ease;
}

.wrapper.active .form-box.login{
    transform: translateX(-400px);
}



.wrapper .form-box.register {
    position: absolute;
    transform: translateX(400px);
}

.wrapper.active .form-box.register{
    transform: translateX(0);
    transition: transform .18s ease;
}