* {
    padding: 0%;
    margin: 0%;
    
}

:root {
    font-size: 16px;
    font-weight: 200;
    --text-primary: #bbb;
    --text-secondary: #ececec;
    --bg-primary: #060608;
    --bg-secondary: #212325;
    --transition-speed: 600ms;
  }

h1{
    font-size: 3em;
    padding-top: 30px;
    font-weight: 400;
}


body{
    font-family: 'Fira Sans', sans-serif;
    /* background-image: linear-gradient( 90deg,  rgb(19, 23, 53) 11.2%, rgba(36,163,190,1) 91.1% );
    background-size: 100% 100%; */
    height: 100vh;
    color: #bbb;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
    background: linear-gradient(-45deg, hsl(14, 82%, 43%), hsl(338, 72%, 32%), hsl(196, 78%, 43%), #23d5ab);
    /* background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); */
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 100vh;
    }
    
  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 75% 25%;
    }
    100% {
      background-position: 0% 50%;
    }
    }


main {
  overflow-x: hidden;
}

.hero-image{
   
    background-size: cover;
    width: 100%;
    height: 100vh;
    top: 0px;
    position: fixed;
}

.tekst{
    margin-right: 5rem;
    background: linear-gradient(90deg,  rgba(0, 0, 0, 0.01) 11.2%, rgba(0, 0, 0, 0.15) 91.1% );
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: justify;
    height: auto;
    width: auto;
}

.top{
    display: flex;
    width: 100%;
    max-width: 1700px;
    top: 0px;
    height: fit-content;
    position: sticky;
    z-index: 1000;
}


/* .logo{
    margin-left: 20px;
    font-size: 1.5em;
    font-weight: 200;
} */


.hele{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1700px;
    height: 100%;
    mix-blend-mode: multiply;
    /* top: 0px; */
}



.omoss{
    background-color: var(--bg-primary);
    padding: 2rem;
    align-content: center;
    align-self: center;
}

a{
    color: #eee;
    text-decoration: none;
}

a:hover{
    color: #aaa;
}


#welcome-section{
    display: flex;
    /* flex-direction: column; */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    color: #eee;
}

#projects{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
}

.kontakt{
    display: flex;
    background-color: var(--bg-primary);
    justify-content: space-between;
    padding: 75px 25px 25px 25px;
}

.tile{
    width: 100px;
}

@media  only screen and (max-width: 900px) {
    #welcome-section{
        flex-direction: column;
    }

    .tekst{
        margin: 5rem
    }
}

.waves {
    position:relative;
    width: 100%;
    height:15vh;
    margin-bottom:-7px; /*Fix for safari gap*/
    min-height:60px;
    max-height:80px;
    color: var(--bg-primary);
  }
  
.low {
    filter: opacity(.5)
}

.medium {
    filter: opacity(.7)
}

.high {
    filter: opacity(.9)
}

.snudd {
    transform: scaleY(-1);
}  

  .parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
  }
  .parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
  }
  .parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
  }
  .parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
  }
  .parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
  }
  @keyframes move-forever {
    0% {
     transform: translate3d(-90px,0,0);
    }
    100% { 
      transform: translate3d(85px,0,0);
    }
  }
  /*Shrinking for mobile*/
  @media (max-width: 768px) {
    .waves {
      height:40px;
      min-height:40px;
    }
  }  



  
  main {
    margin-left: 5rem;
    padding: 0rem;
  }

  .m-left {
    margin-left: 5rem;
    padding: 0rem;
  }
  
  .navbar {
    position: fixed;
    background-color: var(--bg-primary);
    transition: width 600ms ease;
    overflow: hidden;
    z-index: 1000;
  }
  
  .navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-item:last-child {
    margin-top: auto;
  }
  
  .nav-link {
    display: flex;
    align-items: center;
    height: 5rem;
    color: var(--text-primary);
    text-decoration: none;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition-speed);
  }
  
  .nav-link:hover {
    filter: grayscale(0%) opacity(1);
    background: var(--bg-secondary);
    color: var(--text-secondary);
  }
  
  .link-text {
    display: none;
    margin-left: 1rem;
  }
  
  .nav-link svg {
    width: 2rem;
    min-width: 2rem;
    margin: 0 1.5rem;
  }
  
  .fa-primary {
    color: #7eb2ff;
  }
  
  .fa-secondary {
    color: #1d4a8f;
  }
  
  .fa-primary,
  .fa-secondary {
    transition: var(--transition-speed);
  }
  
  .logo {
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    font-size: 1.5rem;
    letter-spacing: 0.3ch;
    width: 100%;
  }
  
  .logo svg {
    transform: rotate(0deg);
    transition: var(--transition-speed);
  }
  
  .logo-text
  {
    display: inline;
    position: absolute;
    left: -999px;
    transition: var(--transition-speed);
  }
  
  .navbar:hover .logo svg {
    transform: rotate(-360deg);
  }
  
  /* Small screens */
  @media only screen and (max-width: 599px) {
    .navbar {
      bottom: 0;
      width: 100vw;
      height: 5rem;
    }
  
    .logo {
      display: none;
    }
  
    .navbar-nav {
      flex-direction: row;
    }
  
    .nav-link {
      justify-content: center;
    }
  
    main {
      margin: 0;
    }

    .m-left {
        margin-left: 0;
       
      }
    .kontakt{
        flex-direction: column;
        padding-bottom: 100px;
        align-items: center;
        height: 225px;
      }
  }
  
  /* Large screens */
  @media only screen and (min-width: 600px) {
    .navbar {
      top: 0;
      width: 5rem;
      height: 100vh;
    }
  
    .navbar:hover {
      width: 16rem;
    }
  
    .navbar:hover .link-text {
      display: inline;
    }
  
    .navbar:hover .logo svg
    {
      margin-left: 11rem;
    }
  
    .navbar:hover .logo-text
    {
      left: 0px;
    }
  }
  
  .dark {
    --text-primary: #b6b6b6;
    --text-secondary: #ececec;
    --bg-primary: #08080a;
    --bg-secondary: #101013;
  }
  
  .light {
    --text-primary: #181818;
    --text-secondary: #363636;
    --bg-primary: #eee;
    --bg-secondary: #ddd;
  }
  
  .solar {
    --text-primary: #b6b6b6;
    --text-secondary: #ececec;
    --bg-primary: hsl(220, 10%, 10%);
    --bg-secondary: hsl(220, 10%, 20%);
  }
  
  .theme-icon {
    display: none;
  }
  
  .dark #darkIcon {
    display: block;
  }
  
  .light #lightIcon {
    display: block;
  }
  
  .solar #solarIcon {
    display: block;
  }





  *, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* body {
    background: #1f1f1f;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
} */
.cont {
    position: relative;
    overflow: hidden;
    height: 90vh;
    padding: 80px 70px;
}
.cont__inner {
    position: relative;
    height: 100%;
}
.cont__inner:hover .el__bg:after {
    opacity: 1;
}
.el {
    position: absolute;
    left: 0;
    top: 0;
    width: 19.2%;
    height: 100%;
    background: #252525;
    transition: transform 0.6s 0.7s, width 0.7s, opacity 0.6s 0.7s, z-index 0s 1.3s;
    will-change: transform, width, opacity;
}
.el:not(.s--active) {
    cursor: pointer;
}
.el__overflow {
    overflow: hidden;
    position: relative;
    height: 100%;
}
.el__inner {
    overflow: hidden;
    position: relative;
    height: 100%;
    transition: transform 1s;
}
.cont.s--inactive .el__inner {
    transform: translate3d(0, 100%, 0);
}
.el__bg {
    position: relative;
    width: calc(100vw - 140px);
    height: 100%;
    transition: transform 0.6s 0.7s;
    will-change: transform;
}
.el__bg:before {
    content: "";
    position: absolute;
    left: 0;
    top: -5%;
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: center center;
    transition: transform 1s;
    transform: translate3d(0, 0, 0) scale(1);
}
.cont.s--inactive .el__bg:before {
    transform: translate3d(0, -100%, 0) scale(1.2);
}
.el.s--active .el__bg:before {
    transition: transform 0.8s;
}
.el__bg:after {
    content: "";
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s;
}
.cont.s--el-active .el__bg:after {
    transition: opacity 0.5s 1.4s;
    opacity: 1 !important;
}
.el__preview-cont {
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s 1.2s;
}
.cont.s--inactive .el__preview-cont {
    opacity: 0;
    transform: translateY(10px);
}
.cont.s--el-active .el__preview-cont {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s;
}
.el__heading {
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
}
.el__content {
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.1s;
}
.el.s--active .el__content {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transition: all 0.5s 1.4s;
}
.el__text {
    text-transform: uppercase;
    font-size: 40px;
    color: #fff;
}
.el__link {
  text-transform: uppercase;
  font-size: 40px;
  color: #fff;
  position: absolute;
  bottom: 20px;
}
.el__close-btn {
    z-index: -1;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 60px;
    height: 60px;
    opacity: 0;
    pointer-events: none;
    transition: all 0s 0.45s;
    cursor: pointer;
}
.el.s--active .el__close-btn {
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    transition: all 0s 1.4s;
}
.el__close-btn:before, .el__close-btn:after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 8px;
    margin-top: -4px;
    background: #fff;
    opacity: 0;
    transition: opacity 0s;
}
.el.s--active .el__close-btn:before, .el.s--active .el__close-btn:after {
    opacity: 1;
}
.el__close-btn:before {
    transform: rotate(45deg) translateX(100%);
}
.el.s--active .el__close-btn:before {
    transition: all 0.3s 1.4s cubic-bezier(0.72, 0.09, 0.32, 1.57);
    transform: rotate(45deg) translateX(0);
}
.el__close-btn:after {
    transform: rotate(-45deg) translateX(100%);
}
.el.s--active .el__close-btn:after {
    transition: all 0.3s 1.55s cubic-bezier(0.72, 0.09, 0.32, 1.57);
    transform: rotate(-45deg) translateX(0);
}
.el__index {
    overflow: hidden;
    position: absolute;
    left: 0;
    bottom: -80px;
    width: 100%;
    height: 100%;
    min-height: 250px;
    text-align: center;
    font-size: 20vw;
    line-height: 0.85;
    font-weight: bold;
    transition: transform 0.5s, opacity 0.3s 1.4s;
    transform: translate3d(0, 1vw, 0);
}
.el:hover .el__index {
    transform: translate3d(0, 0, 0);
}
.cont.s--el-active .el__index {
    transition: transform 0.5s, opacity 0.3s;
    opacity: 0;
}
.el__index-back, .el__index-front {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}
.el__index-back {
    color: #2f3840;
    opacity: 0;
    transition: opacity 0.25s 0.25s;
}
.el:hover .el__index-back {
    transition: opacity 0.25s;
    opacity: 1;
}
.el__index-overlay {
    overflow: hidden;
    position: relative;
    transform: translate3d(0, 100%, 0);
    transition: transform 0.5s 0.1s;
    color: transparent;
}
.el__index-overlay:before {
    content: attr(data-index);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    transform: translate3d(0, -100%, 0);
    transition: transform 0.5s 0.1s;
}
.el:hover .el__index-overlay {
    transform: translate3d(0, 0, 0);
}
.el:hover .el__index-overlay:before {
    transform: translate3d(0, 0, 0);
}
.el:nth-child(1) {
    transform: translate3d(0%, 0, 0);
    transform-origin: 50% 50%;
    border-radius: 10px;
}
.cont.s--el-active .el:nth-child(1):not(.s--active) {
    transform: scale(0.5) translate3d(0%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}
.el:nth-child(1) .el__inner {
    transition-delay: 0s;
    border-radius: 10px;
}
.el:nth-child(1) .el__bg {
    transform: translate3d(0%, 0, 0);
}
.el:nth-child(1) .el__bg:before {
    transition-delay: 0s;
    background-image: url('3d.jpg');
}
.el:nth-child(2) {
    transform: translate3d(105.2083333333%, 0, 0);
    transform-origin: 155.2083333333% 50%;
    border-radius: 10px;
}
.cont.s--el-active .el:nth-child(2):not(.s--active) {
    transform: scale(0.5) translate3d(105.2083333333%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}
.el:nth-child(2) .el__inner {
    transition-delay: 0.1s;
    border-radius: 10px;
}
.el:nth-child(2) .el__bg {
    transform: translate3d(-19.2%, 0, 0);
}
.el:nth-child(2) .el__bg:before {
    transition-delay: 0.1s;
    background-image: url("2d.webp");
}
.el:nth-child(3) {
    transform: translate3d(210.4166666667%, 0, 0);
    transform-origin: 260.4166666667% 50%;
    border-radius: 10px;
}
.cont.s--el-active .el:nth-child(3):not(.s--active) {
    transform: scale(0.5) translate3d(210.4166666667%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}
.el:nth-child(3) .el__inner {
    transition-delay: 0.2s;
    border-radius: 10px;
}
.el:nth-child(3) .el__bg {
    transform: translate3d(-38.4%, 0, 0);
}
.el:nth-child(3) .el__bg:before {
    transition-delay: 0.2s;
    background-image: url('vindu.jpg');
}
.el:nth-child(4) {
    transform: translate3d(315.625%, 0, 0);
    transform-origin: 365.625% 50%;
    border-radius: 10px;
}
.cont.s--el-active .el:nth-child(4):not(.s--active) {
    transform: scale(0.5) translate3d(315.625%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}
.el:nth-child(4) .el__inner {
    transition-delay: 0.3s;
    border-radius: 10px;
}
.el:nth-child(4) .el__bg {
    transform: translate3d(-57.6%, 0, 0);
}
.el:nth-child(4) .el__bg:before {
    transition-delay: 0.3s;
    background-image: url('handverk.jpg');
}
.el:nth-child(5) {
    transform: translate3d(420.8333333333%, 0, 0);
    transform-origin: 470.8333333333% 50%;
    border-radius: 10px;
}
.cont.s--el-active .el:nth-child(5):not(.s--active) {
    transform: scale(0.5) translate3d(420.8333333333%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}
.el:nth-child(5) .el__inner {
    transition-delay: 0.4s;
    border-radius: 10px;
}
.el:nth-child(5) .el__bg {
    transform: translate3d(-76.8%, 0, 0);
}
.el:nth-child(5) .el__bg:before {
    transition-delay: 0.4s;
    background-image: url('div.jpg');
}
.el:hover .el__bg:after {
    opacity: 0;
}
.el.s--active {
    z-index: 1;
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.6s, width 0.7s 0.7s, z-index 0s;
}
.el.s--active .el__bg {
    transform: translate3d(0, 0, 0);
    transition: transform 0.6s;
}
.el.s--active .el__bg:before {
    transition-delay: 0.6s;
    transform: scale(1.1);
}

.icon-link {
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: 32px;
}

.icon-link img {
    width: 100%;
    vertical-align: top;
}

.icon-link--twitter {
    left: auto;
    right: 5px;
}



@media screen and (max-width: 799px) {
  .cont {
    height: 60vh;
  }

  .el__heading {
    color: #fff;
    text-transform: uppercase;
    transform: rotate(-90deg);
  }
}













/* ** Apply styles to the parent element */


.Words {
    width: 450px;
    margin: 0;
    padding: 30px 10px 100px;
    font-size: 68px;
    font-weight: 500;
    letter-spacing: -2px;
    text-transform: uppercase;
    transform: translate3d(0, 0, 0);
    -webkit-font-smoothing: antialiased;
    -webkit-font-kerning: normal;
    font-kerning: normal;
    -webkit-text-size-adjust: 100%;
    overflow: hidden;
}
/* ** Apply common styles to each line of text */
.Words-line {
    height: 65px;
    overflow: hidden;
    position: relative;
}
.Words-line:nth-child(odd) {
    transform: skew(60deg, -30deg) scaleY(0.66667);
}
.Words-line:nth-child(even) {
    transform: skew(0deg, -30deg) scaleY(1.33333);
}
.Words-line:nth-child(1) {
    left: 29px;
}
.Words-line:nth-child(2) {
    left: 58px;
}
.Words-line:nth-child(3) {
    left: 87px;
}
.Words-line:nth-child(4) {
    left: 116px;
}
.Words-line:nth-child(5) {
    left: 145px;
}
.Words-line:nth-child(6) {
    left: 174px;
}
.Words-line:nth-child(7) {
    left: 203px;
}
/* ** Fine-grained text styles */
p {
    height: 50px;
    line-height: 45px;
    padding: 0 10px;
    transition: all 0.4s ease-in-out;
    transform: translate3d(0, 0, 0);
    vertical-align: top;
    white-space: nowrap;
}
/* ** The hover interaction */
.Words:hover p {
    transform: translate3d(0, -65px, 0);
}





.cart {
  width: 40%;
  height: 30%;
  opacity: 0.5;
  /* backdrop-filter: blur(10px); */
}

.s-cart {
  filter: blur(8px);
}

.wrapper {
    width: fit-content;
    text-align: center;
    margin-bottom: 5%;
  }
  .wrapper span {
    -webkit-text-stroke-width: 1.25px;
    -webkit-text-stroke-color: var(--text-secondary);
    font-size: 4rem;
    text-shadow: 0 0px #23dbf3, 0 0px #3e13ff;
    transform: translate(0, 15%) rotate(4deg);
    animation: jump 2s ease-in-out infinite;
    display: inline-block;
    color: var(--text-secondary);
  }
  .wrapper span:nth-child(1) {
    animation-delay: 120ms;
  }
  .wrapper span:nth-child(2) {
    animation-delay: 240ms;
  }
  .wrapper span:nth-child(3) {
    animation-delay: 360ms;
  }
  .wrapper span:nth-child(4) {
    animation-delay: 480ms;
  }
  .wrapper span:nth-child(5) {
    animation-delay: 600ms;
  }
  .wrapper span:nth-child(6) {
    animation-delay: 720ms; }
  .wrapper span:nth-child(7) {
    animation-delay: 840ms;
  }
  
  @keyframes jump {
    33% {
      text-shadow: 0 3px #4121f3, 0 8px #aaf2e2;
    }
    50% {
      transform: translate(0, -15%) rotate(-4deg);
      text-shadow: 0 0px #8fc0a9, 0 0px #84a9ac;
    }
    66.67% {
      text-shadow: 0 -3px #4068d5, 0 -8px #bc8fc0;
    }
  }
  /* html {
    width: 100%;
    height: 100vh;
  }
   */
  /* body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #000;
  } */
  
  @media screen and (max-height: 200px) {
    .wrapper {
      transform: scale(0.3, 0.3);
    }
  }
  @media screen and (max-width: 1023px) {
    .wrapper span {
      font-size: 3rem;
    }
  }

  @media screen and (max-width: 750px) {
    .wrapper span {
      font-size: 2rem;
    }
  }

  @media screen and (max-width: 599px) {
    .wrapper span {
      font-size: 1.5rem;
    }
  }















  /* Popup container - can be anything you want */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 300px;
  background-color: #444;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: -20%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}


/* ::-webkit-scrollbar {
  width: 0.25rem;
}

::-webkit-scrollbar-track {
  background: #17171b;
}

::-webkit-scrollbar-thumb {
  background: #040718;
} */