@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #000;
}
.wrapper {
  position: relative;
  width: 400px;
  height: 492px;
  background: #000;
  box-shadow: 0 0 50px #0ef;
  border-radius: 20px;
  padding: 40px;
  overflow: hidden;
}

@keyframes animate {
  100% {
    filter: hue-rotate(360deg);
  }
}
.form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: 1s ease-in-out;
}
.wrapper.active .form-wrapper.sign-in {
    transform: translateY(-450px);
  }
  .wrapper .form-wrapper.sign-up {
    position: absolute;
    top: 450px;
    left: 0;
  }
  .wrapper.active .form-wrapper.sign-up {
    transform: translateY(-450px);
  }
  h2 {
    font-size: 30px;
    color: #fff;
    text-align: center;
  }
  .input-group {
    position: relative;
    margin: 30px 0;
    border-bottom: 2px solid #fff;
  }
  .input-group label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: .5s;
  }
  .input-group input {
    width: 320px;
    height: 40px;
    font-size: 16px;
    color: #fff;
    padding: 0 5px;
    background: transparent;
    border: none;
    outline: none;
  }
  .input-group input:focus~label,
  .input-group input:valid~label {
    top: -5px;
  }
  .remember {
    margin: -5px 0 15px 5px;
  }
  .remember label {
    color: #fff;
    font-size: 14px;
  }
  .remember label input {
    accent-color: #0ef;
  }


    
    .button-28 {
      appearance: none;
      background-color: transparent;
      border: 2px solid #f7f4f4;
      border-radius: 15px;
      box-sizing: border-box;
      color: #ffffff;
      cursor: pointer;
      display: inline-block;
      font-family: 'Poppins', sans-serif;
      font-size: 16px;
      font-weight: 600;
      line-height: normal;
      margin-left: 30%;
      min-height: 5px;
      min-width: 0;
      outline: none;
      padding: 8px 13px;
      text-align: center;
      text-decoration: none;
      transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
      width: 40%;
      will-change: transform;
    }
    
    .button-28:disabled {
      pointer-events: none;
    }
    
    .button-28:hover {
      color: #000;
      background-color: #0ef;
      /* box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px; */
      /*box-shadow: 0 0 50px #0ef;*/
      transform: translateY(-2px);
      border: #0ef;
    }
    


    .button-28:active {
      box-shadow: none;
      transform: translateY(0);
    }

  .signUp-link {
    font-size: 14px;
    text-align: center;
    margin: 15px 0;
  }
  .signUp-link p {
    color: #fff;
  }
  .signUp-link p a {
    color: #0ef;
    text-decoration: none;
    font-weight: 500;
  }
  .signUp-link p a:hover {
    text-decoration: underline;
  }


 .header {
    position: fixed;
    top: 0; /* Ensure the header sticks to the top of the page */
    left: 0; /* Align the header to the left */
    width: 100%;
    background-color: rgba(15, 15, 15, 0.8); /* Increased opacity */
    padding: 10px 20px; /* Adjust padding for better alignment */
    height: 12vh; /* Set to 12% of viewport height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1; /* Ensure the header stays above other elements */
}

.nav {
    display: flex;
    align-items: center;
}


.title {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}


ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    font: bold 1.5rem 'Poppins', sans-serif;
    text-transform: uppercase;
    color: grey;
}

ul li {
    padding: 0 .5em .25em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: .3s;
}

ul li a {
    text-decoration: none;
    color: grey;
    transition: color 0.3s;
}

ul li a:hover {
    color: #75ebe1;
}

ul li:hover {
    color: #75ebe1;
}

ul li:before {
    content: "";
    position: absolute;
    inset: calc(100% - 3px) 0 0 0; /* 3px = the thickness */
    background: #F1F2B5;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #135058, #F1F2B5);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #135058, #F1F2B5); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    scale: 0 1;
    transition: .3s, translate 0s .3s;
}

ul:hover li:before {
    scale: 1;
}

ul li:hover:before {
    translate: 0;
    transition: .3s;
}

ul:hover li:has(~ li:hover):before {
    translate: 100% 0;
    transition: .2s .2s, scale 0s .4s;
}

ul:hover li:hover ~ li:before {
    translate: -100% 0;
    transition: .2s .2s, scale 0s .4s;
}







