-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInterestsAndSkills.module.css
More file actions
94 lines (82 loc) · 1.38 KB
/
InterestsAndSkills.module.css
File metadata and controls
94 lines (82 loc) · 1.38 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
.container {
display: flex;
flex-direction: column;
gap: 2rem;
padding: 2rem;
padding-top: 0rem;
background: #111827;
border: #ffffff 5px solid;
margin-bottom: 250px;
}
.section {
width: 100%;
}
.heading {
font-size: 2rem;
text-align: center;
margin-bottom: 1rem;
position: relative;
color: #ffffff;
}
.heading::after {
content: "";
display: block;
width: 4rem;
height: 0.5rem;
background-color: #ffffff;
position: absolute;
bottom: -0.5rem;
left: 50%;
transform: translateX(-50%);
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 1rem;
}
.card {
background: #ffffff;
border: 2px solid #8ee0f2;
border-radius: 0.75rem;
padding: 1rem;
text-align: center;
transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
transform: translateY(-4px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.icon {
width: 40px;
height: 40px;
margin-bottom: 0.5rem;
}
.label {
display: block;
font-size: 0.9rem;
color: #2d3748;
}
@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fadeUp {
opacity: 0;
transform: translateY(20px);
animation: fadeUp 0.6s ease-out forwards;
}
@media (max-width: 768px) {
.container {
padding: 1rem;
gap: 1.5rem;
}
.heading {
font-size: 1.5rem;
}
}