*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: url('/assets/bg_img.jpg') no-repeat center center fixed;
    background-size: cover;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    animation: hue-rotate 3s linear infinite;
}

@keyframes hue-rotate {
    100% {
        filter: hue-rotate(360deg);
    }
}
.login{
    border: 2px solid rgb(255, 255, 255,0.7);
    position: relative;
    width: 400px;
    height: 450px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    backdrop-filter:blur(15px); ;
}
h1{
    color: white;
    font-size: 30px;
    margin-bottom: 20px;
    padding-bottom:50px;
    font-size: 2rem;
}
.input-box{
    position: relative;
    width: 300px;
    margin: 30px 0;
    border-bottom: 2px solid white;
}
.input-box label{
    position: absolute;
    color: white;
    top:50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    pointer-events: none;
    transition: 0.5s;

}

.input-box input:focus ~ label,
.input-box input:valid ~ label{
    top: -5px;
    font-size: 0.8em;
    color: white;
}

.input-box input{
    width: 100%;
    height: 50px;
    background: transparent;
    outline:none;
    border: none;
    color: white;
    font-size: 1em;
    color: white;
    padding: 0 50px 0 6px;
}
.input-box svg{
    position: absolute;
    right: 8px;
    line-height: 57px;
}
button{
    width: 100%;
    height: 50px;
    border: 2px solid white;
    color: black;
    padding: 20px 0;
    margin-top: 20px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 50px;
    transition: 0.5s;
}
h2{
    text-align: center;
    color: white;
    font-size: 30px;
    margin-bottom: 20px;
    padding-bottom:20px;
    font-size: 2rem;
}
/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 1rem;
        background-attachment: scroll;
    }
    
    .login {
        width: 90vw;
        max-width: 400px;
        height: auto;
        padding: 2rem 1.5rem;
    }
    
    h1, h2 {
        font-size: 1.5rem;
        padding-bottom: 20px;
    }
    
    .input-box {
        width: 100%;
        max-width: 280px;
    }
    
    button {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 0.5rem;
    }
    
    .login {
        width: 100vw;
        height: auto;
        min-height: 90vh;
        border-radius: 20px;
        padding: 1.5rem 1rem;
    }
    
    h1, h2 {
        font-size: 1.25rem;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .input-box {
        width: 100%;
        margin: 20px 0;
    }
    
    .input-box input {
        font-size: 0.9em;
        padding: 0 40px 0 5px;
    }
    
    button {
        font-size: 0.9em;
        padding: 15px 0;
    }
    
    .titel {
        width: 85vw;
        font-size: 0.9rem;
        text-align: center;
    }
}