@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Outfit:wght@100..900&display=swap');

html {
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  color: #f5f5f5;
  background: #08000a;
  font-family: 'IBM Plex Sans', sans-serif;
}

h1 {
  margin: 0.25rem 0;
  color: #f5f5f5;
  font-size: 2rem;
  font-weight: 600;
}

.i {
  padding: 0;
  margin: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

#login, #signin {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 20rem;
  padding-top: 12rem;
  border: 1px solid #34303d;
  border-radius: 1rem;
  background: #13101d;
}

#login.active, #signin.active {
  display: flex;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  border-bottom: 1px solid #34303d;
  border-radius: 1rem 1rem 0 0;
  background: #8a00b8cc;
}

.top img {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  background: #a82ed1;
}

form {
  width: calc(100% - 2rem);
}

.input-wrapper {
  position: relative;
  margin: 1rem 0;
  margin-top: 2rem;
  width: 100%;
}

.input-wrapper input {
  width: 100%;
  padding: 0.5rem;
  padding-top: 1rem;
  border: 1px solid #24202d;
  border-radius: 0.75rem;
  background: #24202d50;
  outline: none;
  color: #f5f5f5;
  font-size: 1rem;
  font-family: 'Outfit', system-ui, sans-serif;
  transition: 0.3s ease-in-out;
}

.input-wrapper input:focus {
  
}

.input-wrapper label {
  position: absolute;
  top: -0.6rem;
  left: 0.5rem;
  padding: 0 0.25rem;
  color: #f5f5f5bb;
  background: #24202d;
  border: 1px solid #34303d;
  border-radius: 0.25rem;
  font-size: 0.85rem;
  pointer-events: none;
}

form button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #34303d;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, #8a00b8, #9900cc);
  color: #f5f5f5;
  font-size: 1.2rem;
  font-weight: 500;
  font-family: 'Outfit', system-ui, sans-serif;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

hr {
  width: 100%;
  border-top: 1px solid #34303d;
  border-bottom: none;
  border-left: none;
  border-right: none;
}

.q {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  padding-bottom: 0.5rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

.q img {
  padding: 0.25rem;
  background: #34303daa;
  border-radius: 50%;
}