body.index { // === Hero === // .hero { padding: 64px 24px; } .hero h1 { font-size: 52px; font-weight: bold; line-height: 56px; margin-bottom: 34px; animation: rotate-in .2s forwards; animation-delay: .4s; letter-spacing: .65px; opacity: 0; color: #1e1e1e; } .hero .hero-more { font-size: 12px; display: block; width: 100%; text-align: center; letter-spacing: 2px; color: #3e3e3e; @include monospace(); } @media (min-width: 800px) { .hero h1 { text-align: center; } } // === Work === // .work { padding-bottom: 80px; } .work .work-item { position: relative; width: 100%; background-color: #efefef; &:hover img { opacity: .7; } &:nth-child(2n) { background-color: #fefefe; } } .work-item img { display: block; width: 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(); } @media (min-width: 800px) { .work { overflow: auto; 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: 40px 0; border-top: solid #f5f5f5 8px; } @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 { display: flex; } .about .photo { flex: 1 1 30%; padding-right: 60px; } .about .photo img { width: 100%; } .about .bio { flex: 1 1 70%; -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; -moz-column-gap: 60px; -webkit-column-gap: 60px; column-gap: 60px; } .about .bio p { font-size: 14px; line-height: 24px; padding-bottom: 12px; text-align: justify; @include monospace(); } // == Footer == // footer { padding-bottom: 44px; border-bottom: solid #f5f5f5 8px; } footer h3 { font-size: 36px; font-weight: bold; line-height: 56px; padding: 36px 24px 0px 24px; letter-spacing: .45px; color: #1e1e1e; } footer .more { font-size: 12px; padding: 0 24px; letter-spacing: 2px; text-transform: uppercase; color: #3e3e3e; @include monospace(); } } @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; } }