Files
tech-thursday-demo/login.html
2025-08-21 06:43:54 +00:00

181 lines
4.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Git Training Hub - Login</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
* {
margin: 2;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(45deg, #2196f3, #e91e63);
overflow: hidden;
}
.container {
position: relative;
width: 400px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 40px;
box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
h1 {
color: #fff;
text-align: center;
margin-bottom: 40px;
font-size: 2em;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
position: relative;
animation: titleGlow 2s infinite alternate;
}
@keyframes titleGlow {
from { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #2196f3; }
to { text-shadow: 0 0 20px #fff, 0 0 30px #e91e63, 0 0 40px #e91e63; }
}
.input-group {
position: relative;
margin-bottom: 30px;
}
.input-group input {
width: 100%;
padding: 15px 20px;
background: rgba(255, 255, 255, 0.2);
border: none;
outline: none;
border-radius: 30px;
font-size: 16px;
color: #fff;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: 0.3s;
}
.input-group input:focus {
background: rgba(255, 255, 255, 0.3);
transform: translateY(-2px);
}
.input-group input::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.btn {
width: 100%;
padding: 15px;
background: linear-gradient(45deg, #2196f3, #e91e63);
border: none;
border-radius: 30px;
color: white;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.forgot-password {
text-align: center;
margin-top: 20px;
}
.forgot-password a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
font-size: 14px;
transition: 0.3s;
}
.forgot-password a:hover {
color: #fff;
text-decoration: underline;
}
.shape {
position: absolute;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(5px);
border-radius: 50%;
z-index: -1;
animation: float 15s ease-in-out infinite;
}
.shape1 {
width: 100px;
height: 100px;
top: 20%;
left: 15%;
}
.shape2 {
width: 150px;
height: 150px;
bottom: 15%;
right: 15%;
animation-delay: 5s;
}
.shape3 {
width: 70px;
height: 70px;
top: 60%;
left: 25%;
animation-delay: 10s;
}
@keyframes float {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-20px) rotate(10deg); }
}
</style>
</head>
<body>
<div class="shape shape1"></div>
<div class="shape shape2"></div>
<div class="shape shape3"></div>
<div class="container">
<h1>Welcome to Git Training Hub</h1>
<form>
<div class="input-group">
<input type="text" placeholder="Username" required>
</div>
<div class="input-group">
<input type="password" placeholder="Password" required>
</div>
<button type="submit" class="btn">Login</button>
<div class="forgot-password">
<a href="#">Forgot Password?</a>
</div>
</form>
</div>
</body>
</html>