* {
    box-sizing: border-box;
    margin: 0 auto;
}
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
body {
  background: #2e2d2d;
  font-family: 'Spartan', sans-serif;
  font-size: 22px;
  line-height: 160%;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
a {
  text-decoration: none;
  color: white;
}
b {
  font-weight: 900;
}
h1, h2, h3 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  margin: 0;
  color: white;
}
h1 {
  font-size: 84.6px;
  line-height: 82px;
}
h2 {
  font-size: 56.8px;
  line-height: 62px;
}
h3 {
  font-size: 22px;
}
h4 {
  font-size: 30px;
}
button, input[type=submit] {
  font-family: 'Spartan', sans-serif;
  border: none;
  outline: none;
  background-color: #007aff;
  min-width: 330px;
  height: 70px;
  border-radius: 59px;
  color: white;
  font-size: 22px;
  cursor: pointer;
  padding-top: 5px;
  font-weight: 600;
}
button.negative {
  border: 5px solid #007aff;
  background-color: transparent;
  color: #007aff;
}
button.negative.white {
  border: 5px solid white;
  background-color: transparent;
  color: white;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    box-shadow: 0 0 0px 1000px #777676 inset !important;
    -webkit-box-shadow: 0 0 0px 1000px #777676 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}
input:not([type=submit]), textarea {
    font-family: 'Spartan', sans-serif;
    font-size: 16px;
    padding: 12px 15px 11px 15px;
    border-radius: 5px;
    outline: none;
    color: #777676;
    border: 4px solid #777676;
    background-color: #777676;
    margin: 0 12px;
    cursor: pointer;
    position: relative;
}
    input:not([type=submit]), label, textarea {
        width: 100%;
        font-size: 12px;
        color: white;
        margin: 0;
        border: 2px solid #252F39;
        cursor: initial;
    }
        input::placeholder {
            color: rgba(255,255,255,0.5);
            font-style: italic;
        }
            input:focus::placeholder,
            input:active::placeholder {
                color: transparent;
            }
        label {
            padding-left: 5px;
            border: none;
        }
        textarea {
            resize: none;
            height: 295px;
        }
    input.error, textarea.error {
        border-color: #ff295c!important;
    }
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
    input[type=number] {
      -moz-appearance: textfield;
    }
.nav {
  position: fixed;
  width: 191px;
  height: 100%;
  background: #272727;
  box-shadow: 10px 4px 14px rgba(0, 0, 0, 0.15);
  display: grid;
  grid-template-rows: 25.6% auto;
  z-index: 99;
}
  .nav div, .footer div {
    width: 100%;
  }
.nav .logo, .footer .logo {
  width: 130px;
  height: 52px;
  margin-top: 44px;
  position: relative;
}
.nav .menu {
  display: grid;
  grid-template-rows: auto 45.6%;
}
  .logo::before {
    content: "";
    position: absolute;
    width: 67px;
    height: 28px;
    top: 9px;
    right: 0;
    background: url(../images/osi.svg) no-repeat;
  }
  .logo::after {
    content: "Design Center";
    font-size: 9px;
    color: white;
    position: absolute;
    height: 23px;
    bottom: 1px;
    right: -2px;
  }
  #toggle {
    cursor: pointer;
    margin-top: 8px;
    display: none;
  }
.links {
  display: grid;
  grid-template-rows: repeat(6, 39px);
  row-gap: 4vh;
  align-items: center;
  padding-left: 72px;
  line-height: 43px;
}
.links a {
  font-size: 13px;
  height: 39px;
  margin-left: 0;
}
  .links a div::before {
    position: absolute;
    content: "";
    left: 41px;
    width: 24px;
    height: 39px;
    background-image: url(../images/icons/home.svg);
    background-repeat: no-repeat;
    background-position: center center;
  }
    .links a:nth-child(2) div:before {
      background-image: url(../images/icons/services.svg);
    }
    .links a:nth-child(3) div:before {
      background-image: url(../images/icons/work.svg);
      background-size: 18px 18px;
    }
    .links a:nth-child(4) div:before {
      background-image: url(../images/logo.svg);
      background-size: 18px 18px;
    }
    .links a:nth-child(5) div:before {
      background-image: url(../images/icons/price.svg);
    }
    .links a:last-child div:before {
      background-image: url(../images/icons/contact.svg);
    }
  .links a div.active::after {
    position: absolute;
    content: "";
    left: 50%;
    transform: translate(-50%);
    width: 130px;
    height: 39px;
    background: rgba(255,255,255,.1);
    border-radius: 20px;
  }
.social {
  display: grid;
  align-items: center;
}
.social div div {
  background-repeat: no-repeat;
  background-position: center center;
  height: 46px;
  width: 100%;
}
  .social div a:first-child div {
    background-image: url(../images/icons/dribbble.svg);
  }
  .social div a:nth-child(2) div {
    background-image: url(../images/icons/facebook.svg);
  }
  .social div a:last-child div {
    background-image: url(../images/icons/linkedin.svg);
  }
.pics {
  position: absolute;
  width: 820px;
  height: 100%;
  min-height: 1100px;
  top: 0;
  right: 0;
  z-index: -1;
}
  .pics::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 19px;
    width: calc(100vw - 251px);
    height: 1px;
    background: rgba(255,255,255,.3);
  }
.first, .second {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 100%;
}
  .first {
    min-height: 1120px;
  }
  .first h1 {
    padding-top: 15px;
    max-width: 65%;
  }
  .first .container {
    width: 100%;
    padding-left: 337px;
    margin-left: 0;
  }
  .first p {
    font-size: 21.4px;
    line-height: 40px;
    max-width: 57%;
    margin-left: 0;
    padding: 55px 0 70px 0;
  }
  .second .container {
    box-sizing: content-box;
    max-width: 1426px;
    padding-left: 201px;
    text-align: center;
    padding-bottom: 225px;
  }
  .second h2 {
    margin-top: 75px;
  }
  .second .approach {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 39px;
    margin:144px 0 115px 0;
  }
    .second .approach div {
      position: relative;
      padding-top: 97px;
    }
    .second .approach div::before {
      content: "";
      position: absolute;
      width: 88px;
      height: 88px;
      top: 0;
      left: 50%;
      transform: translate(-50%);
      background-image: url(../images/icons/analysis.svg);
      background-repeat: no-repeat;
      background-position: center center;
    }
      .second .approach div:first-child::before {
        background-image: url(../images/icons/analysis.svg);
      }
      .second .approach div:nth-child(2)::before {
        background-image: url(../images/icons/ideation.svg);
      }
      .second .approach div:nth-child(3)::before {
        background-image: url(../images/icons/design.svg);
      }
      .second .approach div:nth-child(4)::before {
        background-image: url(../images/icons/testing.svg);
      }
      .second .approach div:last-child::before {
        background-image: url(../images/icons/development.svg);
      }
  .second p, .third p {
    font-size: 14px;
    line-height: 24px;
  }
  .second h3 {
    margin: 37px 0 38px 0;
  }
.third {
  width: 100%;
  padding-left: 191px;
}
  .third h2 {
    margin-bottom: 80px;
    text-align: center;
  }
  .third .container {
    position: relative;
    width: calc(100% - 40px);
    display: grid;
    row-gap: 20px;
    column-gap: 20px;
    grid-template-columns: 1fr 1fr;
  }
  .third .emblem {
    width: 145px;
    height: 145px;
    border-radius: 100%;
    box-shadow: 0px 9px 44px rgba(0, 0, 0, 0.15);
    font-weight: 700;
  }
  .third .screen, .third .tcd, .third .wellchat, .third .sunshine, .third .nhr, .third .proto {
    grid-column: 1/3;
    width: 100%;
    display: grid;
    grid-template-columns: 52% 48%;
    text-align: center;
    align-items: center;
    min-height: 835px;
    padding: 50px 0;
  }
  .third .proto {
    background: #9898A3 url(../images/proto/logo.svg) no-repeat bottom 50px left 40%;
    grid-template-columns: 40% 60%;
  }
  .third .wellchat {
    grid-column: 1;
    background: white url(../images/wellchat/back.jpg) no-repeat top 50px right 35px;
    background-size: 80%;
    grid-template-columns: 40% 60%;
    position: relative;
  }
  .third .sunshine {
    grid-column: 2;
    background: white url(../images/sunshine/back.svg) no-repeat bottom -350px left -75px;
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }
  .third .wellchat .emblem {
    background: white url(../images/wellchat/logo.svg) no-repeat center center;
    background-size: 100px 100px;
  }
  .third .wellchat .image {
    padding: 50px 10px 50px 25px;
  }
  .third .sunshine .image {
    width: 100%;
    padding: 50px 75px 0 75px;
  }
  .third .wellchat .product {
    padding-top: 200px;
  }
  .third .sunshine .product {
    display: grid;
    align-items: center;
    grid-template-columns: 175px 1fr;
    grid-template-rows: 100px auto;
  }
  .third .sunshine .emblem {
    grid-row: 1/3;
  }
  .third .screen {
    background: #3B3B3F url(../images/screen/image.png);
    background-repeat: no-repeat;
    background-position: bottom -1px left -1px;
    background-size: 60%;
    grid-template-columns: 52% 48%;
  }
    .third .screen .emblem {
        background: #FFFFFF;
        text-align: center;
        line-height: 145px;
        font-size: 28px;
        letter-spacing: -1px;
        color: #252f39;
    }
    .third .screen .product {
      grid-column: 2;
    }
  .third .nhr {
    background: #007AFF;
    grid-template-columns: 48% 52%;
  }
    .third .nhr .emblem {
      background: #007AFF url(../images/nhr/logo.svg) no-repeat center center;
      background-size: 73px 80px;
    }
    .third .nhr .image {
      padding: 50px;
    }
  .third .tcd {
    background: #F4F4F4;
    color: #252f39;
    grid-template-columns: 48% 52%;
  }
    .third .tcd .emblem {
      background: #FF0066 url(../images/tcd/logo.svg) no-repeat center center;
      background-size: 73px 73px;
    }
    .third .tcd .image {
      padding: 50px 0;
      position: relative;
      margin-right: 75px;
    }
    .third .tcd .image::before {
      content: "";
      position: absolute;
      width: 157px;
      height: 160px;
      right: -20px;
      top: -57px;
      background: url(../images/tcd/top.svg) no-repeat;
      background-size: 100%;
      z-index: 0;
    }
    .third .tcd .image img {
      position: relative;
      z-index: 1;
      filter: drop-shadow(0px 4px 34px rgba(0,0,0,.25));
    }
    .third .wellchat .image img, .third .nhr .image img, .third .proto .image img {
      filter: drop-shadow(0px 4px 34px rgba(0,0,0,.25));
    }
    .third .tcd h2, .third .wellchat h2, .third .sunshine h2 {
      color: #252f39;
    }
    .third .sunshine .emblem {
      background: #007aff url(../images/sunshine/logo.svg) no-repeat center center;
      background-size: 87px 87px;
    }
    .product h2 {
      margin: 50px 0;
    }
    .product p {
      max-width: 500px;
      margin-bottom: 50px;
    }
.fourth {
  padding-left: 191px;
  margin: 150px 0;
}
  .fourth .container {
    width: calc(100vw - 335px);
    display: grid;
    align-items: center;
    grid-template-columns: repeat(5, auto);
    max-width: 1425px;
  }
  .fourth .container img {
    height: 57px;
  }
  .fourth .container img:first-child {
    height: 43px;
  }
  .fourth .container img:nth-child(3) {
    height: 47px;
  }
  .fourth .container img:last-child {
    height: 47px;
  }
.fifth .container {
  width: 100%;
  padding-left: 191px;
  display: grid;
  align-items: center;
  text-align: center;
  min-height: 90vh;
  position: relative;
}
  .fifth .container::before {
    position: absolute;
    bottom: 0;
    content: "";
    height: 100%;
    width: 100%;
    background-image: url(../images/people/all.jpg);
    background-size: auto 100%;
    opacity: .15;
    z-index: -1;
  }
  .fifth h4 {
    margin: 35px 0;
    color: white;
  }
  .fifth p {
    font-size: 16px;
    line-height: 25px;
    max-width: 620px;
    margin-bottom: 65px;
  }
.header {
  width: 100%;
  height: 478px;
  display: grid;
  align-items: center;
  margin-bottom: 100px;
}
  .header::before {
    position: absolute;
    content: "";
    height: 478px;
    width: 100%;
    background-size: auto 100%;
    opacity: .15;
    z-index: -1;
  }
  .header h1 {
    text-align: center;
  }
  .header .container {
    padding-left: 191px;
  }
  .header.services::before {
    background-image: url(../images/people/all.jpg);
  }
  .header.about::before {
    background-image: url(../images/about.jpg);
    background-size: cover;
  }
  .header.contact::before {
    background-image: url(../images/contact.jpg);
    background-size: cover;
  }
  .header.work::before {
    background-image: url(../images/work.jpg);
    background-size: cover;
  }
  .header.work {
    margin-bottom: 0;
  }
  .inner .container {
    display: grid;
    align-items: center;
    width: calc(100vw - 335px);
    max-width: 1425px;
  }
  .inner p:not(.result p) {
    font-size: 20px;
    line-height: 32px;
  }
  .inner h2 {
    line-height: 90px;
    text-align: center;
    position: relative;
  }
  .inner.about h2::before {
    content: "";
    position: absolute;
    width: 108px;
    height: 80px;
    background-size: auto 100%;
    background-position: center center;
    background-repeat: no-repeat;
    left: 50%;
  }
  .about .goal h2::before {
    transform: translate(-235px);
    background-image: url(../images/icons/goal.svg);
  }
  .about .team h2::before {
    background-size: auto 71px;
    transform: translate(-275px);
    background-image: url(../images/icons/team.svg);
  }
  .inner {
    padding-left: 191px;
    display: grid;
    align-items: center;
  }
  .inner.about .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 85px;
    padding: 65px 0 105px 0;
  }
  .inner.about .members, .inner.services .list {
    width: 100%;
    display: grid;
    grid-template-columns: 330px 1fr 330px;
  }
  .inner.contact .list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8vw;
    row-gap: 50px;
    margin-bottom: 50px;
  }
  .inner.contact .list img {
    border-radius: 5px 5px 0 0;
    position: relative;
  }
  .inner.contact .list b {
    color: black;
  }
  .inner.contact .list div:nth-child(5) p:not(.phone),
  .inner.contact .list div:nth-child(6) p:not(.phone) {
    margin-top: 0;
    font-size: 18px;
  }
  .inner.contact .list div:nth-child(5),
  .inner.contact .list div:nth-child(6) {
    background: white;
    border-radius: 5px;
    color: black;
    position: relative;
  }
  .inner.contact .list div:nth-child(5) div,
  .inner.contact .list div:nth-child(6) div {
    padding: 15px 25px 30px 25px;
  }
  .inner.contact .list div:nth-child(5)::before,
  .inner.contact .list div:nth-child(6)::before {
    content: "";
    position: absolute;
    width: 75px;
    height: 75px;
    background: #007aff;
    top: 125px;
    left: 50%;
    transform: translate(-50%);
    z-index: 2;
    -webkit-mask: url(../images/logo.svg) no-repeat;
    mask: url(../images/logo.svg) no-repeat;
    -webkit-mask-size: 100%;
    mask-size: 100%;
  }
  .inner.contact .list .phone {
    margin-top: 20px;
    color: rgb(234,10,42);
    padding-left: 35px;
    position: relative;
  }
  .inner.contact .list .phone::before {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: url(../images/icons/phone.svg) no-repeat;
  }
  .inner.about .members div,
  .inner.services .list div {
    margin-bottom: 75px;
    max-width: 330px;
  }
  .inner.contact .list div, .inner.contact h2 {
    text-align: left;
    margin-left: 0;
  }
  .inner.services .list div img {
    margin-bottom: 15px;
    height: 45px;
  }
  .inner.about .members img {
    width: 330px;
  }
  .inner b {
    font-size: 23px;
    font-weight: 700;
    color: white;
  }
  .inner p:not(.result p) {
    font-size: 15px;
    margin-top: 23px;
  }
  .inner.about .members a img {
    width: 20px;
  }
  .inner.about .members a:last-child img {
    width: 17px;
  }
  .inner .list {
    margin-bottom: 100px;
  }
  .inner .path {
    margin-top: 100px;
    margin-bottom: 150px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .inner .path .title {
    grid-column: 1/4;
    padding-bottom: 150px;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    position: relative;
    margin-left: 50px;
  }
    .inner .path .title.r h2 {
      padding-left: 50px;
    }
    .inner .path .title.d h2 {
      padding-left: 15px;
    }
    .inner .path .title.c::before, .inner .path .title.r::before {
      content: "";
      position: absolute;
      width: 453px;
      height: 196px;
      background: url(../images/services/curve.svg) no-repeat center center;
      background-size: 100%;
      top: 150px;
      left: 150px;
    }
    .inner .path .title.r::after, .inner .path .title.d::after {
      content: "";
      position: absolute;
      width: 453px;
      height: 196px;
      background: url(../images/services/curve.svg) no-repeat center center;
      background-size: 100%;
      top: -155px;
      left: 150px;
      -webkit-transform: scaleX(-1);
      transform: scaleX(-1);
    }
    .inner .path .empty {
      width: 85%;
      background: url(../images/services/line.svg) no-repeat center center;
      background-size: auto 2px;
    }
    .inner .path .bottom {
      position: relative;
    }
    .inner .path .bottom::before {
      content: "";
      position: absolute;
      width: 87px;
      height: 2px;
      background: url(../images/services/line.svg) no-repeat center center;
      transform: rotate(90deg);
      top: 140%;
      left: 20%;
    }
  .inner .path div:not(.title) {
    margin-bottom: 160px;
  }
  .form div:not(.code) {
    display: grid;
    grid-template-columns: 35% 45%;
    column-gap: 15px;
    row-gap: 35px;
    margin-top: 5px;
  }
  .form div .code {
    border-radius: 5px;
    height: 45px;
    overflow: hidden;
    width: 100%;
    background-color: #d9d9d9;
    border: 2px solid #d9d9d9;
    text-align: center !important;
  }
  .inner.contact .list #code {
    background: transparent;
    border: 1px solid #d9d9d9;
  }
.footer {
  border-top: 64px solid #007AFF;
  padding-left: 191px;
}
  .footer .container {
    width: calc(100vw - 335px);
    display: grid;
    grid-template-columns: auto 1fr;
    max-width: 1425px;
  }
  .footer .top {
    width: 100%;
    padding: 37px 0 64px 0;
    grid-column: 1/3;
    border-bottom: 1px solid rgba(255,255,255,.7);
  }
  .footer .logo {
    margin-top: 38px;
  }
  .footer p {
    font-size: 15px;
    text-align: right;
    line-height: 27px;
    padding: 36px 0 76px 0;
  }
  .footer a {
    margin-left: 0;
  }
  .footer .top a {
    text-transform: uppercase;
    font-size: 15px;
    color: rgba(255,255,255,.7);
    margin-right: 15px;
  }
.blue {
  color: #007aff !important;
}
.animiran {
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  }
/* alert */

.alert {
  position: fixed;
  top: 125px;
  left: 50%;
  transform: translate(calc(-50% + 100px));
  width: calc(100vw - 50px);
  max-width: 346px;
  background: #252f39;
  border-radius: 58px;
  color: white;
  font-size: 12px;
  display: none;
  z-index: 999;
}
  .alert .ok,
  .alert .fail {
      height: 52px;
      display: grid;
      grid-template-columns: 47px auto 57px;
      align-items: center;
      line-height: 54px;
  }
      .alert .fail .icon {
          width: 23px;
          height: 23px;
          background: #FF0066;
          border-radius: 100%;
          margin-top: -2.5px;
      }

      .alert .fail .fields_error {
        margin: 0;
      }
      .alert .ok .icon {
          width: 23px;
          height: 23px;
          background: #2cd952;
          border-radius: 100%;
          margin-top: -2.5px;
      }
          .alert .icon span {
              position: absolute;
              width: 13px;
              height: 2px;
              background: #252f39;
              border-radius: 2px;
              transform: rotate(-45deg) translate(-2.5px, 12.5px);
          }
          .alert .fail .icon span:first-child {
              transform: rotate(-45deg) translate(-4px, 11px);
          }
          .alert .fail .icon span:last-child {
              transform: rotate(45deg) translate(11px, 4px);
          }
          .alert .ok .icon span:last-child {
              width: 7px;
              transform: rotate(45deg) translate(12px, 6px);
          }
      .alert .close {
          width: 17px;
          height: 17px;
          margin: 11px 0 0 15px;
          cursor: pointer;
      }
          .alert .close span {
              position: absolute;
              width: 21px;
              height: 2px;
              background: white;
              border-radius: 2px;
              transform: rotate(45deg);
          }
          .alert .close span:last-child {
              transform: rotate(-45deg);
          }
/* animated menu icon */
#nav-icon {
  width: 23px;
  height: 23px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  }
  #nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: white;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  }
  #nav-icon span:nth-child(1) { top: 0px; }
  #nav-icon span:nth-child(2),#nav-icon span:nth-child(3) { top: 6px; }
  #nav-icon span:nth-child(4) { top: 12px; }
  #nav-icon.open span:nth-child(1) { top: 18px; width: 0%; left: 50%; }
  #nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  }
  #nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  }
  #nav-icon.open span:nth-child(4) { top: 18px; width: 0%; left: 50%; }
