* {
   box-sizing: border-box;
}



:root {
   --text-main: rgb(26,26,26);
   --text-secondary: rgb(54,54,54);
   --text-tertiary:rgb(102,102,102);
   
   --color-white: rgb(255,255,255);

   --color-gray1:rgb(158,158,158);
   --color-gray2:rgb(96,85,85);
   --color-gray3: rgb(59,59,59);

   --highlight1: rgb(91,151,97);    /* rgb(237,86,75); */
   --highlight2: rgb(124, 185, 131); /* rgb(249,107,97); */
   --padding-section: 5em;
   --phone-width: 280px; 
 }

body {
   background: #F2F2F2;
   font-family: 'Roboto', sans-serif;
   font-size: 1em;
   line-height: 1.4em;
   color: #454648;
}

h3 {
   font-family: 'Oswald', sans-serif;
   text-align: center;
   font-size: 2em;
   text-transform: uppercase;
   font-weight: 400;
   margin: 0 0 40px 0;
}

.wrapper {
   width: 90%;
   max-width: 1220px;
   margin: 0 auto;
   position: relative;
   overflow: hidden;
   padding: 40px 0;
}

section {
   position: relative;
   padding-top: var(--padding-section);
   padding-bottom: var(--padding-section);
}

section.navbar {
   position: fixed;
   background: rgba(0,0,0,.35);
   height: 80px;
   padding: 0;
   z-index: 10;
   width: 100%;
}



/*  ---|  Recent Work  |-------------------------- */

.recent_work > div {
   display: flex;
   flex-wrap: wrap;
   margin: 0;
   padding: 0;
   list-style: none;
}

.fadeinElement {
   opacity: 0;
   -webkit-transition: all .5s linear;
      -moz-transition: all .5s linear;
       -ms-transition: all .5s linear;
        -o-transition: all .5s linear;
           transition: all .5s linear;
}

.fadeinElement.visible {
   opacity: 1;
}



/* .recent_work a:nth-child(odd) {
   margin-right: none;
} */

.recent_work a {
   display: block;
   position: relative;
   background: var(--color-white);
   width: 100%;
   height: 60vw;
   margin: 2.5% 5%;
   color: var(--color-white);
   text-decoration: none;
   overflow: hidden;
   border-radius: 8px;
   /* margin: .5% .5% .5% 0; */
}



.recent_work figure {
   height: 100%;
   width: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
   /* background: rgba(0,0,0,.15); */
}

.recent_work img {
   opacity: 1;
   -webkit-transition: opacity 0.55s,-webkit-transform .55s;
   transition: opacity 0.55s,transform .55s;
   -webkit-transform: scale(1);
   transform: scale(1);
   height: 90%;
   width: auto;
}

.recent_work a:hover img {
   opacity: .8;
   -webkit-transform: scale(1.05);
   transform: scale(1.05);
}

.recent_work figcaption {
   position: absolute;
   top: 0;
   left: 0; 
   width: 100%;
   height: 100%;
   background: rgba(0,0,0,.75);
   padding: 1em;
   padding-left: 1.5em;
   color: var(--color-white);
   font-size: 1.5em;
   -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
   opacity:0;
   -webkit-transition: opacity 0.35s;
   transition: opacity 0.35s;
   border-radius: 8px;
}

.recent_work a:hover figcaption {
   opacity: 1;
}

.recent_work figcaption h2 {
   margin: 5% 0 0 0;
   opacity: 0;
   -webkit-transition: opacity 0.35s,-webkit-transform .35s;
   transition: opacity 0.35s,transform .35s;
   -webkit-transform: translate3d(0,20px,0);
   transform: translate3d(0,20px,0);
   font-weight: 300;
   font-size: 1em;
   line-height: auto;
}

.recent_work a:hover figcaption h2 {
   opacity: 1;
   -webkit-transform: translate3d(0,0,0);
   transform: translate3d(0,0,0);
}

.recent_work figcaption p {
   margin: 0;
   line-height: 1em;
   padding: 1em 0;
   opacity: 0;
   -webkit-transition: opacity 0.35s,-webkit-transform .35s;
   transition: opacity 0.35s,transform .35s;
   -webkit-transform: translate3d(0,-5px,0) scale(1.0);
   transform: translate3d(0,-5px,0) scale(1.0);
   font-size: .6em;
   font-weight: 100;
}

.recent_work a:hover figcaption p {
   opacity: 1;
   -webkit-transform: translate3d(0,0,0) scale(1);
   transform: translate3d(0,0,0) scale(1);
}




.recent_work a div {
   display: block;
   opacity: 0;
   position: absolute;
   top: 0;
   left: 0;
   height:100%;
   width:100%;
   /* background: rgba(0,0,0,.5); */
   -webkit-transition: all 500ms cubic-bezier(0.455, 0.030, 0.515, 0.955); 
      -moz-transition: all 500ms cubic-bezier(0.455, 0.030, 0.515, 0.955); 
        -o-transition: all 500ms cubic-bezier(0.455, 0.030, 0.515, 0.955); 
           transition: all 500ms cubic-bezier(0.455, 0.030, 0.515, 0.955); /* easeInOutQuad */
}






/*  ---|  experience  |-------------------------- */

.experience .wrapper > div {
   padding: 4% 0;
   line-height: 1.7rem;
 }
 
 .experience ul {
     margin-top: 25px;
     padding-left: 0;
 }

 .resume li {
    margin: 0 0 6px 20px;
    list-style-type: circle;
 }

 .resume > div {
   padding: 4% 0;
   line-height: 1.7rem;
 }


 /* .experience li {
     margin: 0;
     list-style: none;
 } */
 
 .experience .title, .place {
   margin: 3px 0 0 0;
   padding: 0;
 }
 
 .experience .title {
   font-size: 2rem;
 }
 
 .experience .place {
   font-style: italic;
   color: rgb(135,135,135);
 }

 .resume {
    padding-top: 40px;
 }


 .timeline_positions h4 {
   margin: 0;
   padding: 0;
}

.t_line {
   height: 30px;
   background: rgb(10,10,10);
   border-radius: 5px;
   line-height: 1.9rem;
   font-size: .8rem;
   width: 1%;
   margin: 10px 0 40px 0;
   overflow: hidden;
}

.t_line span {
   color: var(--color-white);

}

.t_line span:nth-child(1n+1) {
   float: left;
   display: block;
   padding-left: 5px;
}
.t_line span:nth-child(2n+2) {
   float: right;
   display: block;
   padding-right: 5px;
}

.t_line.best_approach.visible {
   width: 10%;
}
.t_line.point.visible {
   width: 20%;
}
.t_line.digeo.visible {
   width: 70%;
}
.t_line.arris.visible {
   width: 50%;
}
.t_line.concur.visible {
   width: 70%;
}
.t_line.concur2.visible {
   width: 10%;
}







 




/*  ---|  Hero  |-------------------------- */

.hero {
   width: 100%;
   height: 60vh;
   overflow: hidden;
   position: relative;
   background-size: cover;
   background-position: 50%;
   padding-top: 10px;
}

.hero .wrapper {
   overflow: visible;
}

.hero img {
   height: auto;
   width: 100%;

}
.hero .title {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
}

.hero h1 {
   /* padding: 0 0 .2em; */
   color: var(--color-white);
   text-shadow: 3px 3px 12px rgba(0,0,0,0.3);
   font-weight: 400;
   margin: 0 auto;
   font-size: 8vw;
}



.bigbang .hero {
   background-image: url(../img/projects/bigbang/0x0ss-5.jpg);
}

.concur_air .hero {
   background-image: url(../img/projects/air/hero2.jpg);
}

.hotel_booking .hero {
   background-image: url(../img/projects/hotels/hero.jpg);
}

.itinerary .hero {
   background-image: url(../img/projects/itinerary/hero.jpg);
}

.loki .hero {
   background-image: url(../img/projects/loki/hero.png);
}

.swedish .hero {
   background-image: url(../img/projects/swedish/hero.jpg);
}

.moxi .hero {
   background-image: url(../img/projects/moxi/hero.jpg);
}

.concur_bot .hero {
   background-image: url(../img/projects/bot/hero.jpg);
}

.carla .hero {
   background-image: url(../img/projects/carla/hero.jpg);
}

.design_system .hero {
   background-image: url(../img/projects/ds/ds_hero1.jpg);
}

 


/*  ---|  Body  |-------------------------- */

.body {
   font-size: 1em;
   font-weight: 100;
}

.page h2 {
   margin-top: 0;
   margin-bottom: 10px;
   line-height: normal;
}



.block {
   display: flex;
   flex-direction: column;
}

.block div {
   width: 100%;
}

.block p {
   /* display: block;
   padding: 12px;
   font-weight: 600;
   margin: 0 0 10px 0;
   padding: 0 0 0 0; */
}





.spacer {
   display: block;
   width: 100%;
   height: 1px;
   background-color: rgba(50,50,50,.15);
   margin: 0 auto;
   width: 90%;
   max-width: 1220px;
}




.block .img {
   display: flex;
   flex-direction: column;
   align-items: center;
}

div.iphone {
   background: url(../img/iphone.png) no-repeat;
   background-size: contain;
   position: relative;
   width: calc(800px * .45);
   height: calc(1515px * .45);
   margin: 8px;
}

div.iphone img {
   position: relative;
   width: 91%;
   height: auto;
   padding: 9% 2% 2% 12%; 
}

.horiz div.iphone {
   background: url(../img/iphone_horiz.png) no-repeat;
   background-size: contain;
   height: calc(800px * .45);
   width: calc(1515px * .45);
}

.horiz div.iphone img {
   position: relative;
   height: 85%;
   width: auto;
   padding: 5% 0 0 8%; 
}

div.android {
   background: url(../img/pixel.png) no-repeat;
   background-size: contain;
   position: relative;
   width: calc(793px * .45);
   height: calc(1515px * .45);
   margin: 8px;
}

div.android img {
   position: relative;
   width: 88.5%;
   height: auto;
   padding: 23% 2% 2% 14%; 
}

div.web {
   background: url(../img/MacBookPro.png) no-repeat;
   background-size: contain;
   position: relative;
   width: calc(1900px * .45);
   height: calc(1130px * .45);
   margin: 8px;
}

div.web img {
   position: relative;
   width: 78%;
   margin: 3% 2% 2% 11%; 
   border-radius: 8px;
}

div.ipad {
   background: url(../img/ipad.png) no-repeat;
   background-size: contain;
   position: relative;
   /* width: calc(1366px * .45);
   height: calc(1046 * .45); */
   margin: 8px;
}

div.ipad img {
   position: relative;
   width: 90%;
   height: auto;
   padding: 4% 0% 10% 8%; 
}

div.tv img {
   border: 14px solid black;
   width: 90%;
   border-radius: 2px;
   margin: 14px;
   box-shadow: -3px 4px 12px rgba(0,0,0,.25);
}

.block.flow img {
   background-color: var(--color-white);
   padding: 25px;
   border: 1px solid #e0e0e0;
   border-radius: 12px;
   width: 100%;
}




/*  ---|  proficiencies  |-------------------------- */

.proficiencies ul {
   display: flex;
   flex-wrap: wrap;
   margin: 0;
   padding: 0;
}

.proficiencies li {
   display: block;
   width: 100%;
   padding: 5%;
   text-align: center;
}

.proficiencies img {
   margin: 10px auto;
   height: 60px;
   width: 60px;
}

.proficiencies p {
   color: #9e9e9e;
   line-height: 1.3em;
}

.proficiencies h4 {
   text-transform: uppercase;
   font-weight: normal;
}






/*  ---|  Page  |-------------------------- */


.images figure {
   width: 96%;
   margin: 2%;
}

.images img {
   width: 100%;
   height: auto;
}





/*  ---|  header  |-------------------------- */
header.main {
   background: linear-gradient(232deg, #42c59f, #3a83ac, #99d5db);
   background-size: 600% 600%;
   padding: 55px 0 75px;
   color: rgb(243,244,245);
   position: relative;
   overflow: hidden;
   border-bottom:5px solid rgba(255,255,255, .15);
   animation: color_change 50s ease infinite;
   -webkit-animation: color_change 50s ease infinite;
}

@-webkit-keyframes color_change {
   0%{background-position:0% 50%}
   50%{background-position:100% 50%}
   100%{background-position:0% 50%}
}
@-moz-keyframes color_change {
   0%{background-position:0% 50%}
   50%{background-position:100% 50%}
   100%{background-position:0% 50%}
}
@keyframes color_change { 
   0%{background-position:0% 50%}
   50%{background-position:100% 50%}
   100%{background-position:0% 50%}
}

header.main h1 {
   font-weight: 300;
   font-size: 4rem;
   line-height: 1rem;
   letter-spacing: -.1rem;
}

header.main h1 span {
   color: var(--color-gray2);
}

header.main h2 {
   font-weight: 300;
   font-size: 1.33rem;
   font-style: italic;
}

header.main .wrapper {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   flex-direction: column;
}

.contact_block {
   float: right;
   color: rgb(209, 209, 209);
   margin-top: 80px;
}

.contact_block a {
   color: var(--color-gray2);
}

.contact_block li {
   margin-bottom: 8px;
}

.button {
   display: block;
   padding: 6px 12px;
   margin-bottom: 10px;
   border-radius: 1px solid ;
   background: rgba(76, 145, 151, 0.3);
   text-decoration: none;
   border-radius: 20px;
   border-width: 1px;
   border-style: solid;
   border-color: linear-gradient(232deg, #42c59f, #3a83ac, #99d5db);
   -webkit-transition: all .25s ease;
      -moz-transition: all .25s ease;
       -ms-transition: all .25s ease;
        -o-transition: all .25s ease;
           transition: all .25s ease;
}

header .resume_link {
   padding-left: 13px;
}

a.button {
   color: rgb(235,235,235);
}

a.button:hover {
   background: rgba(42, 147, 151, 0.747);
   box-shadow: 0 2px 6px rgba(0,0,0,.15);
   transform: translateY(-1px);
}

a.button:active {
   background: rgb(6, 102, 105);
}





/*  ---|  footer  |-------------------------- */


footer {
   -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
           box-sizing: border-box;
   background: var(--color-gray3);
   padding: 15px 8% 25px;
   height: 95px;
   color: rgb(235,235,235);
   font-size: 1.2rem;
   position: relative;
   overflow: hidden;
   /*line-height: 3.8rem;*/
}

footer::before {
   content: '';
   position: absolute;
   height: 5px;
   width: 100%;
   top: 0;
   left: 0;
   z-index: 1;
   background: linear-gradient(232deg, #42c59f, #3a83ac, #99d5db);
   background-size: 600% 600%;
   animation: color_change 50s ease infinite;
   -webkit-animation: color_change 50s ease infinite;
}

footer .left {
   float: left;
   margin-right: 3%;
}

footer .text {
   line-height: 3.6rem;
}

footer span {
   color: #3a83ac;
}



footer .right {
   float: right;
   margin-left: 3%;
}

footer .icon {
   margin-top: 15px;
   height: 30px;
   width: 30px;
}

footer .icon path {
   fill: rgb(235,235,235);
}

footer .icon:hover path {
   fill: var(--color-gray1);
}

footer .self {
   border-radius: 50%;
   border: 3px solid rgb(89,88,88);
}

footer a {
   text-decoration: none;
   color: rgb(235,235,235);
   display: block;
   border-radius: 2px;
}

footer a:hover {
   /*background: rgba(250,227,180,.25);*/
   text-decoration: underline;
   color: rgb(170,170,170);
}





/*  ---|  overlay  |-------------------------- */

#overlay {
   height: 100%;
   width: 100%;
   position: fixed;
   background: rgba(235,235,235,.95);
   margin: 0;
   padding: 15px 5% 0;
   -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
           box-sizing: border-box;
-webkit-transition: all 230ms cubic-bezier(0.075, 0.820, 0.165, 1.000); 
  -moz-transition: all 230ms cubic-bezier(0.075, 0.820, 0.165, 1.000); 
    -o-transition: all 230ms cubic-bezier(0.075, 0.820, 0.165, 1.000); 
       transition: all 230ms cubic-bezier(0.075, 0.820, 0.165, 1.000); /* easeOutCirc */
   z-index: 1;
   -webkit-transform: translateY(-20px) scale(.07);
      -moz-transform: translateY(-20px) scale(.07);
       -ms-transform: translateY(-20px) scale(.07);
        -o-transform: translateY(-20px) scale(.07);
           transform: translateY(-20px) scale(.07);

   opacity: 0;

}

#overlay.open {
   -webkit-transform: translateY(0) scale(1);
      -moz-transform: translateY(0) scale(1);
       -ms-transform: translateY(0) scale(1);
        -o-transform: translateY(0) scale(1);
           transform: translateY(0) scale(1);
   opacity: 1;
}

.close_button {
   /* height: 25px;
   width: 25px; 
   border-radius: 50%; */
   display: block;
   height: 70px;
   width: 70px;
   position: relative;
   margin-left: 25px;
   margin-top: 10px;
   -webkit-transition: all .15s ease-in-out;
      -moz-transition: all .15s ease-in-out;
       -ms-transition: all .15s ease-in-out;
        -o-transition: all .15s ease-in-out;
           transition: all .15s ease-in-out;
}

.close_button:hover {
   cursor: pointer;
   /*background: rgb(96, 85, 85);*/
   -webkit-transform: scale(1.1);
      -moz-transform: scale(1.1);
       -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
           transform: scale(1.1);
}


a.close_button img {
   fill: #fff;
   height: 80%;
   width: 80%;
}

#overlay h3 {
   margin-bottom: 10px;
}







/* phone only */
@media (max-width: 599px) { 
   
}
 

/* tablet-portrait-up */
@media (min-width: 600px) {

   .recent_work a {
      width: 49%;
      height: 25vw;
      margin: .5%;
      border-radius: 8px;
      /* margin: .5% .5% .5% 0; */
   }

   .proficiencies li {
      width: 33%;
      padding: 5%;
      text-align: center;
   }

   .block .img {
      flex-direction: row;
   }

   .block .img.horiz, .block.left .img.horiz {
      flex-direction: column;
   }

   .block.left .img {
      flex-direction: row-reverse;
   }

   header.main {
      padding: 55px 8% 75px;
   }

   header.main h2 {
      line-height: 0rem;
   }

   header.main .wrapper {
      flex-direction: row;
   }


.tilt_1 {
   transform: rotate(-3deg);
}

.tilt_2 {
   transform: rotate(-2deg);
}

.tilt_3 {
   transform: rotate(-1deg);
}

.tilt_4 {
   transform: rotate(1deg);
}

.tilt_5 {
   transform: rotate(2deg);
}

.tilt_6 {
   transform: rotate(3deg);
}

   
}
 

/* tablet-landscape-up */
@media (min-width: 900px) {
   .explanation {
      /* font-family: 'Playfair Display', serif; */
      padding-top: var(--padding-section);
      padding-bottom: var(--padding-section);
      display: flex;
      /* font-size: 1.875vw;
      line-height: 2.7vw; */
   }
   
   .explanation .title {
      width: 33%;
   }

 div.web {
   width: calc(1900px * .45);
   height: calc(1130px * .45);
 }

   
   .explanation .body {
      width: 66%;
      column-count: 2;
      column-gap: 2em;
      margin: 0 0 0 1em;
   }

   .images {
      display: flex;
   }
   
   .images figure {
      width: 30%;
      margin: 2%;
   }

   .recent_work figcaption h2 {
      font-size: 3.5vw;
   }

   
   .recent_work figcaption p {
      font-size: 1.5vw;
      font-weight: 100;
   }

   .block {
      flex-direction: row;
   }
   
   .block.right .body {
      padding: 30px 0 0 30px;
      text-align: left;
   }

   .block.left {
      flex-direction: row-reverse;
   }
   
   .block.left .body {
      padding: 30px 30px 0 0;
   }

   .column_1 .body {
      width: 33%;
   }
   
   .column_2 .body {
      width: 66%;
   }
   
   .column_3 .body {
      width: 100%;
   }
   
   .column_1 .img {
      width: 66%;
   }
   
   .column_2 .img {
      width: 33%;
   }

   .row .img {
      flex-direction: column;
   }

}


@media (min-width: 1111px) {
   :root {
      --phone-width: 320px; 
   }
   
}
 

/* desktop-up */
@media (min-width: 1200px) {
   
}
 

/* big-desktop-up */
@media (min-width: 1800px) { 
   
}
 
