-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathscontentcss.css
117 lines (101 loc) · 1.81 KB
/
scontentcss.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
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
/* Content Section Base Styles */
.content-section {
padding: 4rem 2rem;
background-color: #fff;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
overflow-x: hidden;
}
.roadmap {
display: flex;
flex-direction: row;
justify-content: center;
align-items: stretch;
gap: 2rem;
max-width: 1400px;
width: 100%;
margin: 0 auto;
padding: 0 20px;
}
.roadmap-card {
flex: 1;
background-color: #fff;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
min-width: 300px;
max-width: 400px;
transition: all 0.3s ease;
}
.roadmap-card img {
width: 100%;
max-width: 350px;
height: auto;
border-radius: 8px;
margin-bottom: 1.5rem;
object-fit: cover;
}
.roadmap-card h1 {
font-size: 1.8rem;
margin: 1rem 0;
text-align: center;
color: #333;
}
.roadmap-card p {
font-size: 1.1rem;
line-height: 1.6;
text-align: center;
color: #666;
flex-grow: 1;
}
.roadmap-card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px #f8bea7;
}
@media screen and (min-width: 1400px) {
.roadmap-card {
padding: 2.5rem;
}
.roadmap-card h1 {
font-size: 2rem;
}
.roadmap-card p {
font-size: 1.2rem;
}
}
@media screen and (max-width: 1199px) {
.roadmap {
flex-wrap: wrap;
justify-content: center;
}
.roadmap-card {
flex: 0 1 calc(50% - 2rem);
min-width: 280px;
}
}
@media screen and (max-width: 767px) {
.content-section {
padding: 2rem 1rem;
}
.roadmap {
flex-direction: column;
align-items: center;
gap: 1.5rem;
}
.roadmap-card {
flex: 0 1 100%;
max-width: 90%;
padding: 1.5rem;
}
.roadmap-card h1 {
font-size: 1.5rem;
}
.roadmap-card p {
font-size: 1rem;
}
}