/*=======================
      global styles
 =======================*/
:root {
    --yello: #f2ea64;
    --purp: #6E29FF;
    --orri: #77DDEB;
    /*--seeyan: #FB5A37; */
    --seeyan: #77DDEB;
    --greis: #111112;
    --whyte: #ffffff;
    --background: #111112da;
}

.whyte {
    color: var(--whyte);
}
.grey {
    color: var(--greis);
}
.purp {
    color: var(--purp);
}
.yello {
    color: var(--yello);
}

.bgYello {
    background-color: var(--yello);
}
.bgPurp {
    background-color: var(--purp);
}
.bgSeeyan {
    background-color: var(--seeyan);
}

html { 
    height: 100%;
    background-color: var(--whyte);
}   

    .firstContainer {
        background-color: var(--yello);
        overflow: hidden;
    }

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    height: 100%;
    width: 100vw;
    font-family: futura-pt, sans-serif;
}

.contents {
    display: contents;
}

s {
    text-decoration-thickness: 3px;
}


/*=======================
      Grid stuff
 =======================*/

section.gridContainer,
section.gridContainerWork,
section.gridContainerAbout,
section.gridContainerAbout2,
section.gridWork,
section.projectGrid,
.projectGridSub,
.projectGridSub2,
#footer {
    display: grid;
    position: relative;
}

section.gridContainer,
section.projectGrid {
    grid-template-columns: 6vw 11vw repeat(12, 1fr) 11vw 6vw;
}

section.gridContainerWork,
section.gridContainerAbout,
section.gridContainerAbout2 {
    margin-left: 17vw;
    margin-right: 17vw;
}

section.gridContainerWork {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

section.gridContainerAbout {
    grid-template-columns: repeat(1, 1fr);
}
section.gridContainerAbout2 {
    grid-template-columns: repeat(3, 1fr);
}

section.gridWork,
#footer {
    grid-template-columns: 6vw 11vw repeat(3, 4fr) 11vw 6vw;
}

section.gridContainer,
section.gridContainerWork,
section.gridContainerAbout,
section.gridContainerAbout2,
section.projectGrid {
    margin-top: 6rem;
    margin-bottom: 12rem;
}
section.gridContainer {
    margin-bottom: 30rem;
}

.gridText-a {
    grid-column: 3/7;
}
.gridText-aLong {
    grid-column: 3/11;
}

.gridText-b {
    grid-column: 11/14;
}
.gridText-bLong {
    grid-column: 11/16;
}

.gridImg {
    position: absolute;
    width: 100%;
    height: 100%;
    max-height: 85vh;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
    padding-bottom: 18rem;
}

.img-a {
    grid-column: 4/17;
}

.img-b {
    grid-column: 1/14;
}

.gridImgCreate {
    background-image: url("../assets/siren.webp");
    background-position: 0 35%;
}

.gridImgAbout {
    background-image: url("../assets/flor.webp");
    background-position: 0 30%;
}


/* footerGrid */

.gridF1 {
    grid-column: 3/4;
}


/*=======================
      typography
 =======================*/

.footerLink .footerTextSmall {
    border-bottom: 1px solid var(--whyte);
}

.footerTextSmall,
.footerLink {
    color: var(--whyte);
    text-decoration: none;
    font-family: futura-pt, sans-serif;
    text-align: left;
    font-weight: 600;
    font-style: normal;
    font-size: 1em;
    letter-spacing: .06rem;
}

.footerLink span:hover {
    color: var(--yello);
    border-bottom: 1px solid var(--yello);
}

.footerLink:hover.footerLink .icon {
    color: var(--yello);
}


h1 {
    font-family: futura-pt-bold, sans-serif;
    font-weight: 800;
    font-style: normal;
    margin-bottom: 0px;
    font-size: 3.8em;
}

.title {
    font-size: 18em;
    position: absolute;
}

h2 {
    font-family: futura-pt-bold, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 4.209em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

h3 {
    font-family: futura-pt-bold, sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 2.4em;
    margin-bottom: 20px;
}

h4 {
    font-family: futura-pt, sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 1.9em;
}

p {
    font-family: futura-pt, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.2em
}

p.bold {
    font-weight: 800;
    font-size: 1.2;
    margin-top: 0;
}

.outline {
    color: rgba(0, 0, 0, 0);
    -webkit-text-stroke: 1px var(--greis);
}

.centerText {
    text-align: center;
}

#roleFrame h1 {
    margin-top: auto;
    color: var(--greis);
    text-align: center;
    display: inline-block;
    padding: 0.1em 0.3em;
}

#roleFrame h1:first-child {
    font-size: 4.209rem;
    text-transform: uppercase;
}

#roleFrame h1:nth-child(2) {
    font-size: 6em;
}

#roleText {
    margin-top: 40px;
}

.navText,
.footerText {
    color: var(--whyte);
    font-family: futura-pt, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.8em;
    margin-top: 0;
    margin-bottom: 0;    
    width: auto;  
}

.navTextDiv {
    grid-column: 2/3;
    display: block;
}

.navText {
    text-transform: uppercase;
    display: inline-block;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}


    @media (max-width: 1280px){
        p {
            font-size: 1.1em;
        }

        h2 {
            font-size: 3.6rem;
        }

        h3 {
            font-size: 2.2rem;
        }
    }

    @media (max-width: 768px) {
        h1 {
            font-size: 2.4em;
        }

        h2 {
            font-size: 2.8rem;
        }

        h3 {
            font-size: 2rem;
        }

        h4 {
            font-size: 1.4em;
        }

        #roleFrame h1:first-child,
        #roleFrame h1:nth-child(2) {
            font-size: 3.2rem;
        }
    }

    @media (max-width: 375px) {
        #roleFrame h1:first-child,
        #roleFrame h1:nth-child(2) {
            font-size: 2.6rem;
        }
    }


    /* rainbow animation hover for buttons*/

    .rainbowText{
        background: linear-gradient(to right, var(--yello), var(--seeyan), var(--purp));
        background-size: 200% 200%;
        animation: rainbow 4s ease-in-out infinite;
        background-clip: text;
        -webkit-background-clip:text;
        transition: color .4s ease-in-out;
        color: var(--whyte);
      }
      .showRainbow {
        color:rgba(0,0,0,0);
      }
      @keyframes rainbow { 
        0%{background-position:left}
        50%{background-position:right}
        100%{background-position:left}
      }


 /*=======================
      components
 =======================*/

.noLink {
    text-decoration: none;
    color: inherit;
}

.btn,
.btnTextOnly {
    font-family: futura-pt, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.2em; 
    cursor: pointer;
    color: var(--greis);
    text-transform: uppercase;
    transition: all 300ms;
}


.btnTextOnly .icon,
.footerLink .icon {
    padding-left: 0.35rem;
    transition: padding-left 300ms;
}

.btnTextOnly:active {
    color: var(--yello);
}

.btnTextOnly:hover.btnTextOnly .icon,
.footerLink:hover.footerLink .icon {
    padding-left: 0.8rem;
}




.btn {
    border: 4px solid var(--greis);
    color: var(--greis);
    background-color: var(--whyte);
    border-radius: 50px;
    padding: 15px 23px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all .2s ease-in-out;
    filter: drop-shadow(0px 0px 0 var(--greis));
}

.btnMarginRight {
    margin-right: 2rem;
}

.btn:hover {
    background-color: var(--yello);
    filter: drop-shadow(9px 9px 0 var(--greis));
}

.btn:active {
    filter: drop-shadow(7px 7px 0 var(--greis));
}

button {
    margin: 0;
    padding: 0;
}

.topLeftBtn {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 42px;
    width: 42px;
    margin-top: 45px;
    margin-left: 60px;
    cursor: pointer;
    z-index: 100;
    background-color: transparent;
    border: none;
    padding: none;
}

#menuButton {
    transition: all .4s ease-in-out;
}

.menuBurger {
    width: 30px;
    height: 5px;
    background: var(--whyte);
    transition: all .4s ease-in-out;
    z-index: 2;
}

.blobDiv {
    position: absolute;
}

.menuBurgerBlob {
    width: 62px;
    margin: auto;
    margin-right: 0px;
    margin-top: 5px;
    display: block;
    transition: all 0.5s;
}

.menuBurgerBlob path {
    transition: all 0.5s;
}

#menuButton:hover path {
    d: path("M28.4987 0.0434077C43.1988 -0.597656 58.8491 5.85369 63.1207 19.9436C67.2165 33.4539 62.3732 42.2464 50.7704 50.2788C40.9976 57.0444 25 57.4618 15.9973 53.5C3.49907 48 -1.95049 34.8816 2.06581 22.6062C6.04969 10.4298 17 0.544862 28.4987 0.0434077Z") ;
}

.menuBurger::before,
.menuBurger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 5px;
    background: var(--whyte);
    transition: all .4s ease-in-out;
}

.menuBurger::before {
    transform: translateY(-11px);
}

.menuBurger::after {
    transform: translateY(11px);
}

/* menu button hover --------------------*/
#menuButton:hover .menuBurger {
    transform: translateX(-3px);
}

#menuButton:hover .menuBurger::before  {
    transform: translate(5px, -11px);
}
#menuButton:hover .menuBurger::after  {
    transform: translate(5px, 11px);
}


/* menu button animation --------------------*/


/*=======================
        navigation
 =======================*/

 #navPlaceholder {
    position: fixed;
    z-index: 10;
}

.navSlide {
    background-color: var(--greis);
    position: fixed;
    height: 100vh;
    margin-left: 0;
    padding-top: 20vh;
    padding-right: 2em;
    padding-left: 80px;
    z-index: inherit;
    transition: all .3s ease-in-out;
}

.menuWrapper {
    display: inline-block;
}

.navOpen {
    margin-left: -460px;
}

#navSocialMenu {
    height: auto;
    width: 70%;
    margin-top: 105px;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-left: 50px;
    gap: auto;
    justify-content: space-between;
}
    .homeLinkIcons .navSocialIcon:hover,
    .homeFoot .navSocialIcon:hover {
        color: var(--yello);
    }
    .myWorkLinkIcons  .navSocialIcon:hover,
    .myWorkLinkFoot  .navSocialIcon:hover {
        color: var(--seeyan);
    }
    .aboutMeLinkIcons  .navSocialIcon:hover {
        color: var(--purp);
    }

.navSocialIcon,
.footerIcon {
    font-size: 2.4em;
    color: var(--whyte);
    
}

.navSocialIcon:hover,
.footerIcon:hover {
    color: var(--yello);
}

.navMenu { 
    display: grid; 
    vertical-align: middle;
}

.navMenu a {
    text-decoration: none;
    grid-column: 1 / 3;
    display: grid;
}

.navArrowDiv {
    grid-column: 1 / 2;
    text-align: center;
}

.navArrow {
    margin-top: 0.5em;
    margin-bottom: auto;    
    font-size: 2rem;
    color: var(--greis);
    height: auto;
}

.navItem {
    height: auto;
    grid-column: 1 / 3;
    display: grid;
}

.navItem,
.navMenu,
.navMenu a {
    grid-template-columns: 50px 3fr;
}

.navItem i {
    display: none;
}

.navSelected .navText {
    color: var(--greis);
    background-color: var(--whyte);
}

.navSelected .navArrowDiv {
    display: block;
    background-color: var(--whyte);
}
.navSelected i {
    display: inline-block;
}

.myWorkLink:hover .navText {
    color: var(--seeyan);
}
.aboutMeLink:hover .navText {
    color: var(--purp);
}
.homeLink:hover .navText {
    color: var(--yello);
}
.navSelected:hover .navText {
    color: var(--greis);
}
.homeLink.navSelected:hover .navArrowDiv,
.homeLink.navSelected:hover .navText {
    background-color: var(--yello);
}
.myWorkLink.navSelected:hover .navArrowDiv,
.myWorkLink.navSelected:hover .navText {
    background-color: var(--seeyan);
}
.aboutMeLink.navSelected:hover .navArrowDiv,
.aboutMeLink.navSelected:hover .navText {
    background-color: var(--purp);
}

.navOverlay {
    transition: all .5s ease-in-out;
}

.overlayClose {
    background-color: var(--background);
    position: fixed;
    height: 100vh;
    width: 100vw;               
}

.navSelected {
    color: green;
}

@media (max-width: 768px){
    .socialIcon {
        width: 50px;
    }
}


/*=======================
      role animation
 =======================*/

#roleFrame {
    margin:auto;
    width: 100%;   
    height: 100vh;
    max-height: 100vh;
    text-align: center;
}

#roleImage {
    margin-bottom: 20px; 
    padding-top: 60px;
}

#roleLottie {
    z-index: 1;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    max-height: 60vh;
    max-width: 90vw;
    filter: grayscale(1);
}

#roleHead {
    filter: grayscale(1);
    position: absolute;
    display: block;
    left: 0;
    right:0;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    height: auto;
    max-height: 60vh;
    max-width: 90vw;
    z-index: 2;
}

#doodleWall {
    position: absolute;
    display: block;
    left: 0;
    right:0;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    height: auto;
    max-height: 60vh;
    max-width: 90vw;
    z-index: 1;
    overflow: hidden;
}



#roleText {
    margin-top: 0%;
}

/* -- I love to create segment -- */
.text {
    display: flex;
    order: 1;
    margin-left: auto;
}

.visual {
    display: flexbox;
}

.titleBlock {
    background-color: var(--greis);
    line-height: 1em;
    padding: 0.3rem 1.1rem 0.2rem;
}

.navText {
    padding: 0.3rem 1.1rem 0.2rem 0.2rem;
}

.titleBlock,
.titleBlockNav {
    color: var(--whyte);
    display: inline-block;
}

.text h3 {
    margin-top: 0;
}

.sectionAbout .text {
    order: 3
}

.sectionAbout .visual {
    order: 1;
}


/*=======================
      footer
=======================*/
 
.footerTransFrame {
    width: 100%;
    height: 0px;
    overflow: visible;
    position: relative;
    pointer-events: none;
}

.footerTransContainer {
    width: 100%;
    display: flex;
    overflow: visible;
    vertical-align: bottom;
    justify-content: flex-end;
    position: absolute;
    bottom: -1px;
    box-sizing: border-box;
    z-index: 100000;
}
.footerTransContainer img {
    height: auto;
    width: 600px;
    margin-right: 5vw;
}

/* footer/fold transition ^^ */

.headingText {
    grid-column: 3 / 6;
    text-transform: uppercase;
    font-size: 8.6em;
    line-height: 1.1em;
    z-index: 2;
    color: var(--whyte);
    margin: auto;
    text-align: center;
    letter-spacing: -4px;
}

.headingHero {
    position: absolute;
    height: 85vh;
    width: auto;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
}


.foldWave {
    position: absolute;
    bottom: 0;
    width: 100vw;
    height: auto;
    display: block;
    z-index: 3;
}

#footer {
    left: 0;
    bottom: 0;
    background-color: var(--greis);
    color: white;
    text-align: left;
    position: relative;
    padding-top: 2rem;
    align-items: top;
}

.footerContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 2rem;
    overflow: hidden;
    gap: 4px;
}

.flexItem {
    display: flexbox;
    flex-grow: 1;
}

#footerSocials {
    display: flex;
    margin: 40px 0 0;
    justify-content: center;
    align-items: flex-end;
    height: 20px;
}

.footerIcon {
    margin: 0 20px 0;
}

.footerLine {
    grid-column: 2/7;
    width: 100%;
}

#footerCopyright {
    padding-bottom: 1rem;
    font-size: 0.8em;
    grid-column: 3/3;
}

@media (max-width: 768px) {
    .topLeftBtn {
        margin-top: 27px;
        margin-left: 18px;
    }
    .menuBurgerBlob {
        width: 46px;
        margin-top: 3px;
    }
    .menuBurger,
    .menuBurger::before,
    .menuBurger::after {
        height: 4px;
        width: 23px;
    }
    .menuBurger::before {
        transform: translateY(-8px);
    }
    .menuBurger::after {
        transform: translateY(8px);
    }

    #menuButton:hover .menuBurger {
        transform: translateX(-2px);
    }
    #menuButton:hover .menuBurger::before  {
        transform: translate(3px, -8px);
    }
    #menuButton:hover .menuBurger::after  {
        transform: translate(3px, 8px);
    }
    
 
    .navSlide {
        width: 100vw;
        padding: 7em 0 0 0;
    }
    .navText {
        font-size: 2.4em;
    }
    .navOpen{
        margin-left: -100vw;
    }
    .menuWrapper {
        margin: 0 auto;
        display: table;
    }

    .oscar {
        display: none;
        order: 6;
    }
}

#menuButton.open .menuBurger {
    transform: translateX(0px);
    background: transparent;
}

#menuButton.open .menuBurger::before {
    transform: rotate(45deg) translate(0px, 0px);
    background: var(--whyte);
}

#menuButton.open .menuBurger::after {
    transform: rotate(-45deg) translate(0px, 0px);
    background: var(--whyte);
}


@media (max-width: 768px){
    .footerTransFrame {
        display: none;
    }

    #roleFrame {
        padding-top: 0;
    }
}

@media (min-width: 1600px){
}

@media (min-width: 1921px){

}

/*=======================
      my work
 =======================*/

.workHero {
    height: 100vh;
    background-color: var(--seeyan);
}

.aboutHero {
    height: 100vh;
    background-color: var(--purp);
}

.workItem {
    height: 40vh;
    background-repeat: none;
    background-position: center;
    background-size: cover;
    filter: grayscale(1) contrast(0.8) brightness(1.2);
    transition: all .2s ease-in-out;
}

.active,
.workItem:hover,
.workItem:active {
    filter: none;
}



/*=======================
      About
 =======================*/

 .about {
    text-align: center;
 }

 .aboutText {
    max-width: 40vw;
    margin-left: auto;
    margin-right: auto;
 }

 #resume {
    margin-top: 1em;
 }

 .tools {
    grid-column: 1 / 3;
 }
 .tools1 {
    grid-column: 1 / 4;
    margin-bottom: 120px;
 }
 .toolsIcons {
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
 }
 .toolsIcons img {
    max-height: 54px;
 }

 .tools1 p {
    width: 50%;
 }

 .tools2 p {
    width: 80%;
 }
/*=======================
      misc.
 =======================*/

.noSelect { 
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -o-user-select: none;
} 

.noTop {
    margin-top: 0;
    padding-top: 0;
}

.noBottom {
    margin-bottom: 0;
    padding-bottom: 0;
}

ul li::marker {
    content: '■     ';
    color: var(--greis);
}

ul li {
    text-align: left;
}

/*=======================
      responsive
 =======================*/

@media (max-width: 500px) {
    
}


@media (max-width: 1280px){
    .homeSection {
        flex-direction: column;
    }
    .text,
    .visual {
        text-align: center;
        margin: auto auto 3vh;
        width: 70vw;
    }

    .headingText {
        font-size: 6em;
    }

    .visual {
        order: 1;
    }

    .visual > img {
        max-width: 50vw;
    }

    .gridImg {
        height: 80%;
    }
    .gridText-a {
        grid-column: 3/9;
    }    
    .gridText-b,
    .gridText-bLong {
        grid-column: 10/16;
    }
    section.gridContainer {
        margin-bottom: 24rem;
    }

    section.gridContainerWork,
    section.gridContainerAbout,
    section.gridContainerAbout2 {
        margin-left: 6vw;
        margin-right: 6vw;
    }

    .gridImgCreate {
        background-position: 30% 35%;
    }

    .gridImgAbout {
        background-position: 50% 30%;
    }

    section.gridWork, #footer {
        grid-template-columns: 3vw 3vw repeat(3, 4fr) 3vw 3vw;
    }
    .gridF1,
    .footerLine,
    #footerCopyright {
        grid-column: 3 / 4;
    }

    .footerLine {
        grid-column: 3/6;
    }

    .aboutText {
        max-width: 60vw;
    }
}

@media (max-width: 768px) {

    .headingText {
        grid-column: 2/7;
        font-size: 4em;
        line-height: normal;
    }

    .btn {
        background-color: var(--yello);
    }

    .foldWave {
        visibility: hidden;
    }
   
    .gridText-a,
    .gridText-aLong,
    .gridText-b,
    .gridText-bLong {
        grid-column: 3/7;
    }

    .gridImg {
        grid-column: 2 / 8;
        position: relative;
        height: 20rem;
        padding-bottom: 0;
    }


    section.gridContainer {
        grid-template-columns: 3vw 3vw repeat(4, 4fr) 3vw 3vw;
        margin-bottom: 12rem;
    }
    section.gridContainerWork,
    section.gridContainerAbout2 {
        margin-left: 6vw;
        margin-right: 6vw;
        grid-template-columns: repeat(1, 1fr);
    }

    .tools1,
    .tools2 {
        grid-column: 1 / 2;
        margin-bottom: 60px;
    }

    .tools1 p,
    .tools2 p  {
        width: 100%;
    }

    .aboutText {
        max-width: 90vw;
        text-align: left;
    }
    .about {
        text-align: left;
    }


    section.gridWork, #footer {
        grid-template-columns: 3vw 3vw repeat(3, 4fr) 3vw 3vw;
    }
   
    .gridF1,
    #footerCopyright,
    .footerSml {
        grid-column: 3 / 6;
    }
}




/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.animated {
		/*CSS transitions*/
		-o-transition-property: none !important;
		-moz-transition-property: none !important;
		-ms-transition-property: none !important;
		-webkit-transition-property: none !important;
		transition-property: none !important;
		/*CSS transforms*/
		-o-transform: none !important;
		-moz-transform: none !important;
		-ms-transform: none !important;
		-webkit-transform: none !important;
		transform: none !important;
		/*CSS animations*/
		-webkit-animation: none !important;
		-moz-animation: none !important;
		-o-animation: none !important;
		-ms-animation: none !important;
		animation: none !important;
	}
}