-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathevents.css
56 lines (49 loc) · 1.07 KB
/
events.css
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
/* Section Title Styles */
section h2 {
text-align: center;
font-size: 2rem;
margin-bottom: 20px;
color: #333;
}
/* Cards Container */
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
/* Individual Card Styles */
.card {
background: white;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
padding: 20px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-align: center;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.card h3 {
font-size: 1.4rem;
color: #0077b6;
margin-bottom: 10px;
}
.card p {
margin: 10px 0;
font-size: 1rem;
color: #555;
}
.card .btn {
display: inline-block;
background-color: #0077b6;
color: white;
padding: 10px 15px;
border-radius: 5px;
text-decoration: none;
font-size: 1rem;
transition: background-color 0.3s ease;
}
.card .btn:hover {
background-color: #005f8b;
}