|
2 | 2 |
|
3 | 3 | :root {
|
4 | 4 | --main-color: #f60f20;
|
| 5 | + --secondary-color: #1b206e; |
5 | 6 | --highlight-color: #c4a2fc;
|
6 | 7 | --text-color: #111;
|
7 |
| - --alternate-text-color: #1b206e; |
8 | 8 | }
|
9 | 9 |
|
10 | 10 | * {
|
@@ -201,7 +201,7 @@ section.home {
|
201 | 201 | font-size: 1.6rem;
|
202 | 202 | font-weight: 500;
|
203 | 203 | margin-top: 20px;
|
204 |
| - color: var(--alternate-text-color); |
| 204 | + color: var(--secondary-color); |
205 | 205 | }
|
206 | 206 |
|
207 | 207 | .services .service p {
|
@@ -256,6 +256,98 @@ section.home {
|
256 | 256 | opacity: 1;
|
257 | 257 | }
|
258 | 258 |
|
| 259 | +/* CONTACT */ |
| 260 | +.contact { |
| 261 | + position: relative; |
| 262 | + width: 100%; |
| 263 | + margin-top: 50px; |
| 264 | + display: flex; |
| 265 | + justify-content: space-between; |
| 266 | + align-items: flex-start; |
| 267 | + flex-direction: column; |
| 268 | +} |
| 269 | + |
| 270 | +.contact-form { |
| 271 | + position: relative; |
| 272 | + background-color: #f9f9f9; |
| 273 | + width: 100%; |
| 274 | + padding: 30px 30px 20px; |
| 275 | +} |
| 276 | + |
| 277 | +.contact-form form { |
| 278 | + width: 100%; |
| 279 | +} |
| 280 | + |
| 281 | +.contact-form .row { |
| 282 | + display: flex; |
| 283 | + flex-direction: column; |
| 284 | + width: 100%; |
| 285 | +} |
| 286 | + |
| 287 | +.contact-form .input50, |
| 288 | +.contact-form .input100 { |
| 289 | + width: 100%; |
| 290 | + margin: 0; |
| 291 | +} |
| 292 | + |
| 293 | +.contact-form .row input, |
| 294 | +.contact-form .row textarea { |
| 295 | + position: relative; |
| 296 | + border: 1px solid rgba(0, 0, 0, 0.2); |
| 297 | + color: #111; |
| 298 | + background: transparent; |
| 299 | + width: 100%; |
| 300 | + padding: 10px; |
| 301 | + outline: none; |
| 302 | + font-size: 1rem; |
| 303 | + font-family: inherit; |
| 304 | + font-weight: 300; |
| 305 | + margin: 10px 0; |
| 306 | + resize: none; |
| 307 | +} |
| 308 | + |
| 309 | +.contact-form .row textarea { |
| 310 | + height: 150px; |
| 311 | +} |
| 312 | + |
| 313 | +.contact-form .row input[type="submit"] { |
| 314 | + background-color: var(--secondary-color); |
| 315 | + color: #fff; |
| 316 | + margin: 0; |
| 317 | + text-transform: uppercase; |
| 318 | + letter-spacing: 2px; |
| 319 | + font-weight: 300; |
| 320 | + border: 0; |
| 321 | + cursor: pointer; |
| 322 | +} |
| 323 | + |
| 324 | +.contact-info { |
| 325 | + width: 100%; |
| 326 | + margin-top: 20px; |
| 327 | + background: #f9f9f9; |
| 328 | + padding: 30px 30px 20px; |
| 329 | +} |
| 330 | + |
| 331 | +.contact-info .info-box { |
| 332 | + display: flex; |
| 333 | + align-items: flex-start; |
| 334 | + margin-bottom: 40px; |
| 335 | +} |
| 336 | + |
| 337 | +.contact-info .info-box .contact-icon { |
| 338 | + width: 20px; |
| 339 | + margin-right: 40px; |
| 340 | +} |
| 341 | + |
| 342 | +.contact-info .info-box .details h4 { |
| 343 | + color: var(--secondary-color); |
| 344 | +} |
| 345 | + |
| 346 | +.contact-info .info-box .details p, |
| 347 | +.contact-info .info-box .details a { |
| 348 | + color: var(--text-color); |
| 349 | +} |
| 350 | + |
259 | 351 | /* MEDIA QUERIES */
|
260 | 352 | @media (min-width: 768px) {
|
261 | 353 | .services {
|
@@ -300,4 +392,32 @@ section.home {
|
300 | 392 | .services {
|
301 | 393 | grid-template-columns: repeat(3, 1fr);
|
302 | 394 | }
|
| 395 | + |
| 396 | + .contact { |
| 397 | + flex-direction: row; |
| 398 | + } |
| 399 | + |
| 400 | + .contact-form { |
| 401 | + width: calc(100% - 400px); |
| 402 | + padding: 60px 40px 20px; |
| 403 | + } |
| 404 | + |
| 405 | + .contact-form .row { |
| 406 | + flex-direction: row; |
| 407 | + } |
| 408 | + |
| 409 | + .contact-form .input50 { |
| 410 | + width: 50%; |
| 411 | + margin: 0 10px; |
| 412 | + } |
| 413 | + |
| 414 | + .contact-form .input100 { |
| 415 | + margin: 0 10px; |
| 416 | + } |
| 417 | + |
| 418 | + .contact-info { |
| 419 | + width: 350px; |
| 420 | + margin-top: 0; |
| 421 | + padding: 60px 40px 20px; |
| 422 | + } |
303 | 423 | }
|
0 commit comments