-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
98 lines (87 loc) · 1.77 KB
/
styles.css
File metadata and controls
98 lines (87 loc) · 1.77 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
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
color: #d4d4d4;
background-color: #1e1e1e;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
/* Hero section */
.hero {
background: #2d2d30;
color: #d4d4d4;
padding: 4rem 2rem;
text-align: center;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
border: 2px solid #3c3c3c;
}
.hero-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
}
.click-me-button {
background: #0e639c;
color: #ffffff;
padding: 1.5rem 3rem;
border: 2px solid #0e639c;
border-radius: 10px;
font-size: 1.5rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
animation: fadeInUp 1s ease;
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.click-me-button:hover {
background: #1177bb;
color: #ffffff;
border: 2px solid #1177bb;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.click-me-button:active {
transform: translateY(-1px);
box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive design */
@media (max-width: 768px) {
.hero {
padding: 3rem 1.5rem;
margin: 1rem;
}
.click-me-button {
padding: 1.2rem 2.5rem;
font-size: 1.3rem;
}
}
@media (max-width: 480px) {
.hero {
padding: 2rem 1rem;
}
.click-me-button {
padding: 1rem 2rem;
font-size: 1.2rem;
}
}