/* Allgemein */

@font-face {
    font-family: 'typewriter';
    src: url('fonts/typewriter.ttf');
}

@font-face {
    font-family: 'moon';
    src: url('fonts/moon_regular.otf');
}

@font-face {
    font-family: 'quantum';
    src: url('fonts/quantum.otf');
}

@font-face {
    font-family: 'betatron';
    src: url('fonts/betatron.otf');
}

/*     GENERAL     */

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: black;
    font-family: moon, Helvetica, sans-serif;
    height: 100%;
    overflow: auto;
}

#wrapper {
    width: 1000px;
    max-width: 90%;

    margin: 0 auto;
    overflow: hidden;
}

#content {
    position: inherit;
    margin-top: 70px;
    color: white;
}

/*     ANIMATED STAR BACKGROUND     */

#starAnimation {
    position: fixed;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    top: 0;
    z-index:-1;
}

/*     MENU     */

#menu {
    overflow: hidden;
    background-color: rgba(150, 150, 150, .2);
    position: fixed;
    top: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    align-self: center;
    box-sizing: border-box;
    max-width: 90%;
    width: 1000px;
    font-size: larger;
    z-index: 2;
    backdrop-filter: blur(8px);
}

#menu a {
    float: left;
    display: block;
    color: #aaa;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    box-sizing: border-box;
    width: 33.3%;
    font-weight: bold;
}

#menu a:hover {
    background: rgba(150, 150, 150, .4);
    color: rgb(38, 0, 255);
}

/*     AUTO WRITER     */

.autoWriter {
    font-family: typewriter;
    height: 22px;
}

#writeOn1, #writeOn2, #writeOn3 {
    font-size: large;
}

#writeOn3 {
    margin-bottom: 25px;
}

/*     SCROLLBAR     */

::-webkit-scrollbar {
    width: 15px;
}
  
::-webkit-scrollbar:vertical {
    height: 3px;
}
  
::-webkit-scrollbar-corner,
::-webkit-scrollbar-track {
    background: transparent;
}
  
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgba(38, 0, 255, .4), rgba(204, 0, 255, .4));
    /*box-shadow:-1000vmax -1000vmax 0px 1000vmax orange;*/
}
  
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, rgba(38, 0, 255, 1), rgba(204, 0, 255, 1));
}
  
::-webkit-scrollbar-thumb:active {
    background: #ffa040;
}

/*     FOOTER     */

#footer {
    overflow: hidden;
    height: 60px;
    bottom: 0;
    width: 1000px;
    max-width: 90%;
    background-color: rgba(0,0,0,0.4);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position: fixed;
    text-align: center;
    align-self: center;
    box-sizing: border-box;
}

#footer h3 {
    color: #ffffff;   
}

#footer a:hover {
    color: #ffa040;
    text-decoration: none;
}


/********************/
/*     SECTIONS     */
/********************/

/***********************/
/*     PROGRAMMING     */
/***********************/

.programming {
    font-family: betatron;
    height: 93px;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    display: flex;
    align-items: center;
}
  
.programming img {
    width: 100%;
    padding-left: 100%;
    animation: marquee 20s linear infinite 4.4s;
}
  
.programming2 img {
    animation-delay: 14.4s;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

/*     LINE ANIMATION PROGRAMMING     */

@keyframes strokeOffset {
    to {
        stroke-dashoffset: 0;
    }
}

#line-svg {
    width: 100%;
}

#lineProgramming {
    animation: strokeOffset 15s linear forwards 4.4s;
}

#curve {
    height: 100%;
    margin-top: 100px;
    position: relative;
}

/*     LINE MAZE ESCAPE     */

#mazeEscape {
    display: block;
    width: 70%;
    height: 0;
    padding-bottom: 15%;
    max-width: 700px;
    position: absolute;
    animation: cssAnimationMazeEscape 15s linear forwards 4.4s;
    opacity: 0;
    left: 24%;
    top: 8%;
    overflow: hidden;
}

#mazeEscapePicture {
    display: block;
    width: 20%;
    max-width: 150px;
    position: relative;
    border: 4px solid #4700ff;
    border-radius: 20px;
    box-sizing: border-box;
    float: left;
    z-index: 1;
    align-self: center;
}

#mazeEscapeTxt{
    display: block;
    width: 75%;
    max-width: 562px;
    position: relative;
    float: left;
    margin-left: 2%;
    margin-top: 1.5%;
}

@keyframes cssAnimationMazeEscape {
    0%   {opacity: 0;}
    15%  {opacity: 0;}
    25%  {opacity: 1;}
    100% {opacity: 1;}
}

/*     LINE STAY FIT     */

#stayFit {
    display: block;
    width: 75%;
    height: 0;
    padding-bottom: 15%;
    max-width: 750px;
    position: absolute;
    animation: cssAnimationStayFit 15s linear forwards 4.4s;
    opacity: 0;
    left: 4%;
    top: 42%;
    float: left;
    overflow: hidden;
}

#stayFitPicture{
    display: block;
    width: 20%;
    max-width: 150px;
    position: relative;
    border: 4px solid #8500ff;
    border-radius: 20px;
    box-sizing: border-box;
    float: right;
    z-index: 1;
}

#stayFitTxt{
    display: block;
    width: 75%;
    max-width: 562px;
    position: relative;
    float: left;
    margin-left: 2%;
    margin-top: 1.5%;
}

@keyframes cssAnimationStayFit {
    0%   {opacity: 0;}
    48%  {opacity: 0;}
    58%  {opacity: 1;}
    100% {opacity: 1;}
}

/*     LINE PAINT PROGRAMM     */

#paintProgramm {
    display: block;
    width: 75%;
    height: 0;
    padding-bottom: 15%;
    max-width: 750px;
    position: absolute;
    animation: cssAnimationPaintProgramm 15s linear forwards 4.4s;
    opacity: 0;
    left: 28%;
    top: 73%;
    float: left;
    overflow: hidden;
}

#paintProgrammPicture{
    display: block;
    width: 20%;
    max-width: 150px;
    position: relative;
    border: 4px solid #aa00ff;
    border-radius: 20px;
    box-sizing: border-box;
    float: left;
    z-index: 1;
}

#paintProgrammTxt{
    display: block;
    width: 75%;
    max-width: 562px;
    position: relative;
    float: left;
    margin-left: 2%;
    margin-top: 1.5%;
}

@keyframes cssAnimationPaintProgramm {
    0%   {opacity: 0;}
    73%  {opacity: 0;}
    83%  {opacity: 1;}
    100% {opacity: 1;}
}

/************************/
/*     3D-MODELLING     */
/************************/

.iiiD-Modelling {
    font-family: betatron;
    height: 113px;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    display: flex;
    align-items: center;
}
  
.iiiD-Modelling img {
    margin-top: 25px;
    width: 100%;
    padding-left: 100%;
    animation: marquee2 20s linear infinite 19.4s;
}
  
.iiiD-Modelling2 img {
    animation-delay: 29.4s;
}
  
@keyframes marquee2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

/*     LINE ANIMATION 3D-Modelling     */

#line3DModelling {
    animation: strokeOffset 15s linear forwards 19.4s;
}

/*     LINE DOORBELL     */

#doorbell {
    display: block;
    width: 75%;
    height: 0;
    padding-bottom: 15%;
    max-width: 750px;
    position: absolute;
    animation: cssAnimationDoorbell 15s linear forwards 19.4s;
    opacity: 0;
    left: 18%;
    top: 6%;
    float: left;
    overflow: hidden;
}

#doorbellPicture{
    display: block;
    width: 20%;
    max-width: 150px;
    position: relative;
    border: 4px solid #cc00e8;
    border-radius: 20px;
    box-sizing: border-box;
    float: left;
    z-index: 1;
}

#doorbellTxt{
    display: block;
    width: 75%;
    max-width: 562px;
    position: relative;
    float: left;
    margin-left: 2%;
    margin-top: 1.5%;
}

@keyframes cssAnimationDoorbell {
    0%   {opacity: 0;}
    30%  {opacity: 0;}
    40%  {opacity: 1;}
    100% {opacity: 1;}
}

/*     LINE CO2 Meter     */

#co2Meter {
    display: block;
    width: 75%;
    height: 0;
    padding-bottom: 15%;
    max-width: 750px;
    position: absolute;
    animation: cssAnimationCo2Meter 15s linear forwards 19.4s;
    opacity: 0;
    left: 19%;
    top: 37%;
    float: left;
    overflow: hidden;
}

#co2MeterPicture{
    display: block;
    width: 20%;
    max-width: 150px;
    position: relative;
    border: 4px solid #cc0077;       
    border-radius: 20px;
    box-sizing: border-box;
    float: left;
    z-index: 1;
}

#co2MeterTxt{
    display: block;
    width: 75%;
    max-width: 562px;
    position: relative;
    float: left;
    margin-left: 2%;
    margin-top: 1.5%;
}

@keyframes cssAnimationCo2Meter {
    0%   {opacity: 0;}
    47%  {opacity: 0;}
    57%  {opacity: 1;}
    100% {opacity: 1;}
}

/*     LINE CHESS SET     */

#chessSet {
    display: block;
    width: 70%;
    height: 0;
    padding-bottom: 15%;
    max-width: 700px;
    position: absolute;
    animation: cssAnimationChessSet 15s linear forwards 19.4s;
    opacity: 0;
    left: 12%;
    top: 70%;
    overflow: hidden;
}

#chessSetPicture {
    display: block;
    width: 20%;
    max-width: 150px;
    position: relative;
    border: 4px solid #cc0032;
    border-radius: 20px;
    box-sizing: border-box;
    float: right;
    z-index: 1;
    align-self: center;
}

#chessSetTxt{
    display: block;
    width: 75%;
    max-width: 562px;
    position: relative;
    float: left;
    margin-left: 2%;
    margin-top: 1.5%;
}

@keyframes cssAnimationChessSet {
    0%   {opacity: 0;}
    72%  {opacity: 0;}
    82%  {opacity: 1;}
    100% {opacity: 1;}
}

/***************/
/*     DIY     */
/***************/

.diy {
    font-family: betatron;
    height: 113px;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    display: flex;
    align-items: center;
}
  
.diy img {
    margin-top: 25px;
    width: 100%;
    padding-left: 100%;
    animation: marquee3 20s linear infinite 34.4s;
}
  
.diy2 img {
    animation-delay: 44.4s;
}
  
@keyframes marquee3 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

/*     LINE ANIMATION DIY     */

#lineDiy {
    animation: strokeOffset 15s linear forwards 34.4s;
}

/*     LINE LED LIGHT     */

#LEDLight {
    display: block;
    width: 75%;
    height: 0;
    padding-bottom: 15%;
    max-width: 750px;
    position: absolute;
    animation: cssAnimationLEDLight 15s linear forwards 34.4s;
    opacity: 0;
    left: 4%;
    top: 12%;
    float: left;
    overflow: hidden;
}

#LEDLightPicture{
    display: block;
    width: 20%;
    max-width: 150px;
    position: relative;
    border: 4px solid #cc2100;
    border-radius: 20px;
    box-sizing: border-box;
    float: right;
    z-index: 1;
}

#LEDLightTxt{
    display: block;
    width: 75%;
    max-width: 562px;
    position: relative;
    float: left;
    margin-left: 2%;
    margin-top: 1.5%;
}

@keyframes cssAnimationLEDLight {
    0%   {opacity: 0;}
    22%  {opacity: 0;}
    32%  {opacity: 1;}
    100% {opacity: 1;}
}

/*     LINE FOAM MACHINE     */

#foamMachine {
    display: block;
    width: 75%;
    height: 0;
    padding-bottom: 15%;
    max-width: 750px;
    position: absolute;
    animation: cssAnimationFoamMachine 15s linear forwards 34.4s;
    opacity: 0;
    left: 17%;
    top: 46%;
    float: left;
    overflow: hidden;
}

#foamMachinePicture{
    display: block;
    width: 20%;
    max-width: 150px;
    position: relative;
    border: 4px solid #cc5c00;
    border-radius: 20px;
    box-sizing: border-box;
    float: left;
    z-index: 1;
}

#foamMachineTxt{
    display: block;
    width: 75%;
    max-width: 562px;
    position: relative;
    float: left;
    margin-left: 2%;
    margin-top: 1.5%;
}

@keyframes cssAnimationFoamMachine {
    0%   {opacity: 0;}
    43%  {opacity: 0;}
    53%  {opacity: 1;}
    100% {opacity: 1;}
}

/*     LINE LR3     */

#LR3 {
    display: block;
    width: 70%;
    height: 0;
    padding-bottom: 15%;
    max-width: 700px;
    position: absolute;
    animation: cssAnimationLR3 15s linear forwards 34.4s;
    opacity: 0;
    left: 14%;
    top: 69%;
    overflow: hidden;
}

#LR3Picture {
    display: block;
    width: 20%;
    max-width: 150px;
    position: relative;
    border: 4px solid #ccb500;
    border-radius: 20px;
    box-sizing: border-box;
    float: right;
    z-index: 1;
    align-self: center;
}

#LR3Txt{
    display: block;
    width: 75%;
    max-width: 562px;
    position: relative;
    float: left;
    margin-left: 2%;
    margin-top: 1.5%;
}

@keyframes cssAnimationLR3 {
    0%   {opacity: 0;}
    80%  {opacity: 0;}
    90%  {opacity: 1;}
    100% {opacity: 1;}
}