@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
    position:relative;
    overflow:hidden;
}

/* BLURRED BACKGROUND */

body::before{
    content:"";
    position:fixed;
    inset:0;

    background:
    url("Office Profile Photo.png")
    center center/cover no-repeat;

    filter:blur(10px);
    transform:scale(1.1);

    animation:bgZoom 15s ease-in-out infinite alternate;

    z-index:-2;
}

/* OVERLAY */

body::after{
    content:"";
    position:fixed;
    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,0.25),
        rgba(0,0,0,0.35)
    );

    z-index:-1;
}

@keyframes bgZoom{
    0%{
        transform:scale(1.1);
    }
    100%{
        transform:scale(1.18);
    }
}

/* WRAPPER */

.login-wrapper{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* GLASS CARD */

.login-container{
    width:100%;
    max-width:430px;

    padding:40px 35px;

    background:rgba(255,255,255,0.12);

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,0.25);

    border-radius:25px;

    box-shadow:
    0 8px 32px rgba(0,0,0,0.25),
    inset 0 1px 1px rgba(255,255,255,0.2);

    animation:fadeUp .8s ease;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* LOGO */

.login-logo{
    text-align:center;
    margin-bottom:15px;
}

.login-logo img{
    width:110px;
    max-width:100%;
    animation:floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo{
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-8px);
    }
    100%{
        transform:translateY(0);
    }
}

/* HEADER */

.login-header{
    text-align:center;
    margin-bottom:30px;
}

.login-header h1{
    color:#fff;
    font-size:30px;
    font-weight:700;
    margin-bottom:5px;
}

.login-header p{
    color:#eeeeee;
    font-size:15px;
}

/* INPUT GROUP */

.input-group{
    margin-bottom:18px;
}

.input-group label{
    display:block;
    color:#fff;
    font-weight:500;
    margin-bottom:8px;
}

.input-group input{
    width:100%;
    padding:14px 15px;

    background:rgba(255,255,255,0.12);

    border:1px solid rgba(255,255,255,0.25);

    border-radius:12px;

    color:#fff;
    font-size:15px;

    transition:.3s;
}

.input-group input::placeholder{
    color:#dddddd;
}

.input-group input:focus{
    outline:none;

    border-color:#4caf50;

    background:rgba(255,255,255,0.18);

    box-shadow:
    0 0 15px rgba(76,175,80,0.4);
}

/* BUTTON */

button{
    width:100%;
    padding:14px;

    margin-top:10px;

    border:none;
    border-radius:12px;

    background:
    linear-gradient(
        135deg,
        #43a047,
        #1b5e20
    );

    color:white;

    font-size:16px;
    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

button:hover{
    transform:translateY(-3px);

    box-shadow:
    0 10px 25px rgba(67,160,71,0.45);
}

button:active{
    transform:scale(.98);
}

/* ERROR */

#error{
    text-align:center;
    margin-top:12px;

    color:#ffb3b3;
    font-size:14px;
    font-weight:500;
}

/* FOOTER */

.footer{
    margin-top:20px;
    text-align:center;

    color:#eeeeee;
    font-size:14px;
}

/* MOBILE */

@media(max-width:480px){

    body{
        padding:15px;
    }

    .login-container{
        padding:25px;
    }

    .login-header h1{
        font-size:24px;
    }

    .login-logo img{
        width:90px;
    }

}