| 1 |
/* |
| 2 |
|
| 3 |
Author : Amedea |
| 4 |
Author URI : https://amedeapro.com |
| 5 |
Author : Moskva Yigit |
| 6 |
Author URI : http://moskvayigit.com |
| 7 |
Version : 0.0.4.8 |
| 8 |
|
| 9 |
Table of Contents |
| 10 |
- General |
| 11 |
- Splitting |
| 12 |
- Project |
| 13 |
- Tooltip |
| 14 |
- Marquee |
| 15 |
- Parallax Image |
| 16 |
- Contact Page |
| 17 |
- About Page |
| 18 |
- Text Effect |
| 19 |
- Compare Images |
| 20 |
|
| 21 |
*/ |
| 22 |
|
| 23 |
.require-gsap { |
| 24 |
position: absolute; |
| 25 |
z-index: 100; |
| 26 |
padding: 100px; |
| 27 |
text-align: center; |
| 28 |
color: red; |
| 29 |
top:0px; |
| 30 |
} |
| 31 |
|
| 32 |
.require-gsap a { |
| 33 |
color: #000; |
| 34 |
FONT-WEIGHT: 600; |
| 35 |
} |
| 36 |
|
| 37 |
/*---------------------------- |
| 38 |
.-- General |
| 39 |
-----------------------------*/ |
| 40 |
|
| 41 |
*, |
| 42 |
*::after, |
| 43 |
*::before { |
| 44 |
box-sizing: border-box; |
| 45 |
} |
| 46 |
|
| 47 |
:root{ |
| 48 |
--amedea--preset--color--white : #fff; |
| 49 |
--amedea--preset--color--black : #000; |
| 50 |
} |
| 51 |
|
| 52 |
html, body { |
| 53 |
scroll-behavior: auto; |
| 54 |
} |
| 55 |
|
| 56 |
.ki-description{ |
| 57 |
width:100%; |
| 58 |
} |
| 59 |
|
| 60 |
.unbutton { |
| 61 |
background: none; |
| 62 |
border: 0; |
| 63 |
padding: 0; |
| 64 |
margin: 0; |
| 65 |
font: inherit; |
| 66 |
cursor: pointer; |
| 67 |
} |
| 68 |
|
| 69 |
.unbutton:focus { |
| 70 |
outline: none; |
| 71 |
} |
| 72 |
|
| 73 |
/*---------------------------- |
| 74 |
.-- Splitting |
| 75 |
-----------------------------*/ |
| 76 |
|
| 77 |
.splitting .word, |
| 78 |
.splitting .char { |
| 79 |
display: inline-block; |
| 80 |
} |
| 81 |
|
| 82 |
.splitting .char { |
| 83 |
position: relative; |
| 84 |
} |
| 85 |
|
| 86 |
.splitting .char::before, |
| 87 |
.splitting .char::after { |
| 88 |
content: attr(data-char); |
| 89 |
position: absolute; |
| 90 |
top: 0; |
| 91 |
left: 0; |
| 92 |
visibility: hidden; |
| 93 |
transition: inherit; |
| 94 |
user-select: none; |
| 95 |
} |
| 96 |
|
| 97 |
.splitting { |
| 98 |
--word-center: calc((var(--word-total) - 1) / 2); |
| 99 |
--char-center: calc((var(--char-total) - 1) / 2); |
| 100 |
--line-center: calc((var(--line-total) - 1) / 2); |
| 101 |
} |
| 102 |
|
| 103 |
.splitting .word { |
| 104 |
--word-percent: calc(var(--word-index) / var(--word-total)); |
| 105 |
--line-percent: calc(var(--line-index) / var(--line-total)); |
| 106 |
} |
| 107 |
|
| 108 |
.splitting .char { |
| 109 |
--char-percent: calc(var(--char-index) / var(--char-total)); |
| 110 |
--char-offset: calc(var(--char-index) - var(--char-center)); |
| 111 |
--distance: calc( |
| 112 |
(var(--char-offset) * var(--char-offset)) / var(--char-center) |
| 113 |
); |
| 114 |
--distance-sine: calc(var(--char-offset) / var(--char-center)); |
| 115 |
--distance-percent: calc((var(--distance) / var(--char-center))); |
| 116 |
} |
| 117 |
|
| 118 |
.splitting.cells img { |
| 119 |
width: 100%; |
| 120 |
display: block; |
| 121 |
} |
| 122 |
|
| 123 |
@supports (display: grid) { |
| 124 |
|
| 125 |
.splitting.cells { |
| 126 |
position: relative; |
| 127 |
overflow: hidden; |
| 128 |
background-size: cover; |
| 129 |
visibility: hidden; |
| 130 |
} |
| 131 |
|
| 132 |
.splitting .cell-grid { |
| 133 |
background: inherit; |
| 134 |
position: absolute; |
| 135 |
top: 0; |
| 136 |
left: 0; |
| 137 |
width: 100%; |
| 138 |
height: 100%; |
| 139 |
display: grid; |
| 140 |
grid-template: repeat(var(--row-total), 1fr) / repeat( |
| 141 |
var(--col-total), |
| 142 |
1fr |
| 143 |
); |
| 144 |
} |
| 145 |
|
| 146 |
.splitting .cell { |
| 147 |
background: inherit; |
| 148 |
position: relative; |
| 149 |
overflow: hidden; |
| 150 |
} |
| 151 |
|
| 152 |
.splitting .cell-inner { |
| 153 |
background: inherit; |
| 154 |
position: absolute; |
| 155 |
visibility: visible; |
| 156 |
width: calc(100% * var(--col-total)); |
| 157 |
height: calc(100% * var(--row-total)); |
| 158 |
left: calc(-100% * var(--col-index)); |
| 159 |
top: calc(-100% * var(--row-index)); |
| 160 |
} |
| 161 |
|
| 162 |
.splitting .cell { |
| 163 |
--center-x: calc((var(--col-total) - 1) / 2); |
| 164 |
--center-y: calc((var(--row-total) - 1) / 2); |
| 165 |
--offset-x: calc(var(--col-index) - var(--center-x)); |
| 166 |
--offset-y: calc(var(--row-index) - var(--center-y)); |
| 167 |
--distance-x: calc( |
| 168 |
(var(--offset-x) * var(--offset-x)) / var(--center-x) |
| 169 |
); |
| 170 |
--distance-y: calc( |
| 171 |
(var(--offset-y) * var(--offset-y)) / var(--center-y) |
| 172 |
); |
| 173 |
} |
| 174 |
|
| 175 |
} |
| 176 |
|
| 177 |
/*---------------------------- |
| 178 |
.-- Project |
| 179 |
-----------------------------*/ |
| 180 |
|
| 181 |
.light .project__name, |
| 182 |
.light .project__date, |
| 183 |
.light .project__title-line { |
| 184 |
color: var(--wp--preset--color--white); |
| 185 |
} |
| 186 |
|
| 187 |
.dark .project__name, |
| 188 |
.dark .project__date, |
| 189 |
.dark .project__title-line { |
| 190 |
color: var(--wp--preset--color--black); |
| 191 |
} |
| 192 |
|
| 193 |
main { |
| 194 |
position: relative; |
| 195 |
width: 100%; |
| 196 |
overflow: hidden; |
| 197 |
} |
| 198 |
|
| 199 |
.unbutton { |
| 200 |
background: none; |
| 201 |
border: 0; |
| 202 |
padding: 0; |
| 203 |
margin: 0; |
| 204 |
font: inherit; |
| 205 |
cursor: pointer; |
| 206 |
} |
| 207 |
|
| 208 |
.unbutton:focus { |
| 209 |
outline: none; |
| 210 |
} |
| 211 |
|
| 212 |
.project { |
| 213 |
max-width: 1000px; |
| 214 |
margin: 20vh auto 5vh; |
| 215 |
display: grid; |
| 216 |
grid-column-gap: 7vw; |
| 217 |
grid-row-gap: 0.5rem; |
| 218 |
} |
| 219 |
|
| 220 |
.project--intro { |
| 221 |
grid-template-columns: 1fr; |
| 222 |
grid-template-areas: |
| 223 |
"label-name" |
| 224 |
"name" |
| 225 |
"label-date" |
| 226 |
"date" |
| 227 |
"title" |
| 228 |
"label-mission" |
| 229 |
"mission"; |
| 230 |
} |
| 231 |
|
| 232 |
.project--details { |
| 233 |
grid-template-areas: "label-default" "paragraph"; |
| 234 |
grid-template-columns: 1fr; |
| 235 |
} |
| 236 |
|
| 237 |
.project--left { |
| 238 |
justify-content: start; |
| 239 |
} |
| 240 |
|
| 241 |
.project--right { |
| 242 |
justify-content: end; |
| 243 |
} |
| 244 |
|
| 245 |
.project--details p { |
| 246 |
grid-area: paragraph; |
| 247 |
max-width: 400px; |
| 248 |
} |
| 249 |
|
| 250 |
.project__label--default { |
| 251 |
grid-area: label-default; |
| 252 |
} |
| 253 |
|
| 254 |
.project p { |
| 255 |
line-height: 1.4; |
| 256 |
margin: 0; |
| 257 |
color: #575757; |
| 258 |
} |
| 259 |
|
| 260 |
.project__label { |
| 261 |
color: #adadad; |
| 262 |
} |
| 263 |
|
| 264 |
.project__label--name { |
| 265 |
grid-area: label-name; |
| 266 |
} |
| 267 |
|
| 268 |
.project__label--date { |
| 269 |
grid-area: label-date; |
| 270 |
} |
| 271 |
|
| 272 |
.project__label--mission { |
| 273 |
grid-area: label-mission; |
| 274 |
} |
| 275 |
|
| 276 |
.project__name { |
| 277 |
grid-area: name; |
| 278 |
} |
| 279 |
|
| 280 |
.project__date { |
| 281 |
grid-area: date; |
| 282 |
} |
| 283 |
|
| 284 |
.project__mission { |
| 285 |
grid-area: mission; |
| 286 |
line-height: 1.4; |
| 287 |
} |
| 288 |
|
| 289 |
.project__mission p:first-child { |
| 290 |
grid-area: p1; |
| 291 |
} |
| 292 |
|
| 293 |
.project__mission p:child { |
| 294 |
grid-area: p2; |
| 295 |
} |
| 296 |
|
| 297 |
.project__mission p { |
| 298 |
color: #575757; |
| 299 |
} |
| 300 |
|
| 301 |
.project__title { |
| 302 |
grid-area: title; |
| 303 |
font-size: clamp(2rem, 13vw, 8rem); |
| 304 |
font-weight: 400; |
| 305 |
margin: 10vh 0; |
| 306 |
line-height: 1; |
| 307 |
} |
| 308 |
|
| 309 |
.project__heading { |
| 310 |
color: #adadad; |
| 311 |
font-weight: inherit; |
| 312 |
font-size: inherit; |
| 313 |
margin: 0; |
| 314 |
} |
| 315 |
|
| 316 |
.heading__small i { |
| 317 |
margin-right: 10px; |
| 318 |
} |
| 319 |
|
| 320 |
.content__in span { |
| 321 |
opacity: 0.75; |
| 322 |
} |
| 323 |
|
| 324 |
.light .content__in span { |
| 325 |
color: var(--wp--preset--color--white); |
| 326 |
} |
| 327 |
|
| 328 |
.heading__small { |
| 329 |
margin-top: 48px; |
| 330 |
font-size: 14px; |
| 331 |
letter-spacing: 1px; |
| 332 |
color: var(--wp--preset--color--black); |
| 333 |
align-self: center; |
| 334 |
} |
| 335 |
|
| 336 |
.light .heading__small { |
| 337 |
color: var(--wp--preset--color--white); |
| 338 |
} |
| 339 |
|
| 340 |
.light .heading__small, |
| 341 |
.light .heading__details, |
| 342 |
.light .heading__details.size__medium { |
| 343 |
color: var(--wp--preset--color--white); |
| 344 |
} |
| 345 |
|
| 346 |
.content__inner span.subsize__medium, |
| 347 |
.content__in span.subsize__medium { |
| 348 |
line-height: 1.6vw; |
| 349 |
font-size: 1.4vw; |
| 350 |
letter-spacing: -1px; |
| 351 |
} |
| 352 |
|
| 353 |
.content__inner span.subsize__large, |
| 354 |
.content__in span.subsize__large { |
| 355 |
line-height: 2.0vw; |
| 356 |
font-size: 1.6vw; |
| 357 |
letter-spacing: -1px; |
| 358 |
} |
| 359 |
|
| 360 |
.text__center { |
| 361 |
text-align: center; |
| 362 |
} |
| 363 |
|
| 364 |
p.text__link { |
| 365 |
margin: 25px 0 0; |
| 366 |
} |
| 367 |
|
| 368 |
.text__link { |
| 369 |
color: var(--wp--preset--color--white); |
| 370 |
} |
| 371 |
|
| 372 |
.text__center p.text__link { |
| 373 |
margin: 25px auto; |
| 374 |
} |
| 375 |
|
| 376 |
.project--vertical { |
| 377 |
grid-column-gap: 0; |
| 378 |
grid-template-areas: inherit; |
| 379 |
grid-template-columns: inherit; |
| 380 |
max-width: 700px; |
| 381 |
} |
| 382 |
|
| 383 |
.project--vertical.project--left { |
| 384 |
margin: 20vh 10vh 0 10vh; |
| 385 |
} |
| 386 |
|
| 387 |
.intro__page.welcome__page { |
| 388 |
min-height: 120vw; |
| 389 |
} |
| 390 |
|
| 391 |
.content__image .grid__left { |
| 392 |
grid-column: 1/7; |
| 393 |
} |
| 394 |
|
| 395 |
.content__text.content__info { |
| 396 |
margin: 8.33333vw; |
| 397 |
color: #fff; |
| 398 |
font-size: 18px; |
| 399 |
} |
| 400 |
|
| 401 |
.content__text { |
| 402 |
grid-column-gap: 2.2vw; |
| 403 |
display: grid; |
| 404 |
align-items: flex-start; |
| 405 |
margin: 0 8.35vw; |
| 406 |
} |
| 407 |
|
| 408 |
.content__info { |
| 409 |
grid-column-gap: 2.2vw; |
| 410 |
grid-template-columns: repeat(12, 1fr); |
| 411 |
display: grid; |
| 412 |
grid-column: 1/13; |
| 413 |
} |
| 414 |
|
| 415 |
.welcome__page.content__page { |
| 416 |
height: 110vw; |
| 417 |
} |
| 418 |
|
| 419 |
.content__page { |
| 420 |
display: grid; |
| 421 |
grid-template-rows: 100vh 1fr auto; |
| 422 |
grid-template-columns: 100%; |
| 423 |
width: 100vw; |
| 424 |
--imgRatio: 1344 / 896; |
| 425 |
height: calc(var(--imgRatio) * 100vw); |
| 426 |
padding: 0; |
| 427 |
position: relative; |
| 428 |
} |
| 429 |
|
| 430 |
.content__image { |
| 431 |
position: absolute; |
| 432 |
top: 0; |
| 433 |
left: 0; |
| 434 |
height: 100%; |
| 435 |
width: 100%; |
| 436 |
background-position: 50% 50%; |
| 437 |
background-size: cover; |
| 438 |
opacity: 1; |
| 439 |
} |
| 440 |
|
| 441 |
.content__image__page { |
| 442 |
position: absolute; |
| 443 |
top: 0; |
| 444 |
left: 0; |
| 445 |
height: 100%; |
| 446 |
width: 100%; |
| 447 |
background-position: 50% 50%; |
| 448 |
background-size: cover; |
| 449 |
opacity: 1; |
| 450 |
} |
| 451 |
|
| 452 |
.welcome__home .text__title { |
| 453 |
font-weight: 600; |
| 454 |
letter-spacing: -10px; |
| 455 |
font-size: 17vw; |
| 456 |
line-height: 15vw; |
| 457 |
margin-top: 100px; |
| 458 |
} |
| 459 |
|
| 460 |
.welcome__page .text__title { |
| 461 |
font-weight: 600; |
| 462 |
letter-spacing: -5px; |
| 463 |
font-size: 10vw; |
| 464 |
line-height: 10vw; |
| 465 |
margin-top: 300px; |
| 466 |
margin-bottom: 50px; |
| 467 |
} |
| 468 |
|
| 469 |
.content__image .text__title { |
| 470 |
margin-left: -15px; |
| 471 |
color: var(--wp--preset--color--white); |
| 472 |
display: flex; |
| 473 |
grid-row: 2; |
| 474 |
} |
| 475 |
|
| 476 |
.content__image .text__intro { |
| 477 |
color: var(--wp--preset--color--white); |
| 478 |
grid-column: 1/7; |
| 479 |
max-width: 37vw; |
| 480 |
padding-top: 20vw; |
| 481 |
font-size: 2vw; |
| 482 |
line-height: 2.3vw; |
| 483 |
letter-spacing: -1px; |
| 484 |
} |
| 485 |
|
| 486 |
.content__image .text__second .text__intro { |
| 487 |
padding-top: 0.6vw; |
| 488 |
} |
| 489 |
|
| 490 |
.content__image .text__intro { |
| 491 |
grid-row: 1; |
| 492 |
} |
| 493 |
|
| 494 |
.content__image .text__intro__second { |
| 495 |
grid-row: 3; |
| 496 |
color: var(--wp--preset--color--white); |
| 497 |
margin-bottom: 250px; |
| 498 |
} |
| 499 |
|
| 500 |
.content__info h4 { |
| 501 |
margin-bottom: 2vh; |
| 502 |
} |
| 503 |
|
| 504 |
.content__image .text__link { |
| 505 |
grid-row: 2; |
| 506 |
padding-top: 0.55556vw; |
| 507 |
} |
| 508 |
|
| 509 |
.content__image .text__desc { |
| 510 |
color: var(--wp--preset--color--white); |
| 511 |
max-width: 37vw; |
| 512 |
grid-row: 3; |
| 513 |
} |
| 514 |
|
| 515 |
.light .content__image .text__desc { |
| 516 |
color: var(--wp--preset--color--white); |
| 517 |
} |
| 518 |
|
| 519 |
.light .heading__details { |
| 520 |
color: var(--wp--preset--color--white); |
| 521 |
} |
| 522 |
|
| 523 |
@media screen and (max-width: 53em) { |
| 524 |
|
| 525 |
.content__image .text__intro { |
| 526 |
max-width: 74vw; |
| 527 |
padding-top: 40vw; |
| 528 |
font-size: 4vw; |
| 529 |
line-height: 4.6vw; |
| 530 |
} |
| 531 |
|
| 532 |
.welcome__home .text__title { |
| 533 |
letter-spacing: -5px; |
| 534 |
} |
| 535 |
|
| 536 |
.welcome__page.content__page { |
| 537 |
height: calc((var(--imgRatio) * 100vw) + 30vw); |
| 538 |
} |
| 539 |
|
| 540 |
.welcome__page .text__title { |
| 541 |
font-size: 17vw; |
| 542 |
line-height: 15vw; |
| 543 |
} |
| 544 |
|
| 545 |
.content__page { |
| 546 |
--imgRatio: 2688 / 896; |
| 547 |
} |
| 548 |
|
| 549 |
.heading__details.size__small { |
| 550 |
letter-spacing: -1px; |
| 551 |
font-size: 5vw; |
| 552 |
} |
| 553 |
|
| 554 |
.heading__details.size__medium { |
| 555 |
letter-spacing: -1px; |
| 556 |
/*font-size: 3.5vw;*/ |
| 557 |
} |
| 558 |
|
| 559 |
.heading__details.size__large { |
| 560 |
font-size: 10vw; |
| 561 |
line-height: 9vw; |
| 562 |
} |
| 563 |
|
| 564 |
.content__image .grid__right { |
| 565 |
grid-column: 1/12; |
| 566 |
} |
| 567 |
|
| 568 |
.project { |
| 569 |
padding: 1rem 3rem; |
| 570 |
text-align: center; |
| 571 |
} |
| 572 |
|
| 573 |
.text__left { |
| 574 |
text-align: center; |
| 575 |
} |
| 576 |
|
| 577 |
.content__inner span.subsize__medium, |
| 578 |
.content__in span.subsize__medium { |
| 579 |
font-size: inherit; |
| 580 |
} |
| 581 |
|
| 582 |
.heading__details.size__large { |
| 583 |
letter-spacing: -1px; |
| 584 |
} |
| 585 |
|
| 586 |
.content__text { |
| 587 |
grid-template-columns: repeat(2, 1fr); |
| 588 |
margin: 0 16vw; |
| 589 |
} |
| 590 |
|
| 591 |
.content__text.content__info { |
| 592 |
margin: 8vw 16vw; |
| 593 |
} |
| 594 |
|
| 595 |
} |
| 596 |
|
| 597 |
@media screen and (min-width: 53em) { |
| 598 |
|
| 599 |
.project--intro { |
| 600 |
grid-template-columns: auto 1fr; |
| 601 |
grid-template-areas: |
| 602 |
"label-name name" |
| 603 |
"label-date date" |
| 604 |
"title title" |
| 605 |
"label-mission mission"; |
| 606 |
} |
| 607 |
|
| 608 |
.project--details { |
| 609 |
grid-template-areas: "label-default paragraph"; |
| 610 |
grid-template-columns: auto auto; |
| 611 |
} |
| 612 |
|
| 613 |
.project__label { |
| 614 |
text-align: right; |
| 615 |
} |
| 616 |
|
| 617 |
.project__mission { |
| 618 |
display: grid; |
| 619 |
grid-template-columns: 1fr 1fr; |
| 620 |
grid-template-rows: auto auto; |
| 621 |
grid-template-areas: "p1 ..." "... p2"; |
| 622 |
column-gap: 2rem; |
| 623 |
} |
| 624 |
|
| 625 |
.content__inner span.subsize__small, |
| 626 |
.content__inner span, |
| 627 |
.content__in span.subsize__small, |
| 628 |
.content__in span { |
| 629 |
font-size: 1.2vw; |
| 630 |
} |
| 631 |
|
| 632 |
.heading__details.size__small { |
| 633 |
letter-spacing: -1px; |
| 634 |
font-size: 2.5vw; |
| 635 |
} |
| 636 |
|
| 637 |
.heading__details.size__medium { |
| 638 |
letter-spacing: -1px; |
| 639 |
font-size: 3.5vw; |
| 640 |
} |
| 641 |
|
| 642 |
.heading__details.size__large { |
| 643 |
letter-spacing: -4px; |
| 644 |
font-size: 10vw; |
| 645 |
line-height: 9vw; |
| 646 |
} |
| 647 |
|
| 648 |
.content__image .grid__right { |
| 649 |
grid-column: 7/13; |
| 650 |
} |
| 651 |
|
| 652 |
.project { |
| 653 |
padding: 1rem; |
| 654 |
} |
| 655 |
|
| 656 |
.text__left { |
| 657 |
text-align: left; |
| 658 |
} |
| 659 |
|
| 660 |
.content__inner span.subsize__medium, |
| 661 |
.content__in span.subsize__medium { |
| 662 |
line-height: 1.6vw; |
| 663 |
} |
| 664 |
|
| 665 |
.heading__details.size__large { |
| 666 |
letter-spacing: -4px; |
| 667 |
} |
| 668 |
|
| 669 |
.content__text { |
| 670 |
grid-template-columns: repeat(12, 1fr); |
| 671 |
margin: 0 8vw; |
| 672 |
} |
| 673 |
|
| 674 |
.content__client { |
| 675 |
grid-column: 1/3; |
| 676 |
} |
| 677 |
|
| 678 |
.content__services { |
| 679 |
grid-column: 3/5; |
| 680 |
} |
| 681 |
|
| 682 |
.content__category { |
| 683 |
grid-column: 5/7; |
| 684 |
} |
| 685 |
|
| 686 |
.contant__date { |
| 687 |
grid-column: 7/9; |
| 688 |
} |
| 689 |
|
| 690 |
} |
| 691 |
|
| 692 |
/*---------------------------- |
| 693 |
.-- Tooltip |
| 694 |
-----------------------------*/ |
| 695 |
|
| 696 |
.image-tooltip:hover .tool-tip { |
| 697 |
display: block; |
| 698 |
-webkit-transition: all 0.3s; |
| 699 |
-moz-transition: all 0.3s; |
| 700 |
-ms-transition: all 0.3s; |
| 701 |
-o-transition: all 0.3s; |
| 702 |
transition: all 0.3s; |
| 703 |
} |
| 704 |
|
| 705 |
.tool-tip { |
| 706 |
display: none; |
| 707 |
margin-top: 20px; |
| 708 |
padding: 10px; |
| 709 |
min-width: 100%; |
| 710 |
position: fixed; |
| 711 |
z-index: 1000; |
| 712 |
} |
| 713 |
|
| 714 |
.tool-tip span { |
| 715 |
position: relative; |
| 716 |
left: -10px; |
| 717 |
border-radius: 4px; |
| 718 |
width: 100%; |
| 719 |
height: 100%; |
| 720 |
padding: 10px; |
| 721 |
} |
| 722 |
|
| 723 |
.tooltip--circle span { |
| 724 |
position: absolute; |
| 725 |
top: 50%; |
| 726 |
background: transparent !important; |
| 727 |
left: 50%; |
| 728 |
text-align: center; |
| 729 |
transform: translate(-50%, -50%); |
| 730 |
height: auto !important; |
| 731 |
} |
| 732 |
|
| 733 |
.tool-tip.tooltip--circle { |
| 734 |
min-width: 128px; |
| 735 |
min-height: 128px; |
| 736 |
border-radius: 300%; |
| 737 |
background: #000; |
| 738 |
color: #fff; |
| 739 |
margin-top: -64px; |
| 740 |
margin-left: -64px; |
| 741 |
cursor: none; |
| 742 |
} |
| 743 |
|
| 744 |
.image-tooltip { |
| 745 |
transition: opacity 0.25s ease-in-out; |
| 746 |
} |
| 747 |
|
| 748 |
.project-gallery:hover .image-tooltip { |
| 749 |
opacity: 0.25; |
| 750 |
} |
| 751 |
|
| 752 |
.project-gallery:hover .image-tooltip:hover { |
| 753 |
opacity: 1; |
| 754 |
} |
| 755 |
|
| 756 |
/*---------------------------- |
| 757 |
.-- Marquee |
| 758 |
-----------------------------*/ |
| 759 |
|
| 760 |
.marquee__container { |
| 761 |
--marquee-width: 100vw; |
| 762 |
--offset: 20vw; |
| 763 |
--move-initial: calc(-25% + var(--offset)); |
| 764 |
--move-final: calc(-50% + var(--offset)); |
| 765 |
--item-font-size: 15vw; |
| 766 |
height: 100%; |
| 767 |
padding: 150px 0; |
| 768 |
} |
| 769 |
.marquee { |
| 770 |
/*position: absolute; |
| 771 |
top: 0; |
| 772 |
left: 0;*/ |
| 773 |
width: var(--marquee-width); |
| 774 |
overflow: visible; |
| 775 |
pointer-events: none; |
| 776 |
} |
| 777 |
|
| 778 |
.marquee__inner { |
| 779 |
width: fit-content; |
| 780 |
display: flex; |
| 781 |
position: relative; |
| 782 |
transform: translate3d(var(--move-initial), 0, 0); |
| 783 |
animation: marquee 20s linear infinite; |
| 784 |
transition: opacity 0.1s; |
| 785 |
} |
| 786 |
|
| 787 |
.marquee__inner { |
| 788 |
animation-play-state: running; |
| 789 |
opacity: 1; |
| 790 |
transition-duration: 0.6s; |
| 791 |
} |
| 792 |
|
| 793 |
.marquee span { |
| 794 |
text-align: center; |
| 795 |
white-space: nowrap; |
| 796 |
font-size: 10vw; |
| 797 |
padding: 0 1vw; |
| 798 |
line-height: 1.15; |
| 799 |
letter-spacing: -5px; |
| 800 |
text-shadow: 0 0 10px rgba(0, 0, 0, 0.2) |
| 801 |
} |
| 802 |
|
| 803 |
.light .marquee span { |
| 804 |
color: var(--wp--preset--color--white); |
| 805 |
} |
| 806 |
|
| 807 |
.dark .marquee span { |
| 808 |
color: var(--wp--preset--color--black); |
| 809 |
} |
| 810 |
|
| 811 |
@keyframes marquee { |
| 812 |
0% { |
| 813 |
transform: translate3d(var(--move-initial), 0, 0); |
| 814 |
} |
| 815 |
|
| 816 |
100% { |
| 817 |
transform: translate3d(var(--move-final), 0, 0); |
| 818 |
} |
| 819 |
} |
| 820 |
|
| 821 |
/*---------------------------- |
| 822 |
.-- Parallax Image |
| 823 |
-----------------------------*/ |
| 824 |
|
| 825 |
.header-title { |
| 826 |
width: 100%; |
| 827 |
min-height: 85vh; |
| 828 |
display: flex; |
| 829 |
align-items: self-end; |
| 830 |
} |
| 831 |
|
| 832 |
.header-title h1 { |
| 833 |
padding: 0 125px; |
| 834 |
font-weight: 600; |
| 835 |
} |
| 836 |
|
| 837 |
.header-title h1.small{ |
| 838 |
line-height: 4vw; |
| 839 |
letter-spacing: -3px; |
| 840 |
} |
| 841 |
|
| 842 |
.header-title h1.large{ |
| 843 |
font-size: 9vw; |
| 844 |
line-height: 10vw; |
| 845 |
letter-spacing: -5px; |
| 846 |
} |
| 847 |
.header-title h1.light { |
| 848 |
font-size: 8vw; |
| 849 |
text-transform: uppercase; |
| 850 |
letter-spacing: 5px; |
| 851 |
font-style: italic; |
| 852 |
font-weight: 200; |
| 853 |
} |
| 854 |
|
| 855 |
.header-title h1 span { |
| 856 |
font-size: 1.3vw; |
| 857 |
letter-spacing: 1px; |
| 858 |
display: block; |
| 859 |
font-weight: 400; |
| 860 |
text-transform: uppercase; |
| 861 |
|
| 862 |
} |
| 863 |
|
| 864 |
h1.absolute-h { |
| 865 |
position: absolute; |
| 866 |
top: 50%; |
| 867 |
text-align: center; |
| 868 |
left: 50%; |
| 869 |
transform: translate(-50%, -50%); |
| 870 |
font-weight: 600; |
| 871 |
font-size: 6vw; |
| 872 |
line-height: 6vw; |
| 873 |
} |
| 874 |
|
| 875 |
.parallax { |
| 876 |
height: 100%; |
| 877 |
width: 100%; |
| 878 |
} |
| 879 |
|
| 880 |
.bg { |
| 881 |
min-height: 100vh; |
| 882 |
width: 100%; |
| 883 |
background-attachment: fixed; |
| 884 |
background-repeat: no-repeat; |
| 885 |
background-position: center; |
| 886 |
z-index: 20; |
| 887 |
position: relative; |
| 888 |
padding: 10vw 20vw; |
| 889 |
} |
| 890 |
|
| 891 |
.bg.contain--{ |
| 892 |
background-size: contain; |
| 893 |
} |
| 894 |
|
| 895 |
.bg.cover--{ |
| 896 |
background-size: cover; |
| 897 |
} |
| 898 |
|
| 899 |
.bg__img { |
| 900 |
margin: auto; |
| 901 |
display: block; |
| 902 |
margin: 20vw auto; |
| 903 |
width: 100%; |
| 904 |
} |
| 905 |
|
| 906 |
.light .header-title h1, |
| 907 |
.light h1.absolute-h { |
| 908 |
color: var(--wp--preset--color--white); |
| 909 |
} |
| 910 |
|
| 911 |
.dark .header-title h1, |
| 912 |
.dark h1.absolute-h{ |
| 913 |
color: var(--wp--preset--color--black); |
| 914 |
} |
| 915 |
|
| 916 |
@media screen and (min-width: 53em) { |
| 917 |
|
| 918 |
.h1.absolute-h{ |
| 919 |
letter-spacing: -5px; |
| 920 |
} |
| 921 |
|
| 922 |
} |
| 923 |
|
| 924 |
/*---------------------------- |
| 925 |
.-- Contact Page |
| 926 |
-----------------------------*/ |
| 927 |
|
| 928 |
.contact__container { |
| 929 |
overflow: hidden; |
| 930 |
} |
| 931 |
|
| 932 |
.map__image { |
| 933 |
height: 50vh; |
| 934 |
filter: invert(1); |
| 935 |
} |
| 936 |
|
| 937 |
.contact__page { |
| 938 |
display: flex; |
| 939 |
grid-template-rows: 100vh 1fr auto; |
| 940 |
grid-template-columns: 100%; |
| 941 |
width: 100vw; |
| 942 |
height: min-content; |
| 943 |
min-height: 100vh; |
| 944 |
padding: 0; |
| 945 |
position: relative; |
| 946 |
} |
| 947 |
.contact__page .content__inner { |
| 948 |
align-self: start; |
| 949 |
justify-self: start; |
| 950 |
} |
| 951 |
|
| 952 |
.contact__minimal { |
| 953 |
grid-column-gap: 2.3vw; |
| 954 |
grid-template-columns: repeat(12, 1fr); |
| 955 |
display: grid; |
| 956 |
align-items: flex-start; |
| 957 |
} |
| 958 |
|
| 959 |
.contact__default { |
| 960 |
grid-column-gap: 2.3vw; |
| 961 |
grid-template-columns: repeat(12, 1fr); |
| 962 |
display: grid; |
| 963 |
align-items: flex-start; |
| 964 |
margin: 9vw; |
| 965 |
} |
| 966 |
|
| 967 |
.contact__form { |
| 968 |
grid-column-gap: 2.3vw; |
| 969 |
grid-template-columns: repeat(12, 1fr); |
| 970 |
display: grid; |
| 971 |
align-items: flex-end; |
| 972 |
margin: 15vw 2.5vw; |
| 973 |
} |
| 974 |
|
| 975 |
.contact__page .contact__form p { |
| 976 |
margin: 24px 0; |
| 977 |
} |
| 978 |
|
| 979 |
.form__inner_third { |
| 980 |
grid-column: 9/12; |
| 981 |
} |
| 982 |
|
| 983 |
.text__inner { |
| 984 |
grid-column: 2/7; |
| 985 |
padding-bottom: 50px; |
| 986 |
} |
| 987 |
|
| 988 |
.form__inner_second h1 { |
| 989 |
position: relative; |
| 990 |
letter-spacing: -1px; |
| 991 |
font-weight: 600; |
| 992 |
} |
| 993 |
|
| 994 |
.contact__image { |
| 995 |
width: 25vw; |
| 996 |
height: 40vw; |
| 997 |
position: absolute; |
| 998 |
top: 50%; |
| 999 |
left: 50%; |
| 1000 |
transform: translate(-5%, -50%); |
| 1001 |
} |
| 1002 |
|
| 1003 |
.contact__image_form { |
| 1004 |
width: 25vw; |
| 1005 |
height: 40vw; |
| 1006 |
position: absolute; |
| 1007 |
top: 12%; |
| 1008 |
} |
| 1009 |
|
| 1010 |
.contact__default .text__inner { |
| 1011 |
grid-column: 2/5; |
| 1012 |
padding-bottom: 50px; |
| 1013 |
} |
| 1014 |
|
| 1015 |
.marquee__contact.marquee__container { |
| 1016 |
padding: 0 !important; |
| 1017 |
} |
| 1018 |
|
| 1019 |
.contact__page p { |
| 1020 |
font-size: 17px; |
| 1021 |
font-weight: 300; |
| 1022 |
line-height: 27px; |
| 1023 |
margin: 0 0 24px 0; |
| 1024 |
} |
| 1025 |
|
| 1026 |
.contact__page h2 { |
| 1027 |
letter-spacing: -1px; |
| 1028 |
font-weight: 700; |
| 1029 |
font-size: 36px; |
| 1030 |
line-height: 48px; |
| 1031 |
} |
| 1032 |
|
| 1033 |
.contact__page h5 { |
| 1034 |
text-transform: inherit; |
| 1035 |
margin-bottom: 13px; |
| 1036 |
} |
| 1037 |
|
| 1038 |
.contact__page .text__link { |
| 1039 |
text-shadow: none; |
| 1040 |
} |
| 1041 |
|
| 1042 |
@media screen and (max-width: 53em) { |
| 1043 |
|
| 1044 |
.text__inner_second { |
| 1045 |
grid-column: 2/10; |
| 1046 |
} |
| 1047 |
|
| 1048 |
.text__inner_third { |
| 1049 |
grid-column: 2/10; |
| 1050 |
} |
| 1051 |
|
| 1052 |
.text__inner_last { |
| 1053 |
padding-top: 50px; |
| 1054 |
grid-column: 2/10; |
| 1055 |
} |
| 1056 |
|
| 1057 |
.form__inner { |
| 1058 |
grid-column: 4/10; |
| 1059 |
} |
| 1060 |
|
| 1061 |
.form__inner_second { |
| 1062 |
grid-column: 4/10; |
| 1063 |
text-align: center; |
| 1064 |
} |
| 1065 |
|
| 1066 |
.text__inner.inner_marquee{ |
| 1067 |
padding-top: 100px; |
| 1068 |
} |
| 1069 |
|
| 1070 |
.contact__minimal { |
| 1071 |
margin: 15vw 15vw; |
| 1072 |
} |
| 1073 |
|
| 1074 |
.contact__minimal .text__inner, |
| 1075 |
.contact__minimal .text__inner_second { |
| 1076 |
grid-column: 2/12; |
| 1077 |
} |
| 1078 |
|
| 1079 |
} |
| 1080 |
|
| 1081 |
@media screen and (min-width: 53em) { |
| 1082 |
|
| 1083 |
.text__inner_second { |
| 1084 |
grid-column: 2/4; |
| 1085 |
} |
| 1086 |
|
| 1087 |
.text__inner_third { |
| 1088 |
grid-column: 4/6; |
| 1089 |
} |
| 1090 |
|
| 1091 |
.text__inner_last { |
| 1092 |
padding-top: 50px; |
| 1093 |
grid-column: 11/13; |
| 1094 |
} |
| 1095 |
|
| 1096 |
.form__inner { |
| 1097 |
grid-column: 1/3; |
| 1098 |
} |
| 1099 |
|
| 1100 |
.form__inner_second { |
| 1101 |
grid-column: 4/9; |
| 1102 |
} |
| 1103 |
|
| 1104 |
.form__inner_second h1 { |
| 1105 |
left: -15vw; |
| 1106 |
padding-bottom: 150px; |
| 1107 |
} |
| 1108 |
|
| 1109 |
.contact__minimal { |
| 1110 |
margin: 15vw 2.5vw; |
| 1111 |
} |
| 1112 |
|
| 1113 |
} |
| 1114 |
|
| 1115 |
|
| 1116 |
|
| 1117 |
.dark .contact__page .text__link, |
| 1118 |
.dark .contact__page .text__link a, |
| 1119 |
.dark .contact__page .content__inner, |
| 1120 |
.dark .marquee span { |
| 1121 |
color: var(--wp--preset--color--black); |
| 1122 |
} |
| 1123 |
|
| 1124 |
.light .contact__page .text__link, |
| 1125 |
.light .contact__page .text__link a, |
| 1126 |
.light .contact__page .content__inner, |
| 1127 |
.light .marquee span { |
| 1128 |
color: var(--wp--preset--color--white); |
| 1129 |
} |
| 1130 |
|
| 1131 |
/*---------------------------- |
| 1132 |
.-- About Page |
| 1133 |
-----------------------------*/ |
| 1134 |
|
| 1135 |
.about__container { |
| 1136 |
padding: 14.5vw 8.5vw; |
| 1137 |
width: 100vw; |
| 1138 |
height: 100%; |
| 1139 |
} |
| 1140 |
|
| 1141 |
.about__image { |
| 1142 |
position: fixed; |
| 1143 |
right: 0; |
| 1144 |
top: 0; |
| 1145 |
width: 50vw; |
| 1146 |
height: 100vh; |
| 1147 |
background-position: center center; |
| 1148 |
background-size: cover; |
| 1149 |
} |
| 1150 |
|
| 1151 |
.about__split { |
| 1152 |
width: 30vw; |
| 1153 |
} |
| 1154 |
|
| 1155 |
.text--vertical { |
| 1156 |
position: fixed; |
| 1157 |
-webkit-writing-mode: vertical-rl; |
| 1158 |
writing-mode: vertical-rl; |
| 1159 |
font-size: 127px; |
| 1160 |
line-height: 70px; |
| 1161 |
margin-bottom: 25px; |
| 1162 |
top: 7vw; |
| 1163 |
left: 45.5%; |
| 1164 |
font-weight: 700; |
| 1165 |
opacity: 0.1; |
| 1166 |
z-index: 10; |
| 1167 |
} |
| 1168 |
|
| 1169 |
.about__split h1 { |
| 1170 |
padding-bottom: 150px; |
| 1171 |
letter-spacing: -1px; |
| 1172 |
font-weight: 600; |
| 1173 |
} |
| 1174 |
|
| 1175 |
.about__split h1:after { |
| 1176 |
position: absolute; |
| 1177 |
display: block; |
| 1178 |
width: 5%; |
| 1179 |
background: #000; |
| 1180 |
height: 3px; |
| 1181 |
content: ""; |
| 1182 |
margin: 20px 0 0; |
| 1183 |
} |
| 1184 |
|
| 1185 |
.about__split h5 { |
| 1186 |
line-height: 1.6em; |
| 1187 |
font-weight: 200; |
| 1188 |
padding: 15px 0; |
| 1189 |
text-transform: inherit; |
| 1190 |
font-size: 21px; |
| 1191 |
} |
| 1192 |
|
| 1193 |
ul.split--social-icons { |
| 1194 |
list-style-type: none; |
| 1195 |
padding-inline-start: 0; |
| 1196 |
margin-top: 100px; |
| 1197 |
} |
| 1198 |
|
| 1199 |
.about__minimal h1 { |
| 1200 |
font-weight: 600; |
| 1201 |
letter-spacing: -10px; |
| 1202 |
font-size: 10vw; |
| 1203 |
margin-bottom: 0; |
| 1204 |
} |
| 1205 |
|
| 1206 |
.about__minimal .about__text { |
| 1207 |
max-width: 680px; |
| 1208 |
} |
| 1209 |
|
| 1210 |
.about__minimal.image { |
| 1211 |
width: 30vw; |
| 1212 |
height: 100vh; |
| 1213 |
position: fixed; |
| 1214 |
top: 0; |
| 1215 |
right: 0; |
| 1216 |
border-top-right-radius: 50px; |
| 1217 |
border-bottom-right-radius: 50px; |
| 1218 |
background-size: cover; |
| 1219 |
} |
| 1220 |
|
| 1221 |
.about__minimal ul.split--social-icons li:first-child { |
| 1222 |
margin-bottom: 25px; |
| 1223 |
} |
| 1224 |
|
| 1225 |
@media screen and (max-width: 53em) { |
| 1226 |
|
| 1227 |
.about__minimal { |
| 1228 |
width: 50vw; |
| 1229 |
margin-left: 10vw; |
| 1230 |
} |
| 1231 |
|
| 1232 |
.about__minimal h1 { |
| 1233 |
letter-spacing: -5px; |
| 1234 |
} |
| 1235 |
|
| 1236 |
.about__minimal.image { |
| 1237 |
opacity:0; |
| 1238 |
} |
| 1239 |
|
| 1240 |
} |
| 1241 |
|
| 1242 |
/*---------------------------- |
| 1243 |
.-- Text Effect |
| 1244 |
-----------------------------*/ |
| 1245 |
|
| 1246 |
.text--effect--container{ |
| 1247 |
overflow: hidden; |
| 1248 |
} |
| 1249 |
|
| 1250 |
#text-effect__canvas { |
| 1251 |
display: block; |
| 1252 |
overflow: hidden; |
| 1253 |
cursor: pointer; |
| 1254 |
touch-action: none; |
| 1255 |
} |
| 1256 |
|
| 1257 |
|
| 1258 |
/*---------------------------- |
| 1259 |
.-- Compare Images |
| 1260 |
-----------------------------*/ |
| 1261 |
|
| 1262 |
.compare-images__comparisonSection { |
| 1263 |
position: relative; |
| 1264 |
padding-bottom: 56.25%; |
| 1265 |
} |
| 1266 |
|
| 1267 |
.compare-images__comparisonImage { |
| 1268 |
width: 100%; |
| 1269 |
height: 100%; |
| 1270 |
} |
| 1271 |
|
| 1272 |
.compare-images__afterImage { |
| 1273 |
position: absolute; |
| 1274 |
overflow: hidden; |
| 1275 |
top: 0; |
| 1276 |
transform: translate(100%, 0px); |
| 1277 |
} |
| 1278 |
|
| 1279 |
.compare-images__afterImage img { |
| 1280 |
transform: translate(-100%, 0px); |
| 1281 |
} |
| 1282 |
|
| 1283 |
.compare-images__comparisonImage img { |
| 1284 |
width: 100%; |
| 1285 |
height: 100%; |
| 1286 |
position: absolute; |
| 1287 |
top: 0; |
| 1288 |
} |
| 1289 |
|