body.index { // === Hero === // .hero { position: relative; max-width: 1200px; margin: 0px auto 60px auto; } .hero h1 { font-size: 160px; font-weight: bold; line-height: 240px; position: relative; z-index: 1; animation: rotate-in .2s forwards; animation-delay: .4s; letter-spacing: -.02em; opacity: 0; color: white; text-shadow: -7px 14px 16px rgba(0,0,0,.02),7px 14px 16px rgba(0,0,0,.02),0px 12px 60px rgba(0,0,0,.08),0px 4px 10px rgba(0,0,0,.14); } .hero .hero-more { font-size: 12px; font-weight: bold; line-height: 36px; position: absolute; z-index: 2; bottom: 0px; left: 50%; display: block; width: 320px; height: 36px; margin-left: -160px; transition: box-shadow .2s; text-align: center; letter-spacing: 2px; text-transform: uppercase; color: #3e3e3e; background-color: #ffffff; box-shadow: -10px 10px 20px rgba(0,0,0,.03), 10px 10px 20px rgba(0,0,0,.03), 0px 8px 30px rgba(0,0,0,.08), 0px 2px 5px rgba(0,0,0,.10); @include monospace(); &:hover { transition: box-shadow .2s; box-shadow: -8px 10px 14px rgba(0,0,0,.04), 8px 10px 14px rgba(0,0,0,.04), 0px 20px 40px rgba(0,0,0,.16), 0px 6px 6px rgba(0,0,0,.14); } } @media (min-width: 800px) { .hero h1 { text-align: center; } } // === Work === // .work { position: relative; } .work-item { position: relative; z-index: 1; width: 100%; @include aspect-ratio(1,1); &:hover img { z-index: 99; } } .work-item .inner { display: block; margin: 0px; } .work-item img { display: block; width: 100%; height: 100%; } .work-item h2 { font-size: 36px; font-weight: bold; line-height: 36px; position: absolute; top: 20px; left: 20px; height: 40px; padding: 8px 6px; letter-spacing: 0px; text-transform: uppercase; color: #000000; background-color: #ffffff; } .work-item p { font-size: 16px; line-height: 18px; position: absolute; top: 70px; left: 20px; max-width: 80%; max-width: 320px; padding: 4px 6px; letter-spacing: .08em; text-transform: uppercase; color: #666666; background-color: #ffffff; @include monospace(); } .work-more { font-size: 12px; font-weight: bold; line-height: 36px; position: absolute; z-index: 9; bottom: -18px; left: 50%; display: block; width: 320px; height: 36px; margin-left: -160px; transition: box-shadow .3s; text-align: center; letter-spacing: 2px; text-transform: uppercase; color: #3e3e3e; background-color: #ffffff; box-shadow: -10px 10px 20px rgba(0,0,0,.03), 10px 10px 20px rgba(0,0,0,.03), 0px 8px 30px rgba(0,0,0,.08), 0px 2px 5px rgba(0,0,0,.06); @include monospace(); &:hover { transition: box-shadow .3s; box-shadow: -8px 10px 14px rgba(0,0,0,.08), 8px 10px 14px rgba(0,0,0,.08), 0px 12px 40px rgba(0,0,0,.20), 0px 6px 6px rgba(0,0,0,.18); } } @media (min-width: 800px) { .work { zoom: 1; max-width: 1200px; margin: 0 auto; &::before, &::after { display: table; content: ""; } &::after { clear: both; } } .work .work-item { float: left; width: 50%; } } // == About == // .about { padding: 0px 0 120px 0; // border-top: solid #f5f5f5 8px; } .about .portrait img { width: 100%; margin-bottom: 80px; } @media (min-width: 800px) { .about { overflow: auto; zoom: 1; max-width: 1200px; margin: 0 auto; &::before, &::after { display: table; content: ""; } &::after { clear: both; } } } .about .row { padding: 0 160px; } .about h2 { font-size: 38px; line-height: 44px; margin-bottom: 30px; } .about .bio { margin-bottom: 30px; column-count: 2; column-gap: 60px; } .about .bio p { font-size: 16px; line-height: 32px; padding-bottom: 12px; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; @include monospace(); } .about .bio p a { font-weight: bold; } .about-contact { font-size: 16px; line-height: 32px; @include monospace(); &:hover { font-weight: bold; } } .about-contact span { font-weight: bold; } // Insta Feed .insta-feed { overflow: hidden; margin-top: 40px; background-color: #ffffff; } .insta-feed .insta-item { display: block; float: left; overflow: hidden; width: 16.6666667%; // padding: 6px; transition: opacity .2s; &:hover { transition: opacity .2s; opacity: .7; } } .insta-feed .insta-item img { overflow: hidden; width: 100%; } @media (min-width: 800px) { .insta-feed { overflow: auto; zoom: 1; // max-width: 1212px; // margin: 0 auto; &::before, &::after { display: table; content: ""; } &::after { clear: both; } } } } @keyframes rotate-in { 0% { -webkit-transform: translateZ(-20px) rotateX(90deg); -moz-transform: translateZ(-20px) rotateX(90deg); -ms-transform: translateZ(-20px) rotateX(90deg); -o-transform: translateZ(-20px) rotateX(90deg); transform: translateZ(-20px) rotateX(90deg); opacity: 0; } 60% { -webkit-transform: translateZ(-20px) rotateX(-10deg); -moz-transform: translateZ(-20px) rotateX(-10deg); -ms-transform: translateZ(-20px) rotateX(-10deg); -o-transform: translateZ(-20px) rotateX(-10deg); transform: translateZ(-20px) rotateX(-10deg); opacity: 1; } 100% { -webkit-transform: translateZ(-20px) rotateX(0); -moz-transform: translateZ(-20px) rotateX(0); -ms-transform: translateZ(-20px) rotateX(0); -o-transform: translateZ(-20px) rotateX(0); transform: translateZ(-20px) rotateX(0); opacity: 1; } }