-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathregistration.css
More file actions
135 lines (121 loc) · 2.79 KB
/
registration.css
File metadata and controls
135 lines (121 loc) · 2.79 KB
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
/* General Styling */
body {
margin: 0;
padding: 0;
font-family: 'Raleway', sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(
to bottom,
rgba(110, 175, 191, 0%),
rgba(110, 175, 191, 0%)
),
url('https://img.freepik.com/premium-vector/network-connection-background-abstract-style_23-2148875738.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
overflow: hidden;
}
.form-box h2 {
color: white;
text-align: center;
margin: 4px 0;
margin-bottom: 20px;
}
/* Container Styling */
.registration-container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
width: 100%;
padding: 0 20px;
box-sizing: border-box;
}
/* Form Box (Glassmorphism Effect) */
.form-box {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(15px);
border-radius: 50px;
padding: 50px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
text-align: center;
width: 450px;
color: #fff;
margin-top: 50px;
}
/* Input Fields */
.input-box {
position: relative;
margin-bottom: 15px;
}
.input-box input,
.input-box select {
width: 100%;
padding: 8px 12px;
border: 2px solid #ddd;
border-radius: 15px;
background: rgba(211, 205, 205, 0.2);
color: #ffffff;
font-size: 14px; /* Reduced font size */
outline: none;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.input-box input:focus,
.input-box select:focus {
background: rgba(109, 102, 102, 0.3);
box-shadow: 0 4px 12px rgba(0, 255, 252, 0.5);
border: 2px solid #00fffc;
}
.input-box label {
position: absolute;
top: 50%;
left: 15px;
transform: translateY(-50%);
color: #ddd;
font-size: 14px;
pointer-events: none;
transition: all 0.3s ease;
}
.input-box input:focus ~ label,
.input-box input:not(:placeholder-shown) ~ label,
.input-box select:focus ~ label,
.input-box select:not(:placeholder-shown) ~ label {
top: -10px;
left: 15px;
color: #00fffc;
font-size: 12px;
}
/* Submit Button */
button {
width: 100%;
padding: 10px;
background: #00fffc;
color: white;
border: none;
border-radius: 15px;
font-size: 14px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
}
button:hover {
background: #00c4c4;
transform: scale(1.05);
}
/* Login Link */
.login-link {
margin-top: 20px;
color: #fff;
font-size: 14px;
}
.login-link a {
color: #00fffc;
text-decoration: none;
}
.login-link a:hover {
text-decoration: underline;
}