-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstylesup.css
More file actions
223 lines (204 loc) · 4.54 KB
/
stylesup.css
File metadata and controls
223 lines (204 loc) · 4.54 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
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
/* General Styling */
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #ece6e6;
font-family: Arial, sans-serif;
overflow: auto;
}
/* Upload Section with Drag & Drop */
.upload-section {
border: 2px dashed #000000;
padding: 20px;
border-radius: 10px;
transition: border-color 0.3s ease-in-out;
text-align: center;
width: 300px;
}
.upload-section:hover {
border-color: #ffffff;
}
/* Upload Button */
.upload-btn {
background: linear-gradient(135deg, #daa419a3, #f8cfae);
border: none;
padding: 12px 24px;
color: rgba(38, 37, 37, 0.833);
font-weight: bold;
cursor: pointer;
border-radius: 25px;
transition: transform 0.2s, background 0.3s;
display: block;
margin: 10px auto;
}
.upload-btn:hover {
background: linear-gradient(135deg, #db9e2d, #ddccb1);
transform: scale(1.05);
}
/* Loading Animation */
@keyframes spinner {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.loading::after {
content: '';
display: inline-block;
width: 16px;
height: 16px;
margin-left: 10px;
border: 2px solid rgb(240, 237, 237);
border-top: 2px solid transparent;
border-radius: 50%;
animation: spinner 1s linear infinite;
}
/* Submit Button */
.submit-btn {
background: #a27c3e;
color: white;
padding: 12px 24px;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: all 0.3s ease;
display: block;
margin: 10px auto;
}
.submit-btn:hover {
background: #b9ac8f;
transform: translateY(-2px);
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.containers {
width: 60%;
padding: 188px;
background: rgb(203, 182, 151);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
border-radius: 10px;
text-align: center;
}
body {
background-image: url('Beige Brown Minimalist Candle Store Website Desktop Prototype1.png');
background-size: cover;
background-position: center;
background-attachment: fixed;
}
html, body {
overflow: auto;
}
.containers {
opacity: 3;
transform: translateY(-20px);
animation: fadeIn 0.5s ease-out forwards;
}
.container {
opacity: 3;
transform: translateY(-20px);
animation: fadeIn 2s ease-out forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Webcam Section Styling */
#webcam-container {
margin-top: 20px;
display: flex;
justify-content: center;
align-items: center;
}
#webcam-container canvas {
border: 3px solid #a27c3e;
border-radius: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
/* Webcam Buttons */
button {
background: #6b4f3f;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
margin: 10px;
transition: all 0.3s ease;
}
button:hover {
background: #8d6b52;
transform: scale(1.05);
}
/* Responsive Design */
@media screen and (max-width: 992px) {
.hero-content {
max-width: 500px;
padding: 25px;
}
.hero h1 {
font-size: 40px;
}
.start-btn {
font-size: 1em;
padding: 10px 20px;
}
}
@media screen and (max-width: 768px) {
.containers {
width: 90%;
padding: 50px;
}
.upload-section {
width: 250px;
}
body {
overflow: auto !important; /* Ensure scrolling works on mobile */
}
}
@media screen and (max-width: 480px) {
.containers {
width: 95%;
padding: 30px;
}
.upload-section {
width: 200px;
}
.submit-btn {
font-size: 14px;
padding: 10px 20px;
}
body {
overflow: auto !important; /* Fix scrolling issue on mobile */
}
}
@media screen and (max-width: 480px) {
.nav-links {
text-align: center;
padding: 5px;
}
.nav-links a {
font-size: 14px;
margin: 0 5px;
}
.hero-content {
max-width: 90%;
padding: 15px;
}
.hero h1 {
font-size: 28px;
}
.start-btn {
font-size: 0.8em;
padding: 6px 12px;
}
body {
overflow: auto !important; /* Fix scrolling issue on mobile */
}
}