-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
133 lines (117 loc) · 2.53 KB
/
style.css
File metadata and controls
133 lines (117 loc) · 2.53 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: #121212;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
padding: 2rem;
overflow: auto;
}
.container {
background: #1f1f1f;
padding: 2rem;
border-radius: 12px;
width: 100%;
max-width: 750px;
box-shadow: 0 0 20px rgba(255, 165, 0, 0.15);
animation: fadeIn 0.6s ease-in-out;
}
h1 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
color: #FFA500;
text-align: center;
letter-spacing: 1px;
}
.user-input-container {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
justify-content: center;
}
#user-input {
flex: 1;
padding: 0.6rem 1rem;
border-radius: 6px;
border: 1px solid #555;
background: #2a2a2a;
color: #fff;
transition: border-color 0.3s ease;
}
#user-input:focus {
outline: none;
border-color: #FFA500;
}
#search-btn {
padding: 0.6rem 1.2rem;
background: #FFA500;
border: none;
border-radius: 6px;
color: #000;
font-weight: bold;
cursor: pointer;
transition: background 0.3s ease;
}
#search-btn:hover {
background: #ffb733;
}
.progress {
display: flex;
justify-content: space-around;
margin-top: 1rem;
margin-bottom: 1.5rem;
}
.circle {
width: 110px;
height: 110px;
border-radius: 50%;
background: conic-gradient(#FFA500 var(--progress, 0%), #2c2c2c 0%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 1rem;
color: #fff;
box-shadow: inset 0 0 10px #00000055;
transition: transform 0.3s ease;
}
.circle:hover {
transform: scale(1.05);
}
.stats-cards {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-top: 1rem;
justify-content: center;
}
.card {
flex: 1 1 45%;
background: #333;
padding: 1.2rem;
border-radius: 10px;
text-align: center;
transition: transform 0.3s ease, background 0.3s ease;
border: 1px solid #444;
}
.card:hover {
transform: translateY(-5px);
background: #3a3a3a;
}
.card h4 {
margin-bottom: 0.5rem;
font-size: 1.1rem;
color: #FFA500;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}