Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
176 lines (152 loc) · 5.01 KB
/
Copy pathstyles.css
File metadata and controls
176 lines (152 loc) · 5.01 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
/* =========================================
CSS Isolation: Prefix 'tz-' used
========================================= */
:root {
--tz-font-family: 'Inter Tight', sans-serif;
--tz-color-bg-main: #FFF7F0;
--tz-color-bg-card: #ffffff;
--tz-color-text-dark: #111111;
--tz-color-text-grey: #666666;
--tz-color-accent: #F06449;
--tz-card-shadow: 0 4px 10px rgba(0, 0, 0, 0.026);
--tz-border-radius-xl: 40px;
--tz-border-radius-lg: 24px;
--tz-gap: 24px; /* The specific spacing requested */
}
.tz-component-wrapper * {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.tz-component-wrapper {
font-family: var(--tz-font-family);
background-color: var(--tz-color-bg-main);
color: var(--tz-color-text-dark);
padding: 100px 40px;
border-radius: var(--tz-border-radius-xl);
overflow: hidden;
margin: 20px;
}
.tz-container {
max-width: 1300px;
margin: 0 auto;
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 80px;
align-items: center;
}
/* --- Right Column: Content --- */
.tz-content-block {
display: flex;
flex-direction: column;
gap: 32px;
z-index: 2;
}
.tz-headline {
font-size: 56px;
font-weight: 600;
line-height: 1.05;
letter-spacing: -1.5px;
}
.tz-subtext {
font-size: 18px;
line-height: 1.6;
color: var(--tz-color-text-grey);
max-width: 480px;
}
.tz-cta-button {
display: inline-flex;
align-items: center;
gap: 12px;
background-color: var(--tz-color-accent);
color: white;
text-decoration: none;
padding: 18px 36px;
border-radius: 50px;
font-weight: 600;
font-size: 16px;
transition: all 0.3s ease;
width: fit-content;
}
.tz-cta-button:hover {
background-color: #e05338;
transform: translateX(5px);
}
/* --- Left Column: Moving Testimonials --- */
.tz-testimonials-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--tz-gap);
height: 750px;
overflow: hidden;
position: relative;
mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
-webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}
.tz-scroll-col {
display: flex;
flex-direction: column;
}
/* Inner group spacing to maintain gap between Set 1 and Set 2 */
.tz-card-group-inner {
display: flex;
flex-direction: column;
gap: var(--tz-gap);
padding-bottom: var(--tz-gap); /* Force gap between clones */
}
@keyframes tz-scroll-up {
0% { transform: translateY(0); }
100% { transform: translateY(-50%); }
}
@keyframes tz-scroll-down {
0% { transform: translateY(-50%); }
100% { transform: translateY(0); }
}
.tz-col-up { animation: tz-scroll-up 35s linear infinite; }
.tz-col-down { animation: tz-scroll-down 35s linear infinite; }
.tz-testimonials-wrapper:hover .tz-scroll-col {
animation-play-state: paused;
}
/* Card Styling */
.tz-card {
background-color: var(--tz-color-bg-card);
padding: 36px;
border-radius: var(--tz-border-radius-lg);
transition: transform 0.3s ease;
}
.tz-card:hover {
transform: scale(1.02);
}
.tz-card-text {
font-size: 17px;
line-height: 1.6;
color: var(--tz-color-text-dark);
margin-bottom: 28px;
font-weight: 400;
}
.tz-user-info {
display: flex;
align-items: center;
gap: 14px;
}
.tz-avatar {
width: 44px;
height: 44px;
border-radius: 50%;
object-fit: cover;
}
.tz-user-details h4 {
font-size: 16px;
font-weight: 600;
margin-bottom: 2px;
}
.tz-user-location {
font-size: 14px;
color: var(--tz-color-text-grey);
}
/* Responsive Fixes */
@media (max-width: 1024px) {
.tz-container { grid-template-columns: 1fr; gap: 40px; }
.tz-content-block { order: -1; text-align: center; align-items: center; }
.tz-headline { font-size: 42px; }
}