* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
    background-image: url(https://images.unsplash.com/photo-1485470733090-0aae1788d5af?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Nnx8bmlnaHQlMjBsYW5kc2NhcGV8ZW58MHx8MHx8fDA%3D&auto=format&fit=crop&q=60&w=600);
    background-color: #000814;
    background-repeat: ;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
    padding: 1rem;
}

.login-box {
    background-color: rgba(255, 255, 255, 0.09); 
    border-radius: 8px;
    box-shadow: 1px 10px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px); 
    width: clamp(320px, 35vw, 420px);
    padding: clamp(1.5rem, 4vw, 3rem);
    margin: 2rem auto;
}
 
@font-face {
  font-family: 'Skam';
  src: url(Skam\ Font.otf);
  font-weight: normal;
  font-style: normal;
}


h2 {
    font-size: 2.5em;
    color: rgb(255, 255, 255);
    text-align: center;
    font-weight: bold; 
}

#caption {
    text-align: center;
    color: #ffffff;
}

.input-box {
    position: relative;
    margin: 25px 0;
}

.input-box input {
    width: 100%;
    height: 3.2rem; 
    background: #d8d8d8;
    border: none;
    border-radius: 8px;
    transition: .5s ease;
    padding: 0 20px;
    color: #000000;
    outline: none;
    pointer-events: auto;
}

.user {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
  background-color: #66666656;
  padding: 1em 1.2em;
  border-radius: 0 8px 8px 0 ;
  
}

.toggle-password {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
  background-color: #66666656;
  padding: 1em 1em;
  border-radius: 0 8px 8px 0;
}


.input-box input:hover {
    cursor: pointer;
    border: 1.5px solid #48cae4;
}
 
.input-box input:focus {
    border: 1.5px solid #48cae4;
    box-shadow: 0 0 10px #48cae4;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #6e6e6e;
    transition: .5s ease;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: 1px;
    font-size: .8em;
    padding: 0 6px;
    color: #48cae4;
    background-color: #f5f5f5;
}

.forgot-pass {
    margin: -15px 0 10px;
    color: #ffffff;
}

.forgot-pass input {
    font-size: .85em;
}

.forgot-pass a {
    font-size: .85em;
    color: #ffffff;
    text-decoration: none;
    float: right;
    position: relative;
}

.forgot-pass a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.9s ease;
 }

.forgot-pass a:hover::after {
  width: 100%;
}


.btn {
    width: 100%;
    height: 45px;
    border: none;
    outline: none;
    border-radius: 8px;
    background-color: #6285d7;
    cursor: pointer;
    font-size: 1em;
    color: #ffffff;
    font-weight: 600;
    transition: .5s ease;
    font-family: 'poppins';
}

.btn:hover {
    background-color:  #48cae4;
}

.signup-link {
    margin: 20px 0 10px;
    text-align: center;
    color: #ffffff;
}

.signup-link a {
    font-size: 1em;
    color: #48cae4;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.signup-link a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: #48cae4;
  transition: width 0.6s ease;
}

.signup-link a:hover::after {
  width: 100%;
}