/* Body Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #96c11f, #3f70b6,#3f70b6);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
	/* width:100vw; */
}

/* Wrapper */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Login Box */
.login-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
	max-width: 380px;
    text-align: center;
    transform: translateY(-50px);
    opacity: 0;
    animation: slideFadeIn 0.8s forwards;
}

/* Animation */
@keyframes slideFadeIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login-box h2 {
    margin-bottom: 25px;
    color: #333;
}

/* Input Groups */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 10px 10px 10px 5px;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 5px;
    font-size: 16px;
    color: #999;
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -10px;
    font-size: 12px;
    color: #2575fc;
}

/* Button */
.btn {
    width: 100%;
    padding: 12px;
    background: #2575fc;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #6a11cb;
}

/* Error message */
.error {
    color: #e74c3c;
    margin-bottom: 15px;
    font-weight: bold;
}

@media (min-width: 500px) {
	.login-box{width:320px}
}