-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
43 lines (33 loc) · 2.13 KB
/
style.css
File metadata and controls
43 lines (33 loc) · 2.13 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
@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 {
display: flex; justify-content: center; align-items: center; min-height: 100vh;
background: #050816; background-attachment: fixed;
}
.main-header {
position: fixed; top: 0; left: 0; width: 100%; padding: 20px 8%;
display: flex; justify-content: space-between; align-items: center; z-index: 100;
}
.logo { color: #fff; font-size: 1.5rem; }
.logo span { color: #00f2fe; }
.btn-popup { padding: 10px 25px; background: #00f2fe; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; }
/* Wrapper - Glassmorphism */
.wrapper {
position: relative; width: 380px; min-height: 420px;
background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px; backdrop-filter: blur(15px); padding: 30px;
display: none; box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}
.icon-close { position: absolute; top: 10px; right: 15px; font-size: 2rem; color: #fff; cursor: pointer; }
h2 { color: #fff; text-align: center; font-size: 1.8rem; margin-bottom: 20px; }
.input-box { position: relative; width: 100%; height: 50px; border-bottom: 2px solid #00f2fe; margin-bottom: 25px; }
.input-box input { width: 100%; height: 100%; background: transparent; border: none; outline: none; color: #fff; font-size: 1rem; }
.input-box label { position: absolute; top: 50%; left: 0; transform: translateY(-50%); color: #fff; transition: .4s; pointer-events: none; }
.input-box input:focus~label, .input-box input:not(:placeholder-shown)~label { top: -5px; color: #00f2fe; font-size: 0.8rem; }
.btn-submit { width: 100%; height: 45px; background: #00f2fe; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 1rem; }
.toggle-text { text-align: center; color: #fff; margin-top: 20px; font-size: 0.9rem; }
.toggle-text a { color: #00f2fe; font-weight: 700; text-decoration: none; }
/* Mobile View Fix */
@media (max-width: 500px) {
.wrapper { width: 90%; }
}