body {
  font-family: 'Prompt', sans-serif;
  color: #00695d;
  margin: 0;
  font-size: 20px;
  background-color: #d4ccc4; }

header {
  margin-top: 140px; }
  @media (max-width: 690px) {
    header {
      margin-top: 100px; } }
  header #nav {
    height: 47px;
    width: 482px;
    margin-top: 40px;
    border-color: #00695d;
    border: 2px solid;
    display: flex;
    align-items: center;
    border-right: 0; }
    @media (max-width: 690px) {
      header #nav {
        display: none; } }
    header #nav a {
      font-size: 12px;
      text-transform: uppercase;
      height: 100%;
      display: flex;
      align-items: center;
      width: 160px;
      justify-content: center;
      border-right: 2px solid;
      font-weight: 500;
      letter-spacing: 1px;
      background-color: transparent;
      -webkit-transition: background-color 0.2s ease;
      -moz-transition: background-color 0.2s ease;
      -ms-transition: background-color 0.2s ease;
      -o-transition: background-color 0.2s ease;
      transition: background-color 0.2s ease; }
      header #nav a:hover {
        background-color: #e2d9d1; }
  header #side-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: -161px;
    top: 270px;
    opacity: 0;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear; }
    @media (max-width: 1600px) {
      header #side-nav {
        left: -122px; } }
    @media (max-width: 690px) {
      header #side-nav {
        position: static;
        width: auto;
        opacity: 1;
        flex-direction: row;
        align-items: center;
        margin-left: 65px;
        transition: unset; } }
    header #side-nav a {
      position: relative;
      display: inline-flex;
      font-size: 18px;
      font-weight: 500;
      margin-bottom: 3px; }
      @media (max-width: 690px) {
        header #side-nav a {
          margin-bottom: 0;
          margin-right: 20px;
          top: 1px; } }
      header #side-nav a:after {
        content: '';
        display: block;
        position: absolute;
        bottom: 2px;
        width: 100%;
        height: 2px;
        background-color: transparent;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease; }
      header #side-nav a.active:after {
        background-color: #00695d; }
      header #side-nav a:hover:after {
        background-color: #00695d; }
    header #side-nav.visible {
      opacity: 1;
      top: 282px; }
  header .image {
    position: relative;
    margin-top: 45px; }
    header .image.margin-top {
      margin-top: 125px; }
    @media (max-width: 690px) {
      header .image {
        max-width: 100%;
        height: 365px;
        background-image: url("../img/taavi.jpg");
        background-repeat: no-repeat;
        background-position: 72% 50%;
        background-size: cover;
        margin-top: 40px; }
        header .image img {
          display: none; } }
    @media (max-width: 413px) {
      header .image {
        height: 325px; } }
    header .image .txt {
      position: absolute;
      left: 0;
      bottom: -25px;
      display: block;
      font-size: 14px; }

.container {
  max-width: 1440px;
  margin: 0 auto; }
  @media only screen and (max-width: 1860px) {
    .container {
      margin-left: 230px;
      padding-right: 100px; } }
  @media (max-width: 1600px) {
    .container {
      max-width: 100%;
      margin-left: 0;
      padding-left: 162px;
      padding-right: 35px; } }
  @media (max-width: 690px) {
    .container {
      padding-right: 15px;
      padding-left: 15px; } }

main {
  margin-top: 110px; }
  @media (max-width: 690px) {
    main {
      margin-top: 60px; } }

* {
  box-sizing: border-box; }

a {
  text-decoration: none;
  color: #00695d; }

img {
  max-width: 100%;
  vertical-align: bottom; }

p {
  line-height: 24px; }
  p.weight-medium {
    font-weight: 500; }
  p.weight-bold {
    font-weight: 600; }
  p.underline {
    text-decoration: underline; }
  p.margin-top {
    margin-top: 35px; }

strong.underline {
  text-decoration: underline; }

strong.weight-medium {
  font-weight: 500; }

h2 {
  font-size: 30px; }

video {
  max-width: 100%;
  vertical-align: bottom; }
  @media (max-width: 690px) {
    video.desktop {
      display: none;
      content-visibility: hidden; } }
  video.mobile {
    display: none;
    content-visibility: hidden; }
    @media (max-width: 690px) {
      video.mobile {
        display: initial;
        content-visibility: visible; } }

section {
  margin-bottom: 70px; }
  section.featured {
    margin-bottom: 90px; }
    @media (max-width: 690px) {
      section.featured {
        margin-bottom: 55px; } }
  section.blur {
    filter: blur(4px); }

.side-wrap {
  position: fixed; }
  @media (max-width: 690px) {
    .side-wrap {
      z-index: 2;
      top: 0;
      left: 0;
      right: 0;
      display: flex;
      height: 75px;
      width: 100%;
      border-bottom: 2px solid #00695d;
      padding: 0 15px;
      background: #d4ccc4; } }
  .side-wrap #logo {
    position: absolute;
    height: auto;
    left: -160px;
    top: 145px;
    cursor: pointer; }
    @media (max-width: 1600px) {
      .side-wrap #logo {
        left: -120px; } }
    @media (max-width: 690px) {
      .side-wrap #logo {
        top: 2px;
        left: 15px;
        max-width: 46px !important; } }

.site-title {
  margin: 0;
  font-size: 86px;
  font-weight: 500;
  line-height: 1; }
  @media (max-width: 690px) {
    .site-title {
      font-size: 42px;
      font-weight: bold; } }

.intro .main-text {
  max-width: 865px;
  font-size: 30px;
  line-height: 36px;
  margin-top: 30px; }
  @media (max-width: 690px) {
    .intro .main-text {
      font-size: 20px;
      line-height: 26px;
      margin-top: 20px;
      font-weight: 500; } }
  @media (max-width: 690px) {
    .intro .main-text strong.weight-medium {
      font-weight: bold; } }

.intro .detail-text {
  max-width: 480px;
  font-size: 20px;
  line-height: 24px; }
  @media (max-width: 690px) {
    .intro .detail-text {
      font-size: 18px;
      line-height: 22px; } }
  .intro .detail-text span {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    line-height: 20px; }

.intro .medium {
  font-weight: 500;
  text-decoration: underline; }

.overlay {
  opacity: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 100px;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: #d4ccc4f0; }
  .overlay.show {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    opacity: 1;
    z-index: 3;
    top: 0; }
  .overlay.move {
    top: 100vh; }
  @media (max-width: 1920px) {
    .overlay img {
      max-width: 80%; } }
  @media (max-width: 690px) {
    .overlay img {
      max-width: 100%; } }

a.out {
  display: inline-flex;
  align-items: center;
  font-weight: 500; }
  a.out svg {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    width: 15px;
    margin-left: 10px;
    margin-top: 3px; }
  a.out:hover svg {
    margin-left: 15px; }
  a.out.ek:hover svg {
    fill: #d55e50; }
  a.out.seb:hover svg {
    fill: #60cd18; }
  a.out.sirel:hover svg {
    fill: #2c6448; }

.spacer {
  display: block;
  width: 30px;
  height: 2px;
  background-color: #3c887d; }

.project {
  margin-bottom: 75px;
  padding-bottom: 75px;
  border-bottom: 1px solid #00695d; }
  @media (max-width: 690px) {
    .project {
      margin-bottom: 50px;
      padding-bottom: 50px; } }
  .project:last-of-type {
    margin-bottom: 0; }
  .project .text {
    display: flex;
    margin-top: 75px; }
    @media (max-width: 690px) {
      .project .text {
        flex-direction: column;
        margin-top: 25px; } }
    .project .text > div {
      width: 50%; }
      @media (max-width: 690px) {
        .project .text > div {
          width: 100%; } }
    .project .text .lead {
      margin-right: 50px; }
      .project .text .lead .info, .project .text .lead .design {
        display: block; }
    .project .text .case h3 {
      font-size: 24px; }
  .project .video-container {
    position: relative;
    margin-top: 45px;
    min-height: 720px; }
    @media (max-width: 1600px) {
      .project .video-container {
        min-height: auto; } }
  .project .images {
    margin-top: 75px; }
    @media (max-width: 690px) {
      .project .images {
        margin-top: 35px; } }
    .project .images .row {
      display: flex; }
      @media (max-width: 690px) {
        .project .images .row {
          flex-direction: column; } }
      .project .images .row > div {
        max-width: 715px;
        height: auto;
        margin-bottom: 10px;
        cursor: pointer; }
        .project .images .row > div:nth-of-type(1) {
          margin-right: 10px; }
          @media (max-width: 690px) {
            .project .images .row > div:nth-of-type(1) {
              margin-right: 0; } }
        .project .images .row > div img {
          height: auto;
          border-bottom: 2px solid transparent;
          -webkit-transition: border-color 0.3s linear;
          -moz-transition: border-color 0.3s linear;
          -ms-transition: border-color 0.3s linear;
          -o-transition: border-color 0.3s linear;
          transition: border-color 0.3s linear; }
          .project .images .row > div img:hover {
            border-color: #00695d; }
    .project .images.seb .row > div img:hover {
      border-color: #60cd18; }

.new {
  margin-top: 10px;
  font-size: 14px; }
  .new strong {
    font-weight: 500;
    text-decoration: underline; }

.skills .text {
  max-width: 40%; }
  @media (max-width: 890px) {
    .skills .text {
      max-width: 100%; } }
  @media (max-width: 690px) {
    .skills .text p.margin-top {
      margin-top: 0; } }
  .skills .text .wrap .other {
    font-size: 14px;
    margin-top: 30px; }
    .skills .text .wrap .other strong {
      font-weight: 500;
      text-decoration: underline; }
  .skills .text .wrap .firm {
    margin-top: 20px; }
    .skills .text .wrap .firm .years {
      display: block;
      font-size: 14px;
      font-weight: bold; }
    .skills .text .wrap .firm .title {
      display: block;
      font-size: 16px; }
  .skills .text .wrap .code {
    margin-top: 30px; }

.contact .text a {
  display: block; }

.contact .text .mail {
  text-decoration: underline; }

footer {
  position: relative;
  margin-bottom: 40px; }
  footer span {
    font-weight: 600;
    font-size: 14px; }

::-moz-selection {
  /* Code for Firefox */
  color: red;
  background: yellow; }

::selection {
  color: #fff;
  background: #00695d; }

.loading-bar-spinner.spinner {
  left: 50%;
  margin-left: -20px;
  top: 50%;
  margin-top: -20px;
  position: absolute;
  z-index: 19 !important;
  animation: loading-bar-spinner 600ms linear infinite; }

.loading-bar-spinner.spinner .spinner-icon {
  width: 40px;
  height: 40px;
  border: solid 4px transparent;
  border-top-color: #00695d !important;
  border-left-color: #00695d !important;
  border-radius: 50%; }

@keyframes loading-bar-spinner {
  0% {
    transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg); } }
