/* Global */

html{
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Kadwa';
  color: #1f1f1f;
}

/*body:before {content: "";position: fixed;width: 100%;height: 100%;background: #fff;z-index: 1000000;animation: screenfade 1.5s linear forwards; pointer-events: none;animation-iteration-count: 1;}*/

.text{text-align: center;font-size: 2rem;font-weight: 200;line-height: 2.4rem;font-family: "Nunito Sans";}

a.textlink {
  padding: 0;
  margin: 50px auto 0;
  font-size: 1.63rem;
  position: relative;
  text-align: center;
  height: 2.3rem;
  line-height: 2rem;
  transition: all ease .2s;
  z-index: 10;
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  display: block;
  width: max-content;
}  

a.textlink:hover::before {
 height: 2rem;
 animation: btnhover .01s linear infinite alternate;
}

@keyframes btnhover {
  from {opacity: 1;}
  to {opacity: 0.7;}
}

a.textlink:before {
 height: 3px;
 content: "";
 display: block;
 transition: all cubic-bezier(0.22, 0.61, 0.36, 1) .3s;
 bottom: 5px;
 text-align: center;
 width: 100%;
 background: #dd3636;
 position: absolute;
 z-index: -1;
}

.title{overflow: hidden;position: relative;line-height: 4.4rem;font-weight: 700;text-align: center;font-family: 'Kadwa';font-size: 2.6rem;}

.title div{
  display: inline;
  position: relative;
  opacity: 0;
  bottom: -200px;
}

h1{
  padding: 0;
  margin: 0;
  font-size: 3.25rem;
  text-align: left;
  line-height: 4.5rem;
  z-index: 100000;
}

.active{
  bottom: 0;
}

section{
  height: 100vh;
}

iframe{border: 0;width: 100%;height: 100%;}


section {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.wave1{
    top: -4px;
    display: block;
    pointer-events: none;
    position: absolute;
    transform: scale(1.5, 1.7);
    transform-box: fill-box;
    transform-origin: top;
    width: 100%;
}

.wave2{
    bottom: -2px;
    display: block;
    pointer-events: none;
    position: absolute;
    transform: scale(1.1, 1);
    transform-box: fill-box;
    transform-origin: bottom;
    width: 100%;
}

.wrapper{
  height: 100%;
  width: 100%;
}


/* Intro blobs */

#sec1 .wrapper {
  margin: auto;
  display: flex;
  align-items: center;
  height: 100vh;
  align-content: center;
  justify-content: left;
}

#sec1 .wrapper.app {
  position: relative;
  margin-bottom: 230px;
  flex-direction: column;
}

#sec1 .wrapper#gooey {
  width: 100%;
  position: relative;
  justify-content: center;
}

#sec1 {
  height: auto;
}

.warp3d {
  position: absolute;
}

.warp3dcontainer {
  top: 270px;
  position: absolute;
  z-index: 0;
  margin: auto;
  left: 350px;
  transform-style: preserve-3d;
  transform: perspective(60rem);
}

.warp3d.blob2 img {
    opacity: 0.3;
    transform: scale(2.5);
}

.warp3d.blob1 img {
    opacity: 0.7;
    transform: scale(1.7);
}

.warp3d.blob3 img {
    opacity: 0.3;
    animation: breathe 2s infinite ease-in-out alternate;
}

#welcome-text{overflow: hidden;padding-left: 20%;position: relative;}

#welcome-text div{
  display: inline;
  position: relative;
  opacity: 0;
  bottom: -20px;
  overflow: hidden;
  line-height: 32px;
}


/* GOO */

.wrapper#gooey {
  margin: 0;
  overflow: hidden;
  font-family: 'Kadwa';
  background: rgb(197,44,97);
  background: -moz-linear-gradient(90deg, rgba(197,44,97,1) 0%, rgba(125,56,132,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(197,44,97,1) 0%, rgba(125,56,132,1) 100%);
  background: linear-gradient(90deg, rgba(197,44,97,1) 0%, rgba(125,56,132,1) 100%);
  cursor: none;
}

#gooey svg{
  display: none;
}


.goo.text{
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}
.goo{
  filter: url(#fancy-goo);
  -o-filter: url(#fancy-goo);
  -ms-filter: url(#fancy-goo);
  -webkit-filter: url(#fancy-goo);
  -moz-filter: url(#fancy-goo);
}

#mouse {
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  padding: 40px;
  background: #fff;
  position: absolute;
  border-radius: 100px;
  pointer-events: none;
}

.rect {
  text-align: center;
  font-size: 42px;
  position: absolute;
  line-height: 42px;
  pointer-events: none;
  font-family: 'Kadwa';
}

.rect span {
    display: inline-block;
    background: white;
    padding: 17px 40px;
    border-radius: 10px;
}

.rect span:last-child {
    padding-top: 0;
    border-radius: 0 0 10px 10px;
}


#pointer-dot {
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border: 2.5px solid white;
  position: absolute;
  border-radius: 4px;
  z-index: 1;
  pointer-events: none;
  transition: border-color 0.5s;
}

#pointer-ring {
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  padding: 15px;
  border: 2px solid #750c7e;
  position: absolute;
  border-radius: 100px;
  z-index: 2;
  pointer-events: none;
}




/* Fraugster */

section#sec2 {
  display: flex;
  align-content: center;
  justify-content: center;
  height: 1085px;
  overflow: hidden;
}

section#sec2:after {content: "";width: 100%;position: absolute;bottom: -100px;box-shadow: 0 0 100px rgba(0, 0, 0, 0.14);height: 100px;}

.fraugster {
  background: #1a2629;
  color: #fff;
}

img.screenshot {
  max-width: 1000px;
  margin: auto;
  display: block;
  transform: translateY(400px);
  border-radius: 36px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.fraugster .text {
  margin: 200px 0 150px;
}


/* Experience */

.experience .text {
  width: 1000px;
  margin: 0 0 40px;
}

.experience .wrapper {display: flex;align-items: center;align-content: center;flex-direction: column;margin: 250px 0;height: auto;}




/* Before Berlin */

#sec4.digital {
  background: #ececec;
  height: auto;
}

.digital .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: end;
  min-height: auto;
}

.digital .left{
  width: 50%;
  margin: auto;
}

.digital .text {
  text-align: left;
  width: fit-content;
  margin: auto;
  padding: 40px;
}

.digital a {
  color: #1f1f1f;
  display: inline-block;
  margin: 0;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 2.2rem;
}

.digital a:hover::before {height: 2.05rem;}

.digital a:before {bottom: 3px;background: #d3da10;}

.digital .text .title {
  text-align: left;
}

.paragraph {opacity: 0;transform: translateY(20px);transition: all cubic-bezier(0, 0, 0.25, 1) 1.2s;transition-delay: 1s;overflow: hidden;position: relative;font-family: 'Nunito Sans';line-height: 2.15rem;font-size: 1.5rem;font-weight: 300;max-width: 700px;}

.active .paragraph {
  opacity: 1;
  transform: translateY(0);
}

.visual {
  width: 50%;
  height: 70%;
  display: flex;
}

.digital .visual video {
  width: 100%;
  height: 96%;
}
.digital .visual img {
  width: 100%;
}



/* Free time */

.free-time{
  height: auto;
}

.free-time .text {
    width: 1000px;
    margin: 0 0 40px;
}

.free-time .wrapper {
  display: flex;
  align-items: center;
  align-content: center;
  flex-direction: column;
  margin-top: 150px;
  margin-bottom: 50px;
  height: auto;
}

.free-time .tog img {
  opacity: 0;
  width: 100%;
  position: absolute;
  transition: all ease .4s;
  height: auto;
  top: 0;
}

.free-time .tog img.active {
  opacity: 1;
}

.beforeafter {
    align-items: center;
    align-content: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
}

.tog {
    width: 1300px;
    height: 540px;
    position: relative;
}

.beforeafterbtns span.active {
  background: #1f1f1f;
  color: #fff;
}

.beforeafterbtns span.active:hover {
  background: #1f1f1f;
  cursor: default;
}

.beforeafterbtns span {
  width: 140px;
  display: inline-block;
  text-align: center;
  font-family: "Nunito Sans";
  cursor: pointer;
  padding: 10px 8px;
  border-radius: 5px;
  font-weight: 400;
  margin: 8px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.07);
}

.beforeafterbtns span:hover {
  background: rgba(0, 0, 0, 0.12);
}


/* coding section start */

section#sec6 {
  height: 80vh;
}

.spidertext {
  width: fit-content;
  background: #fff;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  text-align: center;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.5);
  height: fit-content;
  bottom: 0;
  padding: 50px 70px;
  top: 0;
  font-size: 2.6rem;
  z-index: 2;
}

.coding img {
display: block;
width: 100%;
}

.coding .wrapper {
position: absolute;
margin: auto;
overflow: hidden;
top: 0;
bottom: 0;
right: 0;
left: 0;
background: #2b2b2b;
}

#spiderwebs {
padding: 0;
margin: 0;
width: 100%;
overflow: hidden;
}

.coding li {
width: 100%;
}

.layer1 img{transform: scale(2);}
.layer2 img{transform: translate(100px, 55px) scale(2);}
.layer3 img{transform: translate(-100px, -55px) scale(2);}







/* More projects */

.more {
  height: auto;
}

.more .wrapper {
  height: auto;
}

.more .wrapper {
display: flex;
align-items: center;
align-content: center;
flex-direction: column;
height: auto;
}


.col-4 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 40px;
  font-family: "Nunito Sans";
  align-items: baseline;
}

.col-4 img {
  width: 100%;
  border-radius: 10px;
}
.col-4 a {
  width: 23%;
  float: right;
  height: 100%;
  position: relative;
}

.col-4 a:hover {
  opacity: 0.9;
}

.other-projects h4 {
  margin: auto;
  text-align: center;
  font-size: 32px;
  padding-bottom: 100px;
  color: #fff;
}

.other-projects a:before {
  background: rgba(0,0,0,0);
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.31) 50%, rgba(0,0,0,0.5) 77%, rgba(0,0,0,0.68) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(50%, rgba(0,0,0,0.31)), color-stop(77%, rgba(0,0,0,0.5)), color-stop(100%, rgba(0,0,0,0.68)));
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.31) 50%, rgba(0,0,0,0.5) 77%, rgba(0,0,0,0.68) 100%);
  background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.31) 50%, rgba(0,0,0,0.5) 77%, rgba(0,0,0,0.68) 100%);
  background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.31) 50%, rgba(0,0,0,0.5) 77%, rgba(0,0,0,0.68) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.31) 50%, rgba(0,0,0,0.5) 77%, rgba(0,0,0,0.68) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
  opacity: 0.4;
  content: "";
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 6px;
  border-radius: 10px;
  z-index: 1;
  animation: none;
}

.other-projects a span {
  position: absolute;
  color: #fff;
  z-index: 100;
  bottom: 17px;
  font-size: 1.13rem;
  line-height: 1rem;
  font-weight: 600;
  text-shadow: 0 0 5px #00000052;
  left: 15px;
  text-align: left;
}

.other-projects{padding: 200px 3% 250px;margin: auto;width: 94%;}




/* Footer */

#footer {
  background: rgb(197,44,97);
  background: -moz-linear-gradient(90deg, rgba(197,44,97,1) 0%, rgba(125,56,132,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(197,44,97,1) 0%, rgba(125,56,132,1) 100%);
  background: linear-gradient(90deg, rgba(197,44,97,1) 0%, rgba(125,56,132,1) 100%);
  height: 150px;
}

#footer .wrapper {
    width: 94%;
    padding: 0px 3%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    font-family: "Nunito Sans";
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    color: #000;
}

#footer .wave {
  top: -3px;
  transform: scale(1.1, 1);
  bottom: auto;
}


.social {
display: flex;
width: 120px;
justify-content: space-between;
}

.social a {
display: flex;
align-items: flex-start;
transition: all ease .2s;
height: 30px;
}

.social img {
width: 30px;
}

.social a:hover {
filter: invert(1);
transition: all ease .2s;
}

.social a:last-child img {
width: 23px;
margin-top: 3px;
}


.safari{
  width: 100%;height: 100%;display: block;line-height: 100vh;position: fixed;top: 0;font-size: 32px;right: 0;background: #fff;text-align: center;z-index: 1000000;
}

@media (min-width: 2050px) {
  html {
    font-size: 19px;
}
.experience .text {
  width: 1200px;}

.warp3dcontainer{
    top: 16%;
  }
  #welcome-text {
  padding-left: 17%;
  }

}


@media (max-width: 1900px) {
  .warp3dcontainer {
    top: 220px;
    left: 350px;
  }

  .warp3d.blob1 img {
      transform: scale(1.5);
  }
}


@media (max-width: 1601px) {
  .warp3dcontainer {
    top: 190px;
    left: 250px;
    transform: perspective(800rem);
  }

  .warp3d.blob2 img {
      transform: scale(2.2);
  }

  .warp3d.blob1 img {
      transform: scale(1.4);
  }

  .digital a {
    color: #1f1f1f;
    display: inline-block;
    margin: 0;
    font-weight: 700;
    height: 2rem;
    font-size: 1.2rem;
    line-height: 1.9rem;
  }

  .digital .text .title {
    line-height: 4.1rem;
    font-size: 2.3rem;
  }

  .digital a:hover::before {height: 1.75rem;}

  .paragraph {opacity: 0;transform: translateY(20px);transition: all cubic-bezier(0, 0, 0.25, 1) 1.2s;transition-delay: 1s;overflow: hidden;position: relative;font-family: 'Nunito Sans';line-height: 1.85rem;font-size: 1.2rem;max-width: 550px;}

  .other-projects{padding: 150px 3% 200px;}

}

@media (max-width: 1441px) {
  .warp3dcontainer {
    top: 190px;
    left: 250px;
    transform: perspective(1000rem);
  }

  .warp3d.blob2 img {
      transform: scale(2.1);
  }

  .warp3d.blob1 img {
      transform: scale(1.3);
  }
}

@media (max-width: 1367px) {
  .warp3dcontainer {
    top: 120px;
    left: 190px;
    transform: perspective(1000rem);
  }

  .warp3d.blob2 img {
      transform: scale(1.8);
  }

  .warp3d.blob1 img {
      transform: scale(1.2);
  }

  .tog{
    width: 1100px;
  }
  h1 {
    line-height: 4.4rem;
    font-size: 2.6rem;
  }
  #sec1 .wrapper#gooey {
    min-height: 760px;
  }

  .spidertext{
    line-height: 3.7rem;
    width: 630px;
  }
  section#sec6{
    height: 85vh;
  }
  .beforeafter{
    margin-bottom: 0;
  }
}
@media (max-width: 1100px) {
body:after {content: "Nope. Try a bigger screen";width: 100%;height: 100%;display: block;line-height: 100vh;position: fixed;top: 0;font-size: 32px;right: 0;background: #fff;text-align: center;z-index: 1000000;}
}


@keyframes breathe{
  0% {
    transform: scale3d(0.9, 0.9, 0.9);
  } 
  100% {
    transform: scale3d(1, 1, 1);
  } 
}

/*@keyframes screenfade{*/
/*  0% {*/
/*    opacity: 1;*/
/*  } */
/*  10% {*/
/*    opacity: 1;*/
/*  } */
/*  70% {*/
/*    opacity: 0;*/
/*  } */
/*  99% {*/
/*    opacity: 0;*/
/*    display: none;*/
/*  }   */
/*  100% {*/
/*    opacity: 0;*/
/*    display: none;*/
/*  } */
}

