4
4
--primary-color : # 333 ;
5
5
--secondary-color : # 444 ;
6
6
--ternary-color : # 555 ;
7
+ --light-color : # ccc ;
8
+ --light-secondary-color : # ddd ;
9
+ --light-ternary-color : # eee ;
7
10
--overlay-color : rgba (0 , 0 , 0 , 0.7 );
8
11
}
9
12
@@ -98,6 +101,21 @@ img {
98
101
margin : 1rem 0 ;
99
102
}
100
103
104
+ .btn {
105
+ display : inline-block;
106
+ background-color : var (--primary-color );
107
+ color : # fff ;
108
+ padding : 0.8rem 1.5rem ;
109
+ border : none;
110
+ cursor : pointer;
111
+ font-size : 1.1rem ;
112
+ border-radius : 30px ;
113
+ }
114
+
115
+ .btn : hover {
116
+ background : var (--secondary-color );
117
+ }
118
+
101
119
/* large text section */
102
120
103
121
.section-large-text {
@@ -106,3 +124,208 @@ img {
106
124
no-repeat;
107
125
height : 600px ;
108
126
}
127
+
128
+ .overlay {
129
+ position : absolute;
130
+ width : 100% ;
131
+ height : 100% ;
132
+ top : 0 ;
133
+ left : 0 ;
134
+ background-color : var (--overlay-color );
135
+ }
136
+
137
+ .section-large-text-inner {
138
+ color : # fff ;
139
+ height : 100% ;
140
+ display : flex;
141
+ flex-direction : column;
142
+ align-items : center;
143
+ justify-content : center;
144
+ text-align : center;
145
+ margin : auto;
146
+ max-width : 860px ;
147
+ padding : 5rem 0 ;
148
+ }
149
+
150
+ .section-large-text-inner h2 {
151
+ font-size : 5rem ;
152
+ margin-top : 1rem ;
153
+ }
154
+
155
+ .section-large-text-inner h3 {
156
+ font-size : 2rem ;
157
+ }
158
+
159
+ .section-large-text-inner p {
160
+ font-size : 1.5rem ;
161
+ margin-top : 1rem ;
162
+ }
163
+
164
+ /* gallery */
165
+
166
+ .section-gallery .gallery {
167
+ display : grid;
168
+ grid-template-columns : repeat (5 , 1fr );
169
+ }
170
+
171
+ .section-gallery .gallery a : first-child {
172
+ grid-row : 1 / 3 ;
173
+ grid-column : 1 / 3 ;
174
+ }
175
+
176
+ .section-gallery .gallery a : nth-child (2 ) {
177
+ grid-column-start : 3 ;
178
+ grid-column-end : 5 ;
179
+ }
180
+
181
+ .section-gallery .gallery img ,
182
+ .section-gallery .gallery a {
183
+ width : 100% ;
184
+ height : 100% ;
185
+ }
186
+
187
+ /* footer */
188
+
189
+ .section-footer {
190
+ background-color : var (--primary-color );
191
+ color : # fff ;
192
+ padding : 4rem 0 ;
193
+ }
194
+
195
+ .section-footer .container {
196
+ display : grid;
197
+ grid-template-columns : repeat (4 , 1fr );
198
+ gap : 1rem ;
199
+ }
200
+
201
+ .section-footer h2 {
202
+ font-size : 2rem ;
203
+ margin-bottom : 1rem ;
204
+ }
205
+
206
+ .section-footer h3 {
207
+ margin-bottom : 0.7rem ;
208
+ }
209
+
210
+ .section-footer a {
211
+ line-height : 1.9 ;
212
+ color : var (--light-color );
213
+ }
214
+
215
+ .section-footer a > i {
216
+ color : var (--ternary-color );
217
+ margin-right : 0.5rem ;
218
+ }
219
+
220
+ .email-form {
221
+ display : inline-block;
222
+ width : 100% ;
223
+ background-color : var (--ternary-color );
224
+ position : relative;
225
+ border-radius : 20px ;
226
+ line-height : 0 ;
227
+ margin-top : 1rem ;
228
+ }
229
+
230
+ .email-form .form-control {
231
+ display : inline-block;
232
+ width : 100% ;
233
+ height : 45px ;
234
+ border-radius : 20px ;
235
+ border : 0 ;
236
+ outline : 0 ;
237
+ font-size : 1rem ;
238
+ color : var (--light-secondary-color );
239
+ background-color : transparent;
240
+ font-family : inherit;
241
+ margin : 0 ;
242
+ padding : 0 3rem 0 1.5rem ;
243
+ }
244
+
245
+ .email-form .submit {
246
+ display : inline-block;
247
+ position : absolute;
248
+ top : 0 ;
249
+ right : 0 ;
250
+ width : 45px ;
251
+ height : 45px ;
252
+ background-color : var (--light-ternary-color );
253
+ font-size : 1rem ;
254
+ text-align : center;
255
+ margin : 0 ;
256
+ padding : 0 ;
257
+ outline : 0 ;
258
+ border : 0 ;
259
+ border-radius : 0 20px 20px 0 ;
260
+ color : var (--primary-color );
261
+ cursor : pointer;
262
+ }
263
+
264
+ @media (max-width : 768px ) {
265
+ .section-showcase .container {
266
+ grid-template-columns : 1fr ;
267
+ text-align : center;
268
+ }
269
+
270
+ .section-showcase .container div : first-child {
271
+ order : 2 ;
272
+ }
273
+
274
+ .section-showcase .container div : nth-child (2 ) {
275
+ order : -1 ;
276
+ }
277
+
278
+ .section-showcase h1 {
279
+ font-size : 2rem ;
280
+ }
281
+
282
+ .section-showcase img {
283
+ width : 80% ;
284
+ margin : auto;
285
+ }
286
+
287
+ .section-large-text-inner h2 {
288
+ font-size : 3rem ;
289
+ }
290
+
291
+ .section-large-text-inner h3 {
292
+ font-size : 1.5rem ;
293
+ }
294
+
295
+ .section-large-text-inner p {
296
+ font-size : 1.25rem ;
297
+ }
298
+
299
+ .section-gallery .gallery {
300
+ display : grid;
301
+ grid-template-columns : repeat (3 , 1fr );
302
+ }
303
+
304
+ .section-gallery .gallery a : first-child {
305
+ grid-row : 1 / 1 ;
306
+ grid-column : 1 / 1 ;
307
+ }
308
+
309
+ .section-gallery .gallery a : nth-child (2 ) {
310
+ grid-row : 2 / 2 ;
311
+ grid-column : 2 / 4 ;
312
+ }
313
+
314
+ .section-gallery .gallery a : last-child {
315
+ display : none;
316
+ }
317
+
318
+ .section-footer {
319
+ padding : 2rem 0 ;
320
+ }
321
+
322
+ .section-footer .container {
323
+ grid-template-columns : 1fr ;
324
+ text-align : center;
325
+ }
326
+
327
+ .section-footer div : nth-child (2 ),
328
+ .section-footer div : nth-child (3 ) {
329
+ display : none;
330
+ }
331
+ }
0 commit comments