:root {
    --width: 100vw;
    
    /* @media (min-width: 42em) {
      --width: 42rem;
    } */
    --devwidth: 0px;
    --angle: -11deg;
    /*-----------------
    Magic Number Alert:
    
    the 0.09719 is calculated by this formula:
    tan(11°) / 2
    11° is the current skewY value.
    ------------------*/
    --magic-number: 0.09719;
    --skew-padding: calc(var(--width) * var(--magic-number));
  }

  *
  {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  /************* COOKIEBOT STYLE ***************/

  
  @media screen and (max-width:720px) {
    #cookiebanner a.c-button { 
      width:100%; 
      box-sizing:border-box; 
      text-align:center; 
      margin-bottom:20px;} 
    #c-right { 
      float:none;
    }
    #c-left { 
      float:none;
    }   
    #cookiebanner p.c-message { 
      margin-bottom:20px;
    }   
  }    
  
  @media screen and (min-width:720px) {
    #cookiebanner #c-left { 
      float:left; 
      max-width:80%;
    }
    #cookiebanner #c-right { 
      float:right; 
    }
  }
  
  #cookiebanner { 
    box-sizing: border-box; 
    background-color:rgb(36,36,39); 
    opacity: 0.9; width:100%; 
    padding:25px 40px; 
    position: fixed; 
    z-index: 2147483645; 
    bottom:-800px
  }
  #cookiebanner p { 
    font-size:14px; 
    line-height:1.4;
  }
  #cookiebanner .c-header { 
    text-transform:uppercase; 
    color:#fff; 
    font-weight:bold; 
    margin-bottom:4px;
  }
  #cookiebanner p.c-message {
    font-size:14px; 
    color:#999;
  }
  #cookiebanner a { 
    font-weight:bold; 
    color:#999;
  }
  #cookiebanner a:hover { 
    color:#fff;
  }
  
  #cookiebanner a.c-button { 
    border-radius: 4px;
    background-color: rgb(255,255,255);
    box-shadow: 0 2px 0 0 rgb(221,221,221);
    border:1px solid rgb(221,221,221);
    padding:12px 60px;
    text-decoration:none;
    display:inline-block;
    vertical-align:middle;
    margin-top:10px;
    color:#666;
    font-size:16px;
    -o-transition:.2s;
    -ms-transition:.2s;
    -moz-transition:.2s;
    -webkit-transition:.2s;
    transition:.2s;
  }
  
  #cookiebanner a.c-button:hover { 
    box-shadow:none; 
    background-color:#f8f8f8;
  }

  /******************************************************************/

  @media (min-width: 42em) 
  {
    :root{
      --width: 42rem;
    }
  }
  
  .diagonal-box {
    position: relative;
    width: 100%;
    padding: var(--skew-padding) 0;
    margin-top: -1px;
  }
    
    
  .diagonal-box:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transform: skewy(var(--angle));
    transform-origin: 50% 0;
    outline: 1px solid transparent;
    backface-visibility: hidden;
  }
  
  
  .diagonal-box.bg-one:before {
    background: rgba(0, 0, 0, 0.5);
  }
  
  .bg:before {
    opacity: .8;
    background-image: linear-gradient(to right bottom, #000000, #100108, #170313, #1a071d, #170c28, #160f33, #10123f, #00154c, #00145a, #001167, #000b74, #060080);

    background-size: 400% 400%;

    animation: Gradient 15s ease-in-out reverse infinite;
  }
  
  .diagonal-box:after {
    /* background-image: linear-gradient(45deg, #654ea3, #eaafc8); */
    content: "";
    position: absolute;
    z-index: -1;
    height: 130%;
    width: 100%;
    top: -200px;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    /* transform: unset; */
  }
  
  .bg-three:after {
    background-image: url('http://192.168.1.66/sitepro-skrew/images/code.jpg');
  }
  
  .bg-two:before {
    /* background-image: linear-gradient(-135deg, #ff0084, #33001b); */
    background-image: linear-gradient(to right bottom, #d25500, #da5600, #e25600, #eb5600, #f35601, #f75c01, #fb6100, #ff6700, #ff7300, #ff7e00, #ff8800, #ff9200);
    background-size: 400% 400%;

    animation: Gradient 15s ease-in-out reverse infinite;
  }
  
  .bg-three:before {
    /* background-image: linear-gradient(-135deg, #007, #003); */
    background: rgba(0, 0, 0, 0.8);
  }
  
  .bg-four:before {
    background-image: linear-gradient(-135deg, #007, #003);
  }
  
  .content {
    max-width: var(--width);
    margin: 0 auto;
    padding: 1.5em;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* -----------
    enable the border to see, that the content
    perfectly fits into the section withou
    bleeding into the adjecting areas:
    ------------ */
    /* border: 2px dashed #fff8; */
  }
  
  
  /* --------------------
  Presentational Styles 
  -------------------- */
  
  *, *:before {
    box-sizing: border-box; 
  }
  
  html {
    font-size: 100%;
    transition: font-size 0.2s linear;
    
  }
  @media (min-width: 70em) {
    html {
      font-size: 125%;
    }
  }
  
  body {
    position: relative;
    height: 100vh;
    width: 100%;
    background: #003;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    scroll-behavior: smooth;
  }

  .video-slide
  {
    position: absolute;
    top: 0;
    
    z-index: 0;
    height: 100%;
    width: 100%;
    min-height: 100vh;
    min-width: 100%;

    object-fit: cover;
  }

  img.my-bg
  {
    position: absolute;
    top: 0;

    opacity: .7;
    z-index: 0;
    height: 100%;
    width: 100%;
    
    min-height: 100vh;
    min-width: 100%;

    object-fit: cover;
    animation: Zoom 30s linear infinite;
  }


  .page
  {
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

  }

  .icons
  {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }
  
  .icons i
  {
    opacity: 0;
    font-size: 25px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
    animation: FadeIn 2s ease-out forwards;
  }
  
  .icons i:nth-child(1)
  {
    animation-delay: 2.5s;
  }

  .icons i:nth-child(2)
  {
    animation-delay: 2.9s;
  }
  .icons i:nth-child(3)
  {
    animation-delay: 3.3s;
  }
  .icons i:nth-child(4)
  {
    animation-delay: 3.7s;
  }
  
  .contact-icons
  {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }
  
  .contact-icons i
  {
    opacity: 0;
    color: #fff;
    font-size: 2em;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
    transition: .5s;
    animation: FadeIn 2s 4s ease-out forwards;
  }
  
  .contact-icons i:hover
  {
    transform: scale(1.2);
  }

  
  h1 {
    font-weight: 900;
    font-size: 2.5em;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
  }
  
  #top h2
  {
    opacity: 0;
    font-weight: normal;
    font-size: 1.25em;
    line-height: 1.5;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
    animation: FadeIn 2s 2.3s ease-out forwards;
  }
  .intro {
    font-size: 1.25em;
    transform: skewY(var(--angle));
    margin: 0em auto 0em;
    text-align: center;
    background: #fff;
    color: #003;
    font-weight: 900;
    padding: 0.5em;
    text-transform: uppercase;
  }
    
  .intro a {
      background-image: linear-gradient(transparent 90%, 0, #003 100%);
      background-image: none;
      border-bottom: 4px solid;
      transition: none;
  }    
  .intro a:hover {
        border-color: #a06;
        opacity: 1;
      }
  
  
  p {
    font-size: 1.25em;
    margin: 0;
    line-height: 1.5;
  }
    
    /* & + &,
    svg + & {
      margin-top: 1em;
    } */
    
    p code {
      background: #0033;
      padding: 0.125em 0.375em;
      border-radius: 0.125em;
    }
      
      @media (min-width: 35em) {
        code {
          white-space: nowrap;
        }
      }
    
    
    p a {
      color: inherit;
      text-decoration: none;
      background-image: linear-gradient(transparent 90%, 0, #fffa 100%);
      padding: 0.125em 0;
      /* display: inline-block; */
      transition: opacity 0.3s ease-out;
    }
      p a:hover {
        text-decoration: none;
        opacity: 0.8;
      }
    
  
  
  .columns {
    display: flex;
    margin: 2em -1em;
  }
  
  .figure {
    display: block;
    width: 100%;
    margin: 0 1em;
  }
    
    .figure svg {
      display: block;
      width: 100%;
    }
    
    /* .object {
      transform-origin: 140px 140px;    
      &--rotate {
        animation: rotate 3s ease-in-out alternate infinite;
      }
      
      &--skew {
        animation: skew 3s ease-in-out alternate infinite;
      }
      
      &--skew-pause {
        animation: skew-pause 6s ease-in-out infinite;
      }
      &--skew-pause-alt {
        animation: skew-pause-alt 6s ease-in-out infinite;
      }
    } */
    
    figcaption {
      margin-top: 0.5em;
      line-height: 1.5;
      font-weight: 700;
      opacity: 0.9;
    }
  
  
  @keyframes rotate {
    0% {transform: rotate(0deg);}
    50% {transform: rotate(-11deg);}
    100% {transform: rotate(-11deg) scaleX(1.2);}
  }
  
  @keyframes skew {
    to {transform: skewY(-11deg);}
  }
  
  @keyframes skew-pause {
    0%, 70%, 100% {transform: skewY(0deg);}
    20%, 50% {transform: skewY(-11deg);}
  }
  
  @keyframes skew-pause-alt {
    0%, 40%, 100% {transform: skewY(0deg);}
    20%, 30% {transform: skewY(-11deg);}
  }
  
  .formula {
    font-family: monospace;
    font-size: 1.5em;
    display: block;
    margin: 1em auto;
    text-align: center;
  }  
    @media (min-width: 26em) {
      .formula {font-size: 2em;}
    }
  
  
  .boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 3%;
    margin: 2em 0;
    
    --translation: 0;
  }
    
  .boxes .box {
      width: 100%;
      height: 0;
      padding-bottom: 100%;
      border: 1px solid #fff;
      background: #fff3;
      transform: translateY( var(--translation) );
      animation: translate 3s ease-in-out infinite;
  }
      
      .boxes .box:nth-child(1) { --translation: calc(var(--skew-padding) * 1.5)}
      .boxes .box:nth-child(2) { --translation: calc(var(--skew-padding) * 1)}
      .boxes .box:nth-child(3) { --translation: calc(var(--skew-padding) * 0.5)}
      .boxes .box:nth-child(4) { --translation: calc(var(--skew-padding) * 0)}    
    
  
  
  @keyframes translate {
    0%, 20%, 100% { transform: translateY(0); }
    50%, 70% { transform: translateY(var(--translation)); }
  }


.logo-content
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    /* min-height: 500px; */
}

.logo-parts
{
    /* flex: 5; */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    --base: 25vw;
    margin: 2vw;
    height: var(--base);
    width: var(--base);
}


.logo-parts img
{
    position: absolute;
    width: var(--base);
    height: var(--base);
    opacity: 0;
    --left: 0px;
}

.logo1
{
    /* position: relative; */
    z-index: 1;
    /* top: -60px;
    left: calc( 500px + var(--left) ); */

    /* transform: translate(-43%, -75%); */
    /* transform: translate(158%, -10%); */
    /* animation: logo1Anim 1s ease-out; */
    animation: flipInY 1.1s ease-out forwards;
}

.logo2
{
  z-index: 2;
  /* position: relative; */
  /* top: -54px;
  left: calc( -27px + var(--left) ); */
  /* left: 73px; */
    
    /* transform: translate(-18%, -73%); */
    /* transform: translate(calc(75% + 8%), calc(2% - 10%) ); */
    animation: logo2Anim 1.1s .3s ease-out forwards;
}

.logo3
{
    z-index: 3;
    /* position: relative; */
    /* top: 0;
    left: calc( 97px + var(--left) ); */
    /* left: 197px; */

    /* transform: translate(-78%, -55%); */
    /* transform: translate(calc(-85% + 8%), calc(20% - 10%) ); */
    animation: logo3Anim 1.1s ease-out forwards;
}

.logo4
{
    z-index: 4;
    /* position: relative; */
    /* top: 63px;
    left: calc( -375px + var(--left) ); */
    /* right: 275px; */

    /* transform: translate(-34%, -34%); */
    /* transform: translate(calc(-141% + 8%), calc(41% - 10%) ); */
    animation: logo4Anim .8s .4s ease-out forwards;
}

.logo-content h1
{
  margin: 0;
  /* width: 90%; */
  animation: zoomInDown 1.5s ease-out;
  font-size: 4vw;

}

.logo-content h1 .my-logo-text
{
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 80%; */
    width: 100%;
}

.logo-content h1 .hook
{
    color: darkorange;
}

.logo-content h1 .hook:first-of-type
{
  margin-left: 5px;
}

.logo-content h1 .dev-word
{
    display: inline-block;
    /* position: relative; */
    color: #0077dc;
    overflow: hidden;
    --devwordwidth: 49%;
    animation: ninja 2.5s linear;
    /* height: 100%; */
    /* transform: translateY(35%); */

}


@media (min-width: 1200px){
  
  .logo-content h1
  {
    font-size: 50px;
  }

  .logo-parts
  {
    --base: 300px;
    margin: 30px;
  }
   
}

@media (max-width: 450px){

  #top h2
  {
    font-size: 1em;
  }

  
  .logo-content h1
  {
    font-size: 19px;
  }

  .logo-parts
  {
    --base: 110px;
  }
  .logo-content h1 .dev-word
  {
      --devwordwidth: 48%;
      
  }
   
}



  @keyframes logo1Anim 
{
    from 
    {
        opacity: 0;
        transform: translate(158%, -100%);
    }
  
    to 
    {
        opacity: 1;
        /* transform: translate(-43%, -75%); */
    }
}

@keyframes logo2Anim 
{
    from 
    {
        opacity: 0;
        transform: translate(500%, -30%);
    }
  
    to 
    {
        opacity: 1;
        /* transform: translate(-18%, -73%); */
    }
}

@keyframes logo3Anim 
{
    from 
    {
        opacity: 0;
        transform: translate(-300%, -44%);
    }
  
    to 
    {
        opacity: 1;
        /* transform: translate(-78%, -55%); */
    }
}

@keyframes logo4Anim 
{
    from 
    {
        opacity: 0;
        transform: translate(100%, 100%);
    }
  
    to 
    {
        opacity: 1;
        /* transform: translate(-34%, -34%); */
    }
}

@keyframes ninja
{
    from
    {
        opacity: 0;
        width: 0;
    }
    60%
    {
        opacity: 0;
        width: 0;
    }
    to
    {
        opacity: 1;
        width: var(--devwordwidth);
        /* width: 266.84375px; */
        /* width: var(--devwidth); */
        /* document.querySelector('span.dev-word').getBoundingClientRect().width */
    }
}

@keyframes ninja2
{
    from
    {
        opacity: 0;
        width: 0px;
    }
    60%
    {
        opacity: 0;
        width: 0px;
    }
    to
    {
        opacity: 1;
        
        width: var(--devwidth);
        
    }
}

@keyframes zoomInDown {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes flipInY {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  /* 40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  } */

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
    opacity: 1;
  }
}

@keyframes Gradient {
	0% {
		background-position: 0% 50%
	}
	50% {
		background-position: 100% 50%
	}
	100% {
		background-position: 0% 50%
	}
}

@keyframes FadeIn
{
	0%
	{
		opacity: 0;
	}

	100%
	{
		opacity: 1;
		
	}
} 

@keyframes Zoom
{
  50%
  {
    transform: scale(1.3);
  }
  100%
  {
    transform: scale(1);
  }
}