forked from MastanSayyad/Visual-Sort
-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
167 lines (167 loc) · 4.69 KB
/
login.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - Visual Sort</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
background: #f0f2f5;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
overflow-x: hidden;
padding: 20px;
}
.container {
display: flex;
width: 100%;
max-width: 900px;
background: white;
border-radius: 20px;
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
overflow: hidden;
}
.left-side {
flex: 1;
padding: 40px;
display: flex;
flex-direction: column;
justify-content: center;
}
.right-side {
flex: 1;
background: linear-gradient(135deg, #db7fdb, #c84fd1);
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
h1 {
font-size: 2.5em;
color: #333;
margin-bottom: 20px;
}
.input-group {
margin-bottom: 20px;
}
.input-group label {
display: block;
margin-bottom: 5px;
color: #666;
}
.input-group input {
width: 100%;
padding: 10px;
border: none;
border-bottom: 2px solid #ddd;
font-size: 1em;
transition: border-color 0.3s;
}
.input-group input:focus {
outline: none;
border-color: #c84fd1;
}
button {
background: #c84fd1;
color: white;
border: none;
padding: 12px 20px;
border-radius: 25px;
font-size: 1em;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background: #db7fdb;
}
.signup-link {
margin-top: 20px;
text-align: center;
color: #666;
}
.signup-link a {
color: #c84fd1;
text-decoration: none;
}
.back-btn {
position: fixed;
top: 20px;
left: 20px;
background: #c84fd1;
color: white;
border: none;
padding: 10px 15px;
border-radius: 50%;
cursor: pointer;
transition: background 0.3s;
text-decoration: none;
z-index: 1000;
}
.back-btn:hover {
background: #db7fdb;
}
.animated-bg {
position: absolute;
width: 200%;
height: 200%;
background: linear-gradient(45deg, #db7fdb, #c84fd1, #db7fdb, #c84fd1);
animation: bgAnimation 15s linear infinite;
}
@keyframes bgAnimation {
0% {
transform: translateX(-50%) translateY(-50%) rotate(0deg);
}
100% {
transform: translateX(-50%) translateY(-50%) rotate(360deg);
}
}
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.right-side {
display: none;
}
.left-side {
padding: 30px;
}
h1 {
font-size: 2em;
}
}
</style>
</head>
<body>
<a href="index.html" class="back-btn">←</a>
<div class="container">
<div class="left-side">
<h1>Welcome Back</h1>
<form>
<div class="input-group">
<label for="username">Username</label>
<input type="text" id="username" required>
</div>
<div class="input-group">
<label for="password">Password</label>
<input type="password" id="password" required>
</div>
<button type="submit">Login</button>
</form>
<p class="signup-link">Don't have an account? <a href="signup.html">Sign up</a></p>
</div>
<div class="right-side">
<div class="animated-bg"></div>
</div>
</div>
</body>
</html>