*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.background{
    background-image: url("../assets/login.jpeg");
    background-size: cover;
    background-position: center;
    position:fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 2rem;
    z-index: 2;
    position: relative;
}

.login, .password {
    text-align: center;
    height: 3rem;
    font-size: 2.5rem;
    color: white;
    width: 100%;
    max-width: 400px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 0.2rem solid rgb(85, 234, 85);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(85, 234, 85, 0.2);
}

.login:focus, .password:focus {
    outline: none;
    box-shadow: 0 0 15px rgb(85, 234, 85);
}

.password{
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: height 0.5s;
    padding: 0;
    border: none;
}

/* Specific state for password when visible */
.password[style*="visible"] {
    border: 0.2rem solid rgb(85, 234, 85);
    padding: 2px;
}

::placeholder {
    color:rgb(222, 209, 209);
}

h1{
    font-family: 'Chakra Petch', sans-serif;
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(3rem, 8vw, 6rem);
    color: red;
    text-shadow: 0 0 20px red;
    visibility: hidden;
    white-space: nowrap;
}  

#video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
  }
  #my-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #my-input {
    transition: transform 0.5s ease;
  }
  
  .slide-left {
    width: 0 !important;
    padding: 0 !important;
    border: none !important;
    opacity: 0 !important;
    overflow: hidden !important;
  }