-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
118 lines (101 loc) · 2.11 KB
/
styles.css
File metadata and controls
118 lines (101 loc) · 2.11 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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
:root {
--bg: #f9f5f0;
--primary: #5c6e58;
--accent: #d9a05b;
--text: #2d2d2d;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
background-color: var(--bg);
color: var(--text);
display: flex;
flex-direction: column;
min-height: 100vh;
}
.hero {
background: linear-gradient(to right, #5c6e58, #a7c4a0);
color: #fff;
text-align: center;
padding: 4rem 2rem;
animation: fadeIn 2s ease;
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
display: flex;
justify-content: center;
align-items: center;
gap: 0.5rem;
}
.hero p {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
padding: 3rem 2rem;
max-width: 1100px;
margin: auto;
animation: fadeInUp 1.5s ease;
}
.card {
background-color: #fff;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
text-align: center;
}
.card:hover {
transform: translateY(-8px);
}
.card i {
font-size: 2.5rem;
margin-bottom: 1rem;
color: var(--accent);
animation: pulse 2.5s infinite;
}
.card h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--primary);
}
.card p {
font-size: 1rem;
color: #555;
}
.footer {
background-color: var(--primary);
color: #fff;
text-align: center;
padding: 1.5rem;
margin-top: auto;
font-weight: 500;
animation: fadeInUp 2s ease;
}
.footer i {
color: var(--accent);
margin-right: 0.5rem;
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.15); }
}