@-webkit-keyframes bounceInDown {
  from,
  0%;
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInDown {
  from,
  0%;
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.bounceInDown {
    -webkit-animation-name: bounceInDown;
    animation-name: bounceInDown;
    animation-duration: 20s;
}

@-webkit-keyframes bounceInLeft {
  from,
  0%;
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInLeft {
  from,
  0%;
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.bounceInLeft {
    -webkit-animation-name: bounceInLeft;
    animation-name: bounceInLeft;
    animation-duration: 20s;
}

@-webkit-keyframes bounceInRight {
  from,
  0%;
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInRight {
  from,
  0%;
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.bounceInRight {
    -webkit-animation-name: bounceInRight;
    animation-name: bounceInRight;
    animation-duration: 20s;
}

@-webkit-keyframes fadeInLeftBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeftBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}



.fadeInLeftBig {
    -webkit-animation-name: fadeInLeftBig;
    animation-name: fadeInLeftBig;
    animation-duration: 20s;
}

@-webkit-keyframes fadeInRightBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRightBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInRightBig {
    -webkit-animation-name: fadeInRightBig;
    animation-name: fadeInRightBig;
    animation-duration: 20s;
}

/*HEADER*/

.hero-text {
    width: 50%;
    min-width: 500px;
    margin: 50px auto;
    text-align: center;
    letter-spacing: 2px;
}

.hero-text h2 {
    max-width: 450px;
}

.hero-text h1,
.hero-text h2,
.hero-text p {
    color: #ffffff;
    text-align: left;
    padding-bottom: 15px;
    line-height: 70px;
}

.hero-text h1 {
    animation: bounceInDown 3s ease-in-out 0.5s backwards;
}

.hero-text i {
    animation: bounceInRight 3s ease-in-out 0.5s backwards;
}

#view-work {
    color: #ffffff;
    font-size: 26px;
}

.hero-content {
    position: relative;
    min-height: 675px;
    background-image: url(../images/background-image.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
 }

 /*SIZING*/

.grid-container {
    display: grid;
    justify-content: center;
    align-items: center;
 }

 .left {
     grid-row-start: 1;
     grid-column: 1 / 2;
     animation: bounceInLeft 3s ease-in-out 0.5s backwards;
 }

 .right {
     grid-row-start: 1;
     grid-column: 7 / 8;
     animation: bounceInRight 3s ease-in-out 0.5s backwards;
 }

 .aboutme{
     padding: 40px 30px;
 }

 .right img, .left img {
     max-width: 520px;
     padding-right: 0px;
 }

 .flex-column {
     display: flex;
     flex-direction: row;
     justify-content: center;
 }


/*TEXT*/

.tag {
    font-family: 'Montserrat';
    background: #465D5D;
    border-radius: 5px;
    line-height: 28px;
    padding: 1% 2%;
    color: #ffffff;
    font-size: 14px;
    margin-right: 3px;
}

.details p {
    max-width: 600px;
    margin: 20px 0;
    text-align: left;
}

.details h2 {
    margin-bottom: 10px;
}

.details{
  margin-left: 90px;
  margin-top: 0px;
}

div.in-view.left {
  animation: fadeInLeftBig 3s;
  animation-fill-mode: both;
}

div.in-view.right {
  animation: fadeInRightBig 3s;
  animation-fill-mode: both;
}

.designproc {
  padding: 30px 20px;
}

.designproc h2 {
  text-align: center;
}

#subtitle {
    font-size: 24px;
    padding-bottom: 25px;
    text-align: center;
}


.aboutme {
  background-color: #99B2AF;
}


.icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-sizing: border-box;
    margin: 10px auto;
    padding-top: 50px;
}

/*SIZING*/

@media (max-width: 1200px) {
    .hero-text {
      width:70%;
    }
    .hero-text h1 {
        font-size: 48px;
    }
    .hero-text h2 {
        font-size: 32px;
    }
    .hero-text p {
        font-size: 20px;
    }
    .thumbnail > img {
        max-width: 400px;

    }
    .details p {
        font-size: 16px;
        max-width: 440px;
        text-align: left;
    }

    .details h2 {
      margin-top: 5%;
    }
    .tag {
        font-size: 12px;
        margin-left: 0;
        margin-right: 0;
    }
    .designproc > .flex-container {
        flex-direction: row;
    }
    .designproc h3{
      width: 90%;
      text-align: left;
      padding: 0px;
      margin:0px;
    }

    .designproc p{
      width: 80%;
      text-align: left;
      padding: 0px;
      margin:0px;
    }

    .designproc img{
      text-align: center;
    }
}



@media (max-width: 930px) {
    .right {
        margin-left: 25px;
    }
   .left {
       margin-right: 25px;
   }
   .thumbnail > img {
       max-width: 350px;
   }
}

@media (max-width: 850px) {
    .grid-container {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .right, .left {
        margin: 0;
    }
    .details p {
        width: 100%;
          text-align: left;
    }
    .thumbnail > img {
        max-width: 90vw;
    }
}

@media (min-width: 681px) {
    .one-fourth > p {
        font-size: 16px;
        line-height: 22px;
        max-width: 300px;
        padding: 0 15px;
    }
    .designproc > .flex-container > .flex-column {
        flex-direction: row;
    }
    .mobile {
        display: none;
    }
}

@media (max-width: 680px) {
  .hero-text {
      min-width: 300px;
  }
  .hero-content {
      height:100px;
      background-position: 60% 50%;
  }
  .hero-content img {
      width: 25%;
      height: auto;
  }
  .hero-text h1 {
     font-size: 20px;
  }
  .hero-text h2 {
      font-size: 36px;
      line-height: 26px;
  }
  .hero-text p {
      font-size: 18px;
  }
  .hero-text h1,
  .hero-text h2,
  .hero-text p {
      padding-bottom: 0px;
  }


    h1 {
        font-size: 30px;
    }
    .mobile-hide {
        display: none;
    }
    .thumbnail > img {
        padding-bottom: 40px;
    }
    .tag {
        font-size: 11px;
    }
    .button {
        margin-bottom: 30px;
    }
    .process {
        padding: 50px 30px;
    }
    #subtitle {
        font-size: 16px;
        padding-bottom: 0;
    }


    .one-fourth > h1 {
        font-size: 24px;
    }

    .one-fourth > p {
        font-size: 14px;
        line-height: 1.3;
    }

    .one-fourth {
      width:50%;
      padding: 25% 5% 0% 25%;
    }

    .icon {
        width: 100px;
        height: 100px;

    }

    .top {
      padding-top: 50px;
    }

    .icon > .re {
    font-size: 24px;
    padding: 10%;
    }



    .menu-container a {
      color: black;
    }

    .one-fourth {
      width: 80%;
    }


    .icon {
      padding-left:0%;
      padding-top: 0px;
      padding-bottom: 0px;
      margin-right: 50%;
    }

    .visual-design {
      width:100%;
    }

    .top{
      width:100%;
      margin-right: 50%;
    }

    .designproc h3{
      width: 100%;
      text-align: left;
      padding: 0px;
      margin:0;
    }

    .designproc p{
      width: 100%;
      text-align: left;
      padding: 0px;
      margin:0;
    }

    .designproc img{
      text-align: center;
    }

    .top {
      margin-right: 80%;
      margin-top: 5%;
      margin-bottom: 5%;
    }

    .designproc > .flex-container {
        flex-direction: column;
    }

    footer h2 {
      font-size: 20px;
      padding-top: 5%;
    }

    footer {
      padding-top: 5%;
    }

    .aboutbutton {
      padding-bottom: 15%;
    }

    .designproc > .one-fourth {
        flex-direction: column;
    }

    .no-mobile{
      display: none;
    }

    .mobile {
      display: inline;
    }

    .process-center img {
      text-align: center;
      padding-left: 32%;
    }


    }
