/* TABLE OF CONTENTS

SECTION 1: GENERAL
SECTION 2: FONTS
SECTION 3: CURSOR
SECTION 4: INTRO
SECTION 5: HEADER
SECTION 6: NAVIGATION
SECTION 7: CONTENT SLIDER
SECTION 8: PROJECTS
SECTION 9: HOME
SECTION 10: ABOUT
SECTION 11: SKILLS
SECTION 12: ABOUT CONTACT
SECTION 13: FOOTER
SECTION 14: FADE IN PAGE
SECTION 15: MEDIA

*/

/* SECTION 1: GENERAL */

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background: #000;
    font-family: 'Morganite', sans-serif;
    color: white;
    cursor: none;
    overflow: hidden;
}

a, body, div, h1, h2, html, p, section, span, video {
    margin: 0;
    padding: 0;
    border: 0;
}

ul {
    list-style: none;
    color: white;
}

a {
    text-decoration: none;
}

.staticOverlay {
    position: fixed;
    height: 100%;
    width: 100%;
    background-image: url(../img/static.gif);
    opacity: .025;
    z-index: 1000;
    pointer-events: none;
}

/* SECTION 2: FONTS */

@font-face {
    font-family: "Morganite";
    src: url(font/Morganite-Thin.ttf);
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Morganite";
    src: url(font/Morganite-Medium.ttf);
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Morganite";
    src: url(font/Morganite-Bold.ttf);
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Morganite";
    src: url(font/Morganite-Black.ttf);
    font-weight: 900;
    font-style: normal;
}

/* SECTION 3: CURSOR */

.cursor {
    position: absolute;
    background-color: white;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    transition: 0.3s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform, 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity;
    user-select: none;
    pointer-events: none;
    z-index: 1000;
    transform: scale(1);
}

.cursor-follower {
    position: absolute;
    background-color: rgba(200,200,200,0.7);
    margin: 12px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    user-select: none;
    pointer-events: none;
    z-index: 1000;
    transform: translate(12px, 12px);
    transition: top .25s cubic-bezier(1,1.5,1,.75), left .25s cubic-bezier(1,1.5,1,.75);
    animation: cursorAnim3 .5s forwards;
}

.cursorHovered {
    position: absolute;
    margin: 12px;
    animation: cursorAnim2 .5s forwards;
}

@keyframes cursorAnim2 {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(.5);
    }
    100% {
        transform: scale(3);
    }
}

@keyframes cursorAnim3 {
    0% {
        transform: scale(3);
    }
    80% {
        transform: scale(.5);
    }
    100% {
        transform: scale(1);
    }
}

.cursorExpand {
    position: absolute;
    margin: 12px;
    animation: cursorAnim .5s forwards;
    border: 10px solid rgba(200,200,200);
}

@keyframes cursorAnim {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(3);
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* SECTION 4: INTRO */

.intro {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.topSquare {
    position: absolute;
    height: 50%;
    width: 100%;
    background: white;
    animation: topsquare 1s 1.75s ease forwards;
}

.bottomSquare {
    position: absolute;
    bottom: 0;
    height: 50%;
    width: 100%;
    background: white;
    animation: bottomsquare 1s 1.75s ease forwards;
}

.intro h1 {
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    color: black;
    font-size: 50vh;
}

.topSquare h1 {
    animation: topline 3s ease forwards;
}

.bottomSquare h1 {
    animation: bottomline 3s ease forwards;
}

@keyframes topline {
    0% {
        left: -50%;
    }
    40% {
        left: 50%;
    }
    60% {
        left: 50%;
    }
    100% {
        left: 50%;
    }
}

@keyframes bottomline {
    0% {
        left: 150%;
    }
    40% {
        left: 50%;
    }
    60% {
        left: 50%;
    }
    100% {
        left: 50%;
    }
}

@keyframes topsquare {
    0% {
        top: 0%;
    }
    100% {
        top: -50%;
    }
}

@keyframes bottomsquare {
    0% {
        bottom: 0%;
    }
    100% {
        bottom: -50%;
    }
}

/* SECTION 5: HEADER */

header {
    position: fixed;
    width: 100%;
    padding: 10px 10px;
    z-index: 500;
    overflow: hidden;
}

.logo {
    position: relative;
    float: left;
    overflow: hidden;
    height: 89.5px;
    border: solid white 2px;
    padding: 5px;
    bottom: -150px;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.logo a {
    position: relative;
    color: white;
    font-size: 2.3rem;
    font-weight: 400;
    letter-spacing: 10px;
}

.textTop {
    padding-left: 5px;
}

.textBottom {
    width: 129px;
    padding-left: 23px;
}

.headerSocials {
    position: relative;
    bottom: 0px;
    height: 100%;
    padding: 0;
    float: right;
    overflow: hidden;
}

.headerSocials a:nth-child(2){
    padding: 0 20px 0 15px;
}

.headerSocials img {
    position: relative;
    bottom: -150px;
    height: 30px;
    opacity: .5;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.headerSocials img:hover {
    text-shadow: 0px 0px 5px rgba(255,255,255,.75);
    opacity: 1;
    transform: scale(1.1);
}

/* SECTION 6: NAVIGATION */

.navArrowLeft {
    position: fixed;
    top: 50%;
    transform: translate(0,-50%);
    padding: 0 40px;
    left: -50%;
    float: left;
    opacity: 1;
    visibility: visible;
    transition: all .7s cubic-bezier(1,0,.25,1);
    z-index: 500;
}

.navArrowRight {
    position: fixed;
    top: 50%;
    transform: translate(0,-50%);
    padding: 0 40px;
    right: -50%;
    opacity: 1;
    visibility: visible;
    transition: all .7s cubic-bezier(1,0,.25,1);
    z-index: 500;
}

.arrowCircleLeft {
    position: relative;
    width: 47px;
    height: 47px;
    border: solid rgba(255,255,255,0.25) 2px;
    border-radius: 40px;
    top: 20%;
    left: 0%;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.arrowCircleRight {
    position: relative;
    width: 47px;
    height: 47px;
    border: solid rgba(255,255,255,0.25) 2px;
    border-radius: 40px;
    top: 20%;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.arrowCircleLeftHovered {
    position: relative;
    width: 47px;
    height: 47px;
    border: solid rgba(255,255,255,1) 2px;
    border-radius: 40px;
    top: 20%;
    margin-left: -10px;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.arrowCircleRightHovered {
    position: relative;
    width: 47px;
    height: 47px;
    border: solid rgba(255,255,255,1) 2px;
    border-radius: 40px;
    top: 20%;
    margin-right: -10px;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.arrow {
    position: absolute;
    height: 47px;
    width: 47px;
}

.arrowBodyLeft {
    position: absolute;
    top: 19.5px;
    width: 42px;
    height: 8px;
    left: 15px;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.arrowBodyRight {
    position: absolute;
    top: 19.5px;
    width: 42px;
    height: 8px;
    left: -15px;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.arrowBodyLeftHovered {
    position: absolute;
    top: 19.5px;
    width: 28px;
    height: 8px;
    left: 7px;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.arrowBodyRightHovered {
    position: absolute;
    top: 19.5px;
    width: 28px;
    height: 8px;
    left: 6px;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.arrowLine {
    position: relative;
    width: 100%;
    height: 1px;
    background: #fff;
    top: 1.5px;
    left: 0.5px;
}

.arrowHeadLeft {
    position: absolute;
    border-top: 4px solid transparent;
	border-right: 4px solid white;
	border-bottom: 4px solid transparent;
    top: -1.52px;
    left: -.5px;
}

.arrowHeadRight {
    position: absolute;
    border-top: 4px solid transparent;
	border-left: 4px solid white;
	border-bottom: 4px solid transparent;
    top: -1.52px;
    right: -2.5px;
}

/* SECTION 7: CONTENT */

#slideWrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 300%;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.projectsActive {
    transform: translate(0,0);
}

.homeActive {
    transform: translate(-33.33%,0);
}

.aboutActive {
    transform: translate(-66.66%,0);
}

.slideFS {
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slideFS::-webkit-scrollbar {
    display: none;
}

/* SECTION 8: PROJECTS */

#slider {
    position: relative;
    display: table;
    height: 150%;
    top: 50%;
    width: 70%;
    left: 50%;
    transform: translate(-50%,0%);
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.slide {
    position: relative;
    height: 33.33%;
    width: 100%;
}

.slide a {
    color: white;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: white;
}

#slider h1 {
    position: relative;
    transform: translate(0,-50%);
    font-size: 11rem;
    text-align: center;
    transition: all .3s cubic-bezier(1,0,.25,1);
}

#slider h1:hover {
    text-shadow: 0px 0px 10px rgba(255,255,255,.5);
    transform: translate(0,-50%) scale(1.15);
    color: white;
    transition: all .3s cubic-bezier(1,0,.25,1);
}

/* SECTION 9: HOME */

.home {
    position: relative;
    overflow: hidden;
}

.bigContainer {
    position: relative;
    height: calc(92% - 40px);
    margin-top: 40px;
    left: 181px;
    bottom: -100%;
    border-left: 2px solid white;
    overflow: hidden;
    transition: all.7s cubic-bezier(1,0,.25,1);
    z-index: 3;
}

.bigContainer h1 {
    position: absolute;
    height: 100%;
    left: -20%;
    font-size: 21vh;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: right;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: white;
    transition: all .7s .7s cubic-bezier(1,0,.25,1);
    z-index: 3;
}

.home img {
    position: absolute;
    left: 50%;
    top: -100%;
    transform: translate(-50%,0);
    height: 100%;
    filter: grayscale(100%);
    transition: all .7s cubic-bezier(1,0,.25,1);
    z-index: 2;
}

.titleContainer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 355px;
    transform: translate(-50%,-50%);
    padding-top: 55px;
    z-index: 3;
    overflow: hidden;
}

.titleContainer h1 {
    position: relative;
    font-size: 12rem;
    line-height: 10rem;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.titleContainer span {
    font-size: 3rem;
    padding-left: 20px;
}

.titleTop {
    left: -100%;
}

.titleBottom {
    right: -100%;
}

.square1 {
    position: absolute;
    height: 90%;
    width: 35%;
    top: -100%;
    left: 50%;
    background: white;
    z-index: 1;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

/* SECTION 10: ABOUT */

.bio {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.imgContainer {
    position: relative;
    float: left;
    height: 100%;
    width: 50%;
    overflow: hidden;
}

.imgContainer img {
    position: absolute;
    height: 100%;
    left: 50%;
    bottom: -100%;
    transform: translate(-50%,0);
    filter: grayscale(100%);
    z-index: 1;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.textContainer {
    position: absolute;
    width: 75%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.textContainer h1 {
    font-size: 5rem;
    display: none;
}

.decLine {
    position: absolute;
    top: 40px;
    margin-left: 25px;
    width: 80px;
    height: 1px;
    background: white;
    visibility: hidden;
}

.textContainer p {
    font-size: 2.3rem;
    text-align: justify;
}

.textContainer p span {
    font-size: 2.5rem;
    font-weight: 900;
    text-decoration: underline;
}

.textContainer p span:first-child {
    font-size: 3rem;
    font-weight: 900;
    text-decoration: none;
}

.scrollLine {
    position: absolute;
    top: 82.5%;
    left: 50%;
    width: 1px;
    height: 7%;
    background: white;
    z-index: 2;
}

.scroll {
    position: absolute;
    font-size: 1.75rem;
    top: 91%;
    left: 50%;
    transform: translate(-50%,0);
    z-index: 2;
    animation: scrollAnim 6s infinite ease;
}

@keyframes scrollAnim {
    0% {
        top: 91%;
    }
    5% {
        top: 92%;
    }
    7.5% {
        top: 91%;
    }
    10% {
        top: 91.5%;
    }
    15% {
        top: 91%;
    }
    100% {
        top: 91%;
    }
}

/* SECTION 11: SKILLS */

.expertise {
    position: relative;
    background: white;
    width: 100%;
    height: 1050px;
    color: black;
    top: -3%;
    transform: skewY(-2.5deg);
    z-index: 5;
}

.skills {
    position: relative;
    transform: skewY(2.5deg);
    padding: 40px 40px 0 40px;
}

.skills h1 {
    position: relative;
    text-align: center;
    font-size: 5rem;
    padding-bottom: 15px;
}

.underline {
    position: absolute;
    left: 50%;
    transform: translate(-50%,0);
    height: 1px;
    width: 80px;
    background: black;
}

.skillset {
    padding-top: 50px;
}

.skillbar {
    background-color: rgba(0, 0, 0, 0.15);
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
    width: 100%;
}

.title {
    position: absolute;
    top: -30px;
    line-height: 25px;
}

.count-bar {
    position: relative;
    background-color: black;
    height: 10px;
    transition: all 1.5s cubic-bezier(1,0,.25,1);
}

.count {
    color: white;
    font-size: 1.3rem;
    position: absolute;
    right: -20px;
    text-align: center;
    top: -28px;
}

.count span {
    background-color: black;
    border-radius: 20px;
    display: block;
    height: 20px;
    line-height: 20px;
    padding: 0 6px;
    position: relative;
}

.count span::after {
    border-top: 4px solid #ef3f3d;
}

.tools {
    position: relative;
    transform: skewY(2.5deg);
    padding: 0 40px 40px 40px;
}

.tools h1 {
    position: relative;
    text-align: center;
    font-size: 5rem;
    padding-bottom: 15px;
}

.toolItem {
    float: left;
    text-align: center;
    height: 50%;
    width: 50%;
    padding: 30px 0;
}

.toolItem h2 {
    padding: 10px 0;
}

.toolItem img {
    width: 48px;
}

/* SECTION 12: ABOUT CONTACT */

.aboutContact {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.aboutContact h1 {
    position: relative;
    text-align: center;
    font-size: 5rem;
    padding: 100px 0 15px 0;
}

.aboutContact .underline {
    background: white;
}

.inquiries {
    position: relative;
    text-align: center;
    letter-spacing: 2px;
    margin: 10px 40px;
    z-index: 2;
}

.inquiries a {
    color: white;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.inquiries h3 {
    font-size: 1.75rem;
    line-height: 5px;
    color: white;
}

.inquiries a:hover {
    letter-spacing: 4px;
    transition: all .7s cubic-bezier(1,0,.25,1);
    cursor: none;
}

#container {
    position: absolute;
    height: 35%;
    width: 100%;
    bottom: 0%;
    transition: all 1.7s cubic-bezier(1,0,.25,1);
}

#circle {
    position: relative;
    top: 120%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 500%;
    width: 500%;
    overflow: hidden;
}

#circle text {
    font-size: .75rem;
    fill: rgba(255,255,255,0.2);
    white-space: pre;
}

#circle svg {
    position: absolute;
    height: 100%;
    width: 100%;
    animation: rotate 38s infinite linear;
  -webkit-animation: rotate 38s infinite linear;
     -moz-animation: rotate 38s infinite linear;;
      -ms-animation: rotate 38s infinite linear;;
       -o-animation: rotate 38s infinite linear;;
}

@-webkit-keyframes rotate {
    from { -webkit-transform: rotate(360deg); }
    to { -webkit-transform: rotate(0); }
}
@-moz-keyframes rotate {
    from { -moz-transform: rotate(360deg); }
    to { -moz-transform: rotate(0); }
}
@-ms-keyframes rotate {
    from { -ms-transform: rotate(360deg); }
    to { -ms-transform: rotate(0); }
}
@-o-keyframes rotate {
    from { -o-transform: rotate(360deg); }
    to { -o-transform: rotate(0); }
}
@keyframes rotate {
    from { transform: rotate(360deg); }
    to { transform: rotate(0); }
}

/* SECTION 13: FOOTER */

footer {
    position: fixed;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0 40px;
    z-index: 500;
    overflow: hidden;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.open {
    bottom: calc(100vw * -700/1280);
}

.closed {
    bottom: -92%;
}

.hidden {
    bottom: -100%;
}

.contact {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: white;
    padding: 0 20px;
    z-index: 500;
    
}

#contact .small-text-header {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
    padding: 20px 0 20px 0;
    position: relative;
    width: 100%;
}

.wrapper {
    height: 25%;
    padding: 10px 0;
}

.contactWrapper {
    position: relative;
}

.contactDate {
    color: lightgray;
    float: right;
    letter-spacing: 2px;
    top: 50%;
    left: -5%;
}

.contactTitle {
    height: 50%;
    letter-spacing: 3px;
    font-weight: 900;
    font-size: 1.5rem;
}

#contact a {
    height: 50%;
    color: black;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 1.25rem;
}

.socialWrapper {
    margin-left: -3.5px;
}

.socialWrapper img {
    height: 30px;
    opacity: .5;
    transition: all .7s cubic-bezier(1,0,.25,1);
}

.socialWrapper img:hover {
    text-shadow: 0px 0px 5px rgba(0,0,0,.75);
    opacity: 1;
    transform: scale(1.1);
}

.socialWrapper a:nth-child(2){
    padding: 0 15px 0 10px;
}

/* SECTION 14: FADE IN PAGE */

@keyframes fade-in {
    from {opacity: 0; transform: scale(.7,.7)}
    to {opacity: 1;}
}

.fade-in {
    animation: fade-in 1.4s;
}

.hidden {
    opacity: 0;
}

/* SECTION 15: MEDIA */

@media (min-width: 800px){
    header {
        padding: 40px 40px;
    }
    #slider h1 {
        text-align: left;
    }
    #slider h1:hover {
        transform: translate(7%,-50%) scale(1.15);
    }
    .home img {
        left: 60%;
        min-height: 600px;
        max-height: 75%;
    }
    .titleContainer {
        left: 55%;
    }
    .imgContainer img {
        bottom: 0%;
        display: block;
    }
    .textContainer {
        position: block;
        transform: translate(0,-50%);
        width: 50%;
        padding: 0 40px;
    }
    .textContainer p {
        padding: 0 50px;
    }
    .decLine {
        visibility: visible;
    }
    .bio h1 {
        display: contents;
    }
    .expertise {
        height: 90%;
    }
    .skills {
        top: 50%;
        transform: translate(0,-50%) skewY(2.5deg);
        width: 50%;
        float: left;
    }
    .tools {
        top: 50%;
        transform: translate(0,-50%) skewY(2.5deg);
        width: 50%;
        float: right;
        padding-top: 40px;
    }
    .open {
        bottom: -76%;
    }
    .emailWrapper {
        display: inline;
        padding-bottom: 40px;
    }
    .socialWrapper {
        display: none;
    }
    .signatureWrapper {
        float: right;
        margin-top: -30px;
    }
    .contactDate {
        position: absolute;
        left: -60px;
        top: 30%;
        float: none;
        transform: rotate(-90deg);
    }
}

@media (min-width: 1000px){
    .open {
        bottom: -83%;
    }
    .wrapper {
        padding: 0px;
    }
    .contactWrapper {
        padding-top: 7.5px;
        text-align: center;
    }
    .phoneWrapper {
        display: inline-block;
    }
    .emailWrapper {
        display: inline-block;
        padding: 0 15%;
    }
    .signatureWrapper {
        display: inline-block;
        float: none;
        margin: 0;
    }
    .contactDate {
        top: 50%;
    }
    #contact br {
        display: none;
    }
}

@media (max-height: 550px){
    .bigContainer h1 {
        display: none;
    } 
}