* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    height: 100%;
}



body {
    background-color: rgb(16, 26, 40);
    color: #fff;
    font: 300 1rem/1.5 'Exo 2', sans-serif;
    margin: 0;
    min-height: 100%;
}

.align {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

.align__item--start {
    -ms-flex-item-align: start;
    align-self: flex-start;
}

.align__item--end {
    -ms-flex-item-align: end;
    align-self: flex-end;
}

.animation {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}

.animation--infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.animation--up-down {
    -webkit-animation-name: upDown;
    animation-name: upDown;
}

@-webkit-keyframes upDown {
    0% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }

    50% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@keyframes upDown {
    0% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }

    50% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

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

.site__header {
    left: 0;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    width: 100%;
    z-index: 1;
    justify-content: center;
}

.site__logo {
    float: left;
    width: 6rem;
    padding-left: 3rem;
    margin-right: 3rem;
    padding-top: 0.5rem;
    align-self: center;
}


.site__logo:hover {
  /* Start the shake animation and make the animation last for 0.5 seconds */
  animation: shake 0.5s;

  /* When the animation is finished, start again */
  animation-iteration-count: infinite;
}



svg {
    fill: #b3469a !important;
}

.site__section {
    min-height: 100vh;
    position: relative;
}

.site__section--start {
    background: url('media/863neo_v3.webp');
    background-position: center;
    background-size: cover;
}

.site__section--resource-era {
    background: linear-gradient(171deg, rgb(77, 161, 200) 0%, rgb(238, 189, 161) 100%);;
    background-position: center;
    background-size: cover;
}

.site__section--resource-v1 {
    background: linear-gradient(101deg, hsl(195, 91%, 64%) 0%, hsl(195, 91%, 14%) 100%);;
    /* background: linear-gradient(71deg, rgba(0,177,144,1) 0%, rgba(2,26,126,1) 100%);; */
    background-position: center;
    background-size: cover;
}

.site__section--end {
    
    display: flex;
    /* flex-direction: column; */
    /* align-content: center; */
}

.button {
    display: inline-block;
    padding: 0.5rem 1rem;
}

.button--primary {
    background-color: #ce3d90;
}

.button--rounded {
    border-radius: 999px;
}

.button--scroll {
    bottom: 2rem;
    left: 50%;
    position: absolute;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.navbar {
  display: flex;
}

.grid {
    /* display: flex; */
    margin: 0 auto;
    max-width: 74rem;
    width: 90%;
}

.grid:before,
.grid:after {
    content: " ";
    display: table;
}

.grid:after {
    clear: both;
}

.grid.header {
  display: flex;
  justify-content: end;
}

.grid2 {
    display: inline-grid;
    grid-template-columns: 1fr;
    column-gap: 4rem;
    align-items: center;
}

.grid2 img {
    max-width: 60%;
    height: auto;
  }

/* .grid-footer {
   display: flex;
   flex-direction: column; 
} */

h1 {
    font-size: 3rem;
    font-weight: 300;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

h1 a{
    color: #fff;
    text-decoration: none;
}

svg {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

a {
    color: #ccc;
    text-decoration: underline;
}

.night {
  font-weight: 100;
}

.made-by {
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
}

.h3d-logo {
    height: auto;
    max-width: 2.5rem;
    padding: 0 .4rem
}

.knapp{
  padding: 2rem;
  width: 14rem;
}

.era-img {
    mix-blend-mode: multiply;
}

.footer {
    display: flex;
    flex-direction: column-reverse;
    position: absolute;
    flex-wrap: wrap;
    padding: 1rem 3rem;
    left: 0;
    bottom: 0;
    width: 100%;
    justify-content: space-between;
}

.footer a{
  text-decoration: none;
  color: #fff;
}


/* .navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigation a {
    display: block;
}

.navigation--inline>ul:before,
.navigation--inline>ul:after {
    content: " ";
    display: table;
}

.navigation--inline>ul:after {
    clear: both;
}

.navigation--inline>ul>li {
    float: left;
} */

.navigation--main {
    float: right;
    text-transform: uppercase;
    margin: 0 -2rem;
}
/* 
.navigation--main>ul {
    margin: 0 -2rem;
}

.navigation--main>ul>li {
    margin: 0 2rem;
}

.navigation--main a {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
} */

/* Typewriter */

.typewriter {
    display: flex;
    text-align: left !important;
}

.var-highlight {
    color: #C0AD60;
  }
  
  .string-highlight {
    color: rgba(253, 149, 90, 0.8);
  }

  .h-import {
    color: skyblue;
  }
  .h-func {
    color: rgb(11, 71, 131);
  }
  .h-var {
    color: rgb(215, 137, 52);
  }
  .h-string {
    color: rgb(8, 179, 8);
  }
  .h-def {
    color: rgb(201, 109, 209);
  }
  .h-blue {
    color: rgb(38, 87, 162);
  }
  .h-orange {
    color: orange;
  }
 
  
  #typewriter {
    font-size: 0.5rem;
    margin: 0;
  }
  #typewriter:after {
    content: "|";
    -webkit-animation: blink 500ms linear infinite alternate;
            animation: blink 500ms linear infinite alternate;
  }


 /* 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 ;}
  }
  


/* Media queries */

@media (min-width: 500px) {
    #typewriter {
        font-size: 0.6rem;
    }
}

@media (min-width: 600px) {
    .footer {
        flex-direction: row;
    } 
}

@media (min-width: 768px) {
    .grid2 {
        grid-template-columns: 1fr 1fr;
        column-gap: 4rem;
    }

    .grid2 img {
        max-width: 70%;
    }

    .grid-left{
        order: 1;
    }
    
    .grid-right{ 
        order: 2;
    }
}











/*Styling Links*/
.nav-links{
    display: flex;
    list-style: none; 
    width: 88vw;
    padding: 0 0.7vw;
    justify-content: space-evenly;
    align-items: center;
    text-transform: uppercase;
}
.nav-links li a{
    text-decoration: none;
    margin: 0 0.7vw;
}
.nav-links li a:hover {
    color: #b7e8ff;
}
.nav-links li {
    position: relative;
}
.nav-links li a::after {
    content: "";
    display: block;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #b3469a 0%, #51b0e3 100%);
    position: absolute;
    transition: all ease-in-out 250ms;
    margin: 0 0 0 0%;
}
.nav-links li a:hover::after{
    width: 100%;
}

/*Styling Hamburger Icon*/
.hamburger div{
    width: 30px;
    height:3px;
    background: #f2f5f7;
    margin: 5px;
    transition: all 0.3s ease;
}
.hamburger{
    display: none;
}

/*Stying for small screens*/
@media screen and (max-width: 767px){
    nav{
        /* position: fixed; */
        z-index: 3;
    }
    .hamburger{
        display:block;
        position: fixed;
        cursor: pointer;
        right: 4%;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
    }
    .nav-links{
        position: fixed;
        top: -1rem;
        background: rgb(15,56,91);
        background: radial-gradient(circle, rgb(27,39,50,.9) 0%,  rgba(23,34,43,.9) 78%);
        height: 50vh;
        /* width: 100%; */
        flex-direction: column;
        clip-path: circle(50px at 90% -16%);
        -webkit-clip-path: circle(50px at 90% -16%);
        transition: all 1s ease-out;
        pointer-events: none;
    }
    .nav-links.open{
        clip-path: circle(1000px at 90% -16%);
        -webkit-clip-path: circle(1000px at 90% -16%);
        pointer-events: all;
    }
    .nav-links li{
        opacity: 0;
    }
    .nav-links li:nth-child(1){
        transition: all 0.5s ease 0.2s;
    }
    .nav-links li:nth-child(2){
        transition: all 0.5s ease 0.4s;
    }
    .nav-links li:nth-child(3){
        transition: all 0.5s ease 0.6s;
    }
    .nav-links li:nth-child(4){
        transition: all 0.5s ease 0.7s;
    }
    .nav-links li:nth-child(5){
        transition: all 0.5s ease 0.8s;
    }
    .nav-links li:nth-child(6){
        transition: all 0.5s ease 0.9s;
        margin: 0;
    }
    .nav-links li:nth-child(7){
        transition: all 0.5s ease 1s;
        margin: 0;
    }
    li.fade{
        opacity: 1;
    }

    .glitch {
        flex-direction: column;
        width: 70%;
    
        text-align: left;
    }

    .code.indent {
        padding-left: 4rem;
        
    }
}



/*Animating Hamburger Icon on Click*/
.toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
    transition: all 0.7s ease;
    width:0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
}




.glitch {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #ffffff55;
    font-size: 4rem;
    position: relative;
    margin: auto auto 0;
    padding-top: 6rem;
    text-shadow: 0px -5px 10px white, 0px 0px 5px rgba(255, 255, 255, 0), 0px 0px 10px rgba(255, 255, 255, 0), 0px 0px 15px rgba(255, 255, 255, 0), 0px 0px 20px rgba(255, 255, 255, 0);
    -webkit-animation: noise-anim-2 3s infinite linear alternate-reverse, blur 8s ease-in-out infinite alternate;
            animation: noise-anim-2 3s infinite linear alternate-reverse, blur 8s ease-in-out infinite alternate;
    transform: skewX(0deg);
  }
  @-webkit-keyframes blur {
    0%,40%, 50%, 60%, 90%, 95%, 100% {
      text-shadow: 0px -5px 10px white, 0px 0px 5px rgba(255, 255, 255, 0), 0px 0px 10px rgba(255, 255, 255, 0), 2px 1px 15px rgba(100, 240, 255, 0), 0px 0px 20px rgba(255, 255, 255, 0);
    }
    45%, 75% {
      text-shadow: 0px -5px 10px white, 0px 0px 5px white, 0px 0px 10px white, 2px 1px 5px #64f0ff, 0px 0px 20px white;
    }
  
  }
  @keyframes blur {
    0%,40%, 50%, 60%, 90%, 95%, 100% {
      text-shadow: 0px -5px 10px white, 0px 0px 5px rgba(255, 255, 255, 0), 0px 0px 10px rgba(255, 255, 255, 0), 2px 1px 15px rgba(100, 240, 255, 0), 0px 0px 20px rgba(255, 255, 255, 0);
    }
    45%, 75% {
      text-shadow: 0px -5px 10px white, 0px 0px 5px white, 0px 0px 10px white, 2px 1px 5px #64f0ff, 0px 0px 20px white;
    }
   
  }
  .glitch:after {
    content: attr(data-text);
    position: absolute;
    left: 3px;
    text-shadow: -1px 0 red;
    top: 0;
    color: transparent;
    background: transparent;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    -webkit-animation: noise-anim-2 3s infinite linear alternate-reverse;
            animation: noise-anim-2 3s infinite linear alternate-reverse;
    transform: skewX(0deg);
    z-index: -2;
    opacity: .7;
  }
  
  .glitch:before {
    content: attr(data-text);
    position: absolute;
    left: 1px;
    text-shadow: -3px 0 cyan;
    top: 0;
    color: transparent;
    background: transparent;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    -webkit-animation: noise-anim-2 3s infinite linear alternate-reverse;
            animation: noise-anim-2 3s infinite linear alternate-reverse;
    transform: skewX(0deg);
    z-index: -1;
    opacity: .8;
  }
  
  @-webkit-keyframes noise-anim {
    0% {
      clip: rect(24px, 9999px, 50px, 0);
    }
    5% {
      clip: rect(17px, 9999px, 67px, 0);
    }
    10% {
      clip: rect(13px, 9999px, 49px, 0);
    }
    15% {
      clip: rect(11px, 9999px, 12px, 0);
    }
    20% {
      clip: rect(17px, 9999px, 25px, 0);
    }
    25% {
      clip: rect(38px, 9999px, 80px, 0);
    }
    30% {
      clip: rect(7px, 9999px, 82px, 0);
    }
    35% {
      clip: rect(35px, 9999px, 54px, 0);
    }
    40% {
      clip: rect(3px, 9999px, 36px, 0);
    }
    45% {
      clip: rect(18px, 9999px, 90px, 0);
    }
    50% {
      clip: rect(62px, 9999px, 9px, 0);
    }
    55% {
      clip: rect(83px, 9999px, 38px, 0);
    }
    60% {
      clip: rect(65px, 9999px, 81px, 0);
    }
    65% {
      clip: rect(71px, 9999px, 15px, 0);
    }
    70% {
      clip: rect(75px, 9999px, 4px, 0);
    }
    75% {
      clip: rect(13px, 9999px, 1px, 0);
    }
    80% {
      clip: rect(34px, 9999px, 87px, 0);
    }
    85% {
      clip: rect(52px, 9999px, 99px, 0);
    }
    90% {
      clip: rect(68px, 9999px, 80px, 0);
    }
    95% {
      clip: rect(5px, 9999px, 15px, 0);
    }
    100% {
      clip: rect(94px, 9999px, 68px, 0);
    }
  }
  
  @keyframes noise-anim {
    0% {
      clip: rect(24px, 9999px, 50px, 0);
    }
    5% {
      clip: rect(17px, 9999px, 67px, 0);
    }
    10% {
      clip: rect(13px, 9999px, 49px, 0);
    }
    15% {
      clip: rect(11px, 9999px, 12px, 0);
    }
    20% {
      clip: rect(17px, 9999px, 25px, 0);
    }
    25% {
      clip: rect(38px, 9999px, 80px, 0);
    }
    30% {
      clip: rect(7px, 9999px, 82px, 0);
    }
    35% {
      clip: rect(35px, 9999px, 54px, 0);
    }
    40% {
      clip: rect(3px, 9999px, 36px, 0);
    }
    45% {
      clip: rect(18px, 9999px, 90px, 0);
    }
    50% {
      clip: rect(62px, 9999px, 9px, 0);
    }
    55% {
      clip: rect(83px, 9999px, 38px, 0);
    }
    60% {
      clip: rect(65px, 9999px, 81px, 0);
    }
    65% {
      clip: rect(71px, 9999px, 15px, 0);
    }
    70% {
      clip: rect(75px, 9999px, 4px, 0);
    }
    75% {
      clip: rect(13px, 9999px, 1px, 0);
    }
    80% {
      clip: rect(34px, 9999px, 87px, 0);
    }
    85% {
      clip: rect(52px, 9999px, 99px, 0);
    }
    90% {
      clip: rect(68px, 9999px, 80px, 0);
    }
    95% {
      clip: rect(5px, 9999px, 15px, 0);
    }
    100% {
      clip: rect(94px, 9999px, 68px, 0);
    }
  }
  @-webkit-keyframes noise-anim-2 {
    0% {
      clip: rect(12px, 9999px, 35px, 0);
    }
    5% {
      clip: rect(76px, 9999px, 65px, 0);
    }
    10% {
      clip: rect(23px, 9999px, 12px, 0);
    }
    15% {
      clip: rect(37px, 9999px, 46px, 0);
    }
    20% {
      clip: rect(28px, 9999px, 9px, 0);
    }
    25% {
      clip: rect(88px, 9999px, 70px, 0);
    }
    30% {
      clip: rect(5px, 9999px, 11px, 0);
    }
    35% {
      clip: rect(67px, 9999px, 82px, 0);
    }
    40% {
      clip: rect(34px, 9999px, 58px, 0);
    }
    45% {
      clip: rect(59px, 9999px, 63px, 0);
    }
    50% {
      clip: rect(13px, 9999px, 82px, 0);
    }
    55% {
      clip: rect(92px, 9999px, 24px, 0);
    }
    60% {
      clip: rect(62px, 9999px, 38px, 0);
    }
    65% {
      clip: rect(62px, 9999px, 52px, 0);
    }
    70% {
      clip: rect(29px, 9999px, 13px, 0);
    }
    75% {
      clip: rect(26px, 9999px, 20px, 0);
    }
    80% {
      clip: rect(22px, 9999px, 72px, 0);
    }
    85% {
      clip: rect(48px, 9999px, 33px, 0);
    }
    90% {
      clip: rect(20px, 9999px, 33px, 0);
    }
    95% {
      clip: rect(35px, 9999px, 99px, 0);
    }
    100% {
      clip: rect(7px, 9999px, 82px, 0);
    }
  }
  @keyframes noise-anim-2 {
    0% {
      clip: rect(12px, 9999px, 35px, 0);
    }
    5% {
      clip: rect(76px, 9999px, 65px, 0);
    }
    10% {
      clip: rect(23px, 9999px, 12px, 0);
    }
    15% {
      clip: rect(37px, 9999px, 46px, 0);
    }
    20% {
      clip: rect(28px, 9999px, 9px, 0);
    }
    25% {
      clip: rect(88px, 9999px, 70px, 0);
    }
    30% {
      clip: rect(5px, 9999px, 11px, 0);
    }
    35% {
      clip: rect(67px, 9999px, 82px, 0);
    }
    40% {
      clip: rect(34px, 9999px, 58px, 0);
    }
    45% {
      clip: rect(59px, 9999px, 63px, 0);
    }
    50% {
      clip: rect(13px, 9999px, 82px, 0);
    }
    55% {
      clip: rect(92px, 9999px, 24px, 0);
    }
    60% {
      clip: rect(62px, 9999px, 38px, 0);
    }
    65% {
      clip: rect(62px, 9999px, 52px, 0);
    }
    70% {
      clip: rect(29px, 9999px, 13px, 0);
    }
    75% {
      clip: rect(26px, 9999px, 20px, 0);
    }
    80% {
      clip: rect(22px, 9999px, 72px, 0);
    }
    85% {
      clip: rect(48px, 9999px, 33px, 0);
    }
    90% {
      clip: rect(20px, 9999px, 33px, 0);
    }
    95% {
      clip: rect(35px, 9999px, 99px, 0);
    }
    100% {
      clip: rect(7px, 9999px, 82px, 0);
    }
  }
  
  @keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(0px, -1px) rotate(-1deg); }
    20% { transform: translate(-1px, 0px) rotate(1deg); }
    30% { transform: translate(1px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 1px) rotate(-1deg); }
    60% { transform: translate(1px, 0px) rotate(0deg); }
    70% { transform: translate(-1px, 1px) rotate(-1deg); }
    80% { transform: translate(0px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 0px) rotate(0deg); }
    100% { transform: translate(1px, -1px) rotate(-1deg); }
  }