@font-face {
    font-family:"Zurich Light";
    src:url("../fonts/light.woff")
}

@font-face {
    font-family:"Zurich Bold";
    src:url("../fonts/bold.woff")
}

@font-face {
    font-family:"Zurich Condensed";
    src:url("../fonts/condensed.woff")
}

@font-face {
    font-family:"Zurich Extended";
    src:url("../fonts/extended.woff")
}

@font-face {
    font-family:"Zurich Italic";
    src:url("../fonts/italic.woff")
}

@font-face {
    font-family: 'C64 Pro';
    src: url('../fonts/C64Pro.woff') format('woff');
}

* {
    padding:0;
    margin:0;
    outline:0;
    border:0;
}

html,body {
    background:#000;
    width:100vw;
    height:100vh;
    overflow:hidden;
    font-size:1rem;
    line-height:1rem;
    /* background:#1a1a1a; */
    display:flex;
    align-items: center;
}

#wrapper {
    position: relative;
    width:100vw;
    margin:0;
}

#wrapper .inside {
    position: relative;
    max-width:100vw;
    max-height:100vh;
    aspect-ratio:16/9;
    margin:0px auto;
    overflow: hidden;
}

#fabrik {
    width:100%;
    height:100%;
    top:0;
    left:0;
    transition:1.5s ease-in-out;
}

#fabrik img.mit {
    opacity:1;
    transition:1.5s;
}

#fabrik.ohne img.mit {
    opacity:0;
}

#fabrik.ohne #enter, #fabrik.veredelung #enter, #fabrik.aufschnitt #enter, #fabrik.ohne #schweinchen, #fabrik.ohne .info div {
    display:none;
}

#fabrik.ohne ~ #funktionen .info .info {
    background-image: url(../images/info-off.png) !important;
    cursor: default;
}

#fabrik img:not(truck1) {
    width:100%;
    height:100%;
    position: absolute;
    margin-left:0;
    margin-top:0;
    transition:1s;
    border-radius: 20px;
}

#fabrik.zoom {
    width:200vw;
    height:200vh;
    margin-left:-50vw;
    margin-top:-25vh;
}

#fabrik img.hackfleisch, #fabrik img.aufschnitt, #fabrik img.veredelung { opacity:0; }
#fabrik img.hackfleisch-ohne, #fabrik img.aufschnitt-ohne, #fabrik img.veredelung-ohne { opacity:0; }

#fabrik.active {
    transform:translateX(-25vw);
    opacity:0.3;
}

#fabrik .label div {
    font-size:1.5rem;
    line-height:1.5rem;
    font-family: "Zurich Light";
    color:#fff;
    background:rgba(0,0,0,0.6);
    padding:0.75vw 1.5vw;
    position: absolute;
    opacity:0;
    transition:1s ease-in-out;
}

#fabrik.zoom .label div {
    font-size:2rem;
    line-height:2rem;
    padding:1vw 2vw;
}

#fabrik .label.active div { opacity:1; }
#fabrik .label span { display:none; }
#fabrik.de .label .de, #fabrik.en .label .en, #fabrik.fr .label .fr, #fabrik.it .label .it, #fabrik.es .label .es { display:block; }

#fabrik .label div:after {
    content:'';
    width:1vw;
    height:1vw;
    background-image: url("../images/ecke-rechts-unten.png");
    background-position: center;
    background-size: cover;
    background-color: transparent;
    background-repeat: no-repeat;
    position: absolute;
    right:0.25vw;
    bottom:0.25vw;
}

#fabrik .label div.rechts.oben:after {
    transform:rotate(270deg);
    top:0.25vw;
    bottom:auto;
}

#fabrik .label div.links.oben:after {
    transform:rotate(180deg);
    top:0.25vw;
    left:0.25vw;
    right:auto;
    bottom:auto;
}

#fabrik .label div.links.unten:after {
    transform:rotate(90deg);
    left:0.25vw;
    right:auto;
}

.zerlegehalle {
    bottom:40%;
    right:55%;
}

.kistenwaesche {
    bottom:28%;
    right:63%;
}

.abstandhalle {
    bottom:18%;
    right:46%;
}

.kuehlturm {
    bottom:54%;
    right:48.5%;
}

.kuehlraum {
    bottom:77%;
    right:73%;
}

.slicer {
    bottom:62.5%;
    right:86%;
}

.wurstproduktion {
    top:52%;
    right:69%;
}

.kochkammer {
    top:38%;
    right:68%;
}

.klimakammer {
    top:33.5%;
    left:49.5%;
}

.hygieneschleuse {
    top:50%;
    left:61%;
}

.verpackung {
    bottom:82%;
    left:58.5%;
}

.hackfleischproduktion {
    bottom:69.5%;
    left:69%;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 153, 229, 1);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 45px rgba(0, 153, 229, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 153, 299, 0);
    }
}

.puls {
    width:50px;
    height:35px;
    margin-left:-25px;
    margin-top:-25px;
    content:"+";
    font-size:2rem;
    line-height:1rem;
    font-family: "Zurich Bold";
    color:#fff;
    position: absolute;
    border-radius:30px;
    background:rgba(0, 153, 299, 0.7);
    animation: pulse 2s infinite;
    cursor:pointer;
    text-align:center;
    padding-top:15px;
}

#fabrik .info {
    width:100%;
    height:100%;
    position: relative;
}

#fabrik .info div {
    opacity:0;
    transition:1s;
}

#fabrik .info.active div {
    opacity:1;
}

.info .t2018 {
    left:47.5%;
    top:64.5%;
}

.info .et.folie {
    left:55%;
    top:23%;
}

.info .et.verdampfer {
    left:51.5%;
    top:54.5%;
}

.info .et.kuehlraum {
    left:32.5%;
    top:22%;
}

.info .et.kistenwaesche {
    left:38.5%;
    top:76%;
}

.info .ex {
    left:34.25%;
    top:46.5%;
}

.info .d-serie {
    left:46.75%;
    top:30.5%;
}

.info .et.hackfleisch {
    left:72.5%;
    top:36%;
}

.info .et.schalen {
    left:66%;
    top:32.5%;
}

.info .et.slicer {
    left:17.5%;
    top:43%;
}

.info .aqt {
    left:54.5%;
    top:52%;
}

.info .exb {
    left:57.25%;
    top:70.5%;
}

.info .uvr-xs.rechts {
    left:59%;
    top:48.25%;
}

.info .uvr-4k.rechts {
    left:57%;
    top:18.5%;
}

.info .uvr-4k.links {
    left:15%;
    top:37.75%;
}

.info .uvc-lock {
    left:23.25%;
    top:35%;
}

#fabrik.hackfleisch .uvc-lock, #fabrik.hackfleisch .d-serie, #fabrik.hackfleisch .ex, #fabrik.hackfleisch .uvr-4k.links, #fabrik.hackfleisch .uvr-4k.rechts, #fabrik.hackfleisch .et.kuehlraum, #fabrik.hackfleisch .et.folie, #fabrik.hackfleisch .et.kistenwaesche {
    opacity:0 !important;
}

#fabrik.hackfleisch .kistenwaesche, #fabrik.hackfleisch .wurstproduktion, #fabrik.hackfleisch .kochkammer, #fabrik.hackfleisch .kuehlraum, #fabrik.hackfleisch .slicer, #fabrik.hackfleisch .klimakammer, #fabrik.hackfleisch .verpackung {
    opacity:0 !important;
}

#fabrik.veredelung .uvc-lock, #fabrik.veredelung .et.kistenwaesche, #fabrik.veredelung .uvr-xs.rechts, #fabrik.veredelung .uvr-4k.links, #fabrik.veredelung .et.schalen, #fabrik.veredelung .et.hackfleisch, #fabrik.veredelung .et.kuehlraum {
    opacity:0 !important;
}

#fabrik.veredelung .hackfleischproduktion, #fabrik.veredelung .hygieneschleuse, #fabrik.veredelung .kistenwaesche, #fabrik.veredelung .kochkammer, #fabrik.veredelung .kuehlraum, #fabrik.veredelung .slicer {
    opacity:0 !important;
}

#fabrik.aufschnitt .d-serie, #fabrik.aufschnitt .et.folie, #fabrik.aufschnitt .uvr-4k.rechts, #fabrik.aufschnitt .et.kistenwaesche, #fabrik.aufschnitt .et.schalen, #fabrik.aufschnitt .et.hackfleisch, #fabrik.aufschnitt .uvr-xs.rechts {
    opacity:0 !important;
}

#fabrik.aufschnitt .kistenwaesche, #fabrik.aufschnitt .hygieneschleuse, #fabrik.aufschnitt .hackfleischproduktion, #fabrik.aufschnitt .klimakammer, #fabrik.aufschnitt .verpackung {
    opacity:0 !important;
}

#logo {
    width:14%;
    position: absolute;
    top:5%;
    left:4.5%;
    cursor:pointer;
}

#logo img {
    width:100%;
}

#sprache {
    position: absolute;
    top:5.2%;
    right:2.6%;    
    font-size:1.75rem;
    line-height:1rem;
    font-family: "Zurich Light";
    color:#fff;
    z-index:1000;
    transition:1.5s ease-in-out;
}

#sprache.active {
    right:30%;
}

#sprache div {
    float:left;
    background:rgba(64,64,64,0.7);
    width:70px;
    height:45px;
    padding-top:25px;
    margin-left:5px;
    cursor:pointer;
    transition:0.5s;
    text-align: center;
}

#sprache div:hover, #sprache.de div.de, #sprache.en div.en, #sprache.fr div.fr, #sprache.it div.it, #sprache.es div.es {
    background:#0099e5;
}

#funktionen {
    position: absolute;
    bottom:5.2%;
    right:2.6%;
    color:#fff;
}

#funktionen .zweig {
    margin-bottom:2.6vw;
}

#funktionen div div {
    position: relative;
    background:rgba(64,64,64,0.7);
    margin-top:5px;
    cursor:pointer;
    transition:0.5s;
    text-indent:-9999px;
    width:70px;
    height:70px;
    background-position: center;
    background-repeat: no-repeat;
    background-size:67%;
}

#funktionen div div:hover {
    background-color:rgba(128,128,128,0.7);
}

#funktionen div div.active {
    background-color:#0099e5;
}

#funktionen .hackfleisch { background-image: url("../images/hackfleisch.png"); }
#funktionen .aufschnitt { background-image: url("../images/aufschnitt.png"); }
#funktionen .veredelung { background-image: url("../images/veredelung.png"); }

#funktionen .uvc .uvc { background-image: url("../images/uvc-on.png"); }
#funktionen .info .info { background-image: url("../images/info-on.png"); }
#funktionen .label .label { background-image: url("../images/label-on.png"); }
#funktionen .zoom .zoom { background-image: url("../images/zoom-on.png"); }

#popups {
    position: absolute;
    right:-60vw;
    top:0;
    width:50vw;
    height:100%;
    background: #1A1A1A;
    display:flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color:#fff;
    font-family:"Zurich Light";
    font-size:1rem;
    line-height:1.5rem;
    box-shadow: 0px 0px 300px 30px #000;
    transition:1.5s;
}

#popups.active {
    right:0;
}

#popups .popup span { display:none; }
#popups.de .popup span.de { display:block; }
#popups.en .popup span.en { display:block; }
#popups.fr .popup span.fr { display:block; }
#popups.it .popup span.it { display:block; }
#popups.es .popup span.es { display:block; }

.popup.active {
    display:block;
}

.popup {
    position: relative;
    display:none;
    width:100%;
    height:100%;
}

.popup h2 {
    font-family: "Zurich Condensed";
    font-weight: 100;
    font-size:3rem;
    line-height:3rem;
    letter-spacing: -0.5px;
    margin-bottom:45px;
    text-align: center;
}

.popup h3 {
    font-family: "Zurich Bold";
    font-size:1rem;
    line-height:1rem;
    letter-spacing: 0px;  
    color: #0099e5;
    text-align: center;
}

.popup p {
    width:85%;
    margin:0 auto;
    margin-bottom:45px;
}

.popup model-viewer {
    width:100%;
    height:50%;
    position: relative;
    display: block;
}

.close {
    cursor:pointer;
    width:70px;
    height:70px;
    position: absolute;
    top:2.6vw;
    right:2.6vw;
    text-indent: -99999px;
    background: url("../images/close.png") center no-repeat;
    background-size: contain;
}

.documents {
    position: absolute;
    bottom:2.6vw;
    right:2.6vw;
}

.documents .kronen { background-image:url(../images/kronen.png); }
.documents .karotten { background-image:url(../images/karotten.png); }
.documents .kohl { background-image:url(../images/kohl.png); }
.documents .zwiebeln { background-image:url(../images/zwiebeln.png); }
.documents .messevideo { background-image:url(../images/messevideo.png); }
.documents .video { background-image:url(../images/video.png); }
.documents .image { background-image:url(../images/images.png); }
.documents .document { background-image:url(../images/document.png); }

.documents .document { display: none; }
#popups.de .documents .document.de, #popups.en .documents .document.en, #popups.fr .documents .document.fr { display:block; }

.documents div, .kronenliste div:not(.close):not(.logo-kronen)::before {
    float:right;
    display:inline;
    margin-left:1.5vw;
    cursor:pointer;
    width:70px;
    height:70px;
    background:#0099e5;
    text-indent: -99999px;
    background-size:cover;
}

.kronenliste div:not(.close):not(.logo-kronen)::before {
    content:'';
    position: absolute;
    float:none;
    display: block;
    margin-top:0.25vw;
    margin-left: -3.5vw;
    width:2vw;
    height:2vw;
    background:#e50000;
    background-image: url(../images/kronenplay.png);
    background-size:contain;
}

.kronenliste div.logo-kronen {
    flex-basis: 100% !important;
    padding-left:3vw !important;
}

.kronenliste div.logo-kronen img {
    width:15vw;
}

.player, .messeplayer, .karottenplayer, .kohlplayer, .zwiebelnplayer, .kronenplayer {
    width:180%;
    height:100%;
    position: absolute;
    left:-80%;
    top:100%;
    background:rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content:center;
    transition:1.5s;
    z-index:10000;
}

.kronenplayer {
    z-index:100000;
}

.player.active, .messeplayer.active, .karottenplayer.active, .kohlplayer.active, .zwiebelnplayer.active, .kronenplayer.active {
    top:0;
}

.player > div:not(.close), .messeplayer > div:not(.close), .karottenplayer > div:not(.close), 
.kohlplayer > div:not(.close), .zwiebelnplayer > div:not(.close), .kronenplayer > div:not(.close)  {
    width:80%;
    margin:0 auto;
}

.et-folie .player video {
    width:auto;
    max-height:90%;
}

.player video, .messeplayer video, .karottenplayer video, .kohlplayer video, .zwiebelnplayer video, .kronenplayer video  {
    width:100%;
    margin:0 auto;
    box-shadow: 0 0 90px 0px #000;
}


.kronenplayer div:not(.close) {
    display: none;
}

.reader {
    width:180%;
    height:96%;
    position: absolute;
    left:-80%;
    top:0;
    background:rgba(0,0,0,0.9);
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    top:100vh;
    transition: 1.5s;
    z-index:100000;
    padding:2%;
    overflow:hidden;
}

.reader div:not(.close) {
    position: relative;
    width:100%;
    height:100%;
}

.reader.active {
    top:0;
}

.reader.active .close {
    position: absolute;
}

.reader div img {
    width:auto;
    height:100%;
    margin:0 auto;
    display:block;
    object-fit: cover;
}

.gallery, .kronenliste {
    width:178%;
    height:97%;
    position: absolute;
    left:-78%;
    top:0;
    background:rgba(0,0,0,0.9);
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    top:100vh;
    transition: 1.5s;
    z-index:100000;
    padding:1% 0 2% 1%;
    overflow-y: scroll;
}

.kronenliste {
    text-align: left;
}

.gallery.active, .kronenliste.active {
    top:0;
}

.gallery.active .close, .kronenliste.active .close {
    position: absolute;
}

.gallery div:not(.close) {
    flex-basis: 31%;
    height:30%;
    padding:1%;
}

.kronenliste div:not(.close) {
    flex-basis: 27%;
    height:auto;
    padding:0%;    
    padding-left:5vw;
}

.uvr-xs .gallery div:not(.close) {
    height:45%;
}

.gallery div img {
    width:100%;
    height:100%;
    object-fit: cover;
}

em {
    font-style: normal;
    font-family:"Zurich Extended";
}

@keyframes truck1 {
    0% { transform:translate(20vw,22.5vh);opacity: 0}
    15% { transform:translate(0);opacity: 1}
    45% { transform:translate(0);opacity: 1}
    60% { transform:translate(20vw,22.5vh);opacity: 0}
    100% { transform:translate(20vw,22.5vh);opacity: 0}
}

#fabrik img.truck1 {
    position: absolute;
    width:7.75%;
    height:13%;
    bottom:9.25%;
    right:29.25%;
    animation: truck1 60s infinite ease-in-out;
}

@keyframes truck2 {
    0% { transform:translate(25vw,25vh);opacity: 0}
    30% { transform:translate(25vw,25vh);opacity: 0}
    45% { transform:translate(0);opacity: 1}
    75% { transform:translate(0);opacity: 1}
    90% { transform:translate(25vw,25vh);opacity: 0}
    100% { transform:translate(25vw,25vh);opacity: 0}
}

#fabrik img.truck2 {
    position: absolute;
    width:7.5%;
    height:12.5%;
    bottom:31.5%;
    right:15.75%;
    animation: truck2 60s infinite ease-in-out;
}

@keyframes truck3 {
    0% { transform:translate(-20vw,22.5vh);opacity: 0}
    15% { transform:translate(-20vw,22.5vh);opacity: 0}
    30% { transform:translate(0);opacity: 1}
    60% { transform:translate(0);opacity: 1}
    75% { transform:translate(-20vw,22.5vh);opacity: 0}
    100% { transform:translate(-20vw,22.5vh);opacity: 0}
}

#fabrik img.truck3 {
    position: absolute;
    width:7.75%;
    height:12.5%;
    bottom:28.75%;
    left:10.5%;
    animation: truck3 60s infinite ease-in-out;
}

@keyframes truck4 {
    0% { transform:translate(-20vw,-20vh);opacity: 0}
    40% { transform:translate(-20vw,-20vh);opacity: 0}
    55% { transform:translate(0);opacity: 1}
    85% { transform:translate(0);opacity: 1}
    100% { transform:translate(-20vw,-20vh);opacity: 0}
}

#fabrik img.truck4 {
    position: absolute;
    width:6%;
    height:9%;
    top:9%;
    right:54%;
    animation: truck4 60s infinite ease-in-out;
}

#fabrik #trucks {
    opacity:1;
    transition:0.5s;
}

#fabrik.hackfleisch #trucks, #fabrik.aufschnitt #trucks, #fabrik.veredelung #trucks {
    opacity:0.15 !important;
}

#fabrik.zoom #trucks {
    opacity:0;
}

@keyframes arcade {
    0% {opacity:0;}
    20% {opacity:0.3;}
    25% {opacity:0.45;}
    30% {opacity:0.45;}
    35% {opacity:1;}
    45% {opacity:0.7;}
    60% {opacity:0.3;}
    70% {opacity:0.3;}
    75% {opacity:0.6;}
    80% {opacity:0.6;}
    85% {opacity:0.3;}
    95% {opacity:0.7;}
    100% {opacity:0;}
}

#enter {
    position: absolute;
    width:2.3%;
    height:4.6%;
    bottom:44.95%;
    right:26.45%;
    cursor: pointer;
    opacity:0;
    border-radius: 15px;
    background: url(../images/arcade.jpg);
    background-size: cover;
    animation: arcade 5s infinite ease-in-out;
}

#fabrik.zoom #enter, #fabrik .label.active ~ #enter {
    display:none;
    opacity:0 !important;
}

#schweinchen {
    position: absolute;
    bottom:15.87%;
    left:53.5%;
    transition: 0.5s;
    opacity: 0;
}

#schweinchen video {
    width:24.64%;
    border-radius:60px;
}

#game {
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    position: absolute;
    left:0;
    display:flex;
    align-items:flex-end;
    justify-content: center;
    z-index:100000;
    transition:1.5s;
    top:100vh;
}

#game.active {
    top:0;
}

#game #monitor {
    width:50vw;
    height:48vw;
    overflow: visible;
    background-image: url(../images/c64.jpg);
    background-size:contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100vh);
    transition:2.5s;
    box-shadow: 0px 0px 180px 30px black;
}

#game.active #monitor {
    transform: translateY(0);
}

#game #monitor #inner {
    width:73%;
    height:51%;
    margin-bottom:16%;
    position: relative;
    transition:1s;
    opacity:0;
}

#game #monitor #inner .halb {
    width:75%;
    height:100%;
    right:0;
    top:0;
    position: absolute;
}

#game #monitor #inner .unten {
    width:100%;
    height:50%;
    left:0;
    bottom:0;
    position: absolute;
}

#game #monitor.start #inner {
    opacity: 1;
}

#game #monitor #inner img {
    width:100%;
    height:auto;
}

#game #monitor #inner img.start {
    cursor:pointer;
}

#game #monitor #inner img.level {
    position: absolute;
    display: none;
}

#game .level1, #game .level2, #game .level3 {
    background: transparent;
    width:25%;
    height:40%;
    position: absolute;
    top:50%;
    left:5%;
    cursor: pointer;
    display: none;
}

#game .level2 {
    left:37.5%;
}

#game .level3 {
    left:70%;
}

#level1, #level2, #level3 {
    width:100%;
    height:100%;
    display:none;
    position: absolute;
}

#level1 .band1, #level1 .band2, #level1 .band3, #level1 .band4 {
    position: absolute;
    left:0;
    bottom:0;
}

#level2 .ventilator {
    position: absolute;
    left:0;
    top:0;
}

#level3 .wasser {
    position: absolute;
    left:0;
    top:0;
}

.highscore {
    position: absolute;
    top:2.9vw;
    right:1.1vw;
    color:white;
    font-size:1.6rem;
    font-family: "C64 Pro";
    text-align: right;
}

.time {
    position: absolute;
    top:2.9vw;
    right:16vw;
    color:white;
    font-size:1.6rem;
    font-family: "C64 Pro";
    text-align: right;
}

@keyframes floaten {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-1vw); }
  100% { transform: translateY(0); }
}

img.uvc-stick1 {
    width:4vw !important;
    height:auto !important;
    top:35%;
    right:10%;
    position: absolute;
    animation: floaten 2s linear infinite;
    cursor: move;
}

img.uvc-stick2 {
    width:4vw !important;
    height:auto !important;
    bottom:15%;
    right:42.5%;
    position: absolute;
    animation: floaten 2s linear infinite;
    cursor: move;
}

img.uvc-stick3 {
    width:4vw !important;
    height:auto !important;
    top:30%;
    right:40%;
    position: absolute;
    animation: floaten 2s linear infinite;
    cursor: move;
}

.no-float {
  animation: none !important;
}

#level1 .keim {
  position: absolute;
  left: 0px;
  width: 50px;
  height: 50px;
  top: 250px;
  z-index: 5;
}

#level2 .keim {
  position: absolute;
  left: 100px;
  width: 50px;
  height: 50px;
  top: 0px;
  z-index: 5;
}

#level3 .keim {
  position: absolute;
  width: 50px;
  height: 50px;
  top:400px;
  z-index: 5;
}

#level1 .rot, #level2 .rot, #level3 .rot {
    width:2vw;
    height:2vw;
    background: url(../images/rot.png);
    background-size: contain;
    background-repeat: no-repeat;
}

#level1 .gruen, #level2 .gruen, #level3 .gruen {
    width:4vw;
    height:4vw;
    background: url(../images/gruen.png);
    background-size: contain;
    background-repeat: no-repeat;
}

@keyframes explodieren {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes floatenY {
  0% { transform: translateY(0); }
  100% { transform: translateY(2vw); }
}

@keyframes floatenX {
  0% { transform: translateX(0); }
  100% { transform: translateX(3vw); }
}

.keim.floaten { animation: floatenY 1.5s ease-in-out infinite alternate; }
.keim.floatenside { animation: floatenX 1.5s ease-in-out infinite alternate; }
.wolke.floatenside { animation: floatenX 1.5s ease-in-out infinite alternate; }
.bubble.floatenside { animation: floatenX 1.5s ease-in-out infinite alternate; }
.keim.hit { animation: explodieren 0.3s forwards !important; }
.wolke.hit { animation: explodieren 0.3s forwards !important; }
.bubble.hit { animation: explodieren 0.3s forwards !important; }
.fleisch.hit { animation: explodieren 0.3s forwards !important; }

.fleisch {
  position: absolute;
  left: 0px;
  width: 60px;
  height: 40px;
  top: 265px;
  z-index: 4;
}

.fleisch1 {
    width:4vw;
    height:4vw;
    background: url(../images/fleisch1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.fleisch2 {
    width:4vw;
    height:4vw;
    background: url(../images/fleisch2.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.fleisch3 {
    width:4vw;
    height:4vw;
    background: url(../images/fleisch3.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.wolke {
  position: absolute;
  left: 100px;
  width: 60px;
  height: 40px;
  top: 100px;
  z-index: 4;
}

.wolke1 {
    width:5vw;
    height:4vw;
    background: url(../images/wolke1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.wolke2 {
    width:5vw;
    height:4vw;
    background: url(../images/wolke2.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.bubble {
  position: absolute;
  left: 0px;
  width: 60px;
  height: 40px;
  bottom: 0px;
  z-index: 4;
  top:auto;
}

.bubble1 {
    width:2vw;
    height:3vw;
    background: url(../images/bubble1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.bubble2 {
    width:3vw;
    height:4vw;
    background: url(../images/bubble2.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.gameover1, .gameover2, .gameover3 {
  position: absolute;
  display:none;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 50px);
  background: rgba(0, 0, 0, 0.85);
  font-family: "C64 Pro";
  padding-top: 50px;
  font-size: 1.5rem;
  text-align: center;  
  color: #00aaff;
  z-index: 9999;
  cursor: pointer;
}

.gameover1 h1, .gameover2 h1, .gameover3 h1 {
  color: #ff4444;
  font-size: 6rem;
  line-height: 7rem;
}

#finalscore1, #finalscore2, #finalscore3 {
  font-size:4.5rem;
  line-height: 7rem;
  color:white;
}

#landscape {
    display:none;
}

#landscape p {
    margin:3% 9%;
}

#landscape p.mobil {
    display:none;
    font-family: "Zurich Bold";
}

@media (orientation: portrait) {
    #landscape {
        width:100vw;
        height:100vh;
        background:rgba(0,0,0,0.85);
        display:block;
        position: fixed;
        top:0;
        left:0;
        z-index:10000000;
        display: flex;
        align-items: center;
        justify-content: center;
        color:#fff;
        font-family: "Zurich Light";
        font-size:1rem;
        line-height:1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    #landscape img {
        width:120px;
        height:auto;
    }
}

@media (max-width: 1680px){

    .puls {
        width:45px;
        height:35px;
        padding-top:10px;
        font-size:1.75rem;
        line-height:1.4rem;
    }
    
    #sprache div {
        width:60px;
        height:40px;
        padding-top:20px;
        font-size: 1.5rem;
        line-height: 1.1rem;
    }
    
    #funktionen div div, .close, .documents div, .kronenliste div:not(.close):not(.logo-kronen)::before {
        width:60px;
        height:60px;
    }
    
    .popup h2 {
        font-size: 2.5rem;
        line-height: 2.5rem;
        letter-spacing:0px;
        margin-bottom:30px;
    }
    
    .popup h3 {
        font-size: 0.9rem;
        line-height: 0.9rem;
    }
    
    #popups {
        font-size: 0.9rem;
        line-height: 1.4rem;
    }
    
    #fabrik .label div {
        font-size:1.25rem;
        line-height: 1.25rem;
        padding: 0.75% 1.5%;
    }

}

@media (max-width: 1440px){
    
    .puls {
        width:40px;
        height:30px;
        padding-top:10px;
        font-size:1.5rem;
        line-height:1.1rem;
    }
    
    #sprache {
        top:3.5%;
        right:2%;
    }
    
    #sprache.active {
        right:29%;
    }
    
    #sprache div {
        width:55px;
        height:35px;
        padding-top:20px;
        font-size: 1.33rem;
        line-height: 0.9rem;
    }
    
    #funktionen {
        bottom:3.5%;
        right:2%;
    }
    
    #funktionen div div, .close, .documents div, .kronenliste div:not(.close):not(.logo-kronen)::before {
        width:55px;
        height:55px;
    }
    
    .close {
        top:3.5%;
        right:3.5%;
    }
    
    .documents {
        bottom:3.5%;
        right:3.5%;
    }
    
    .popup h2 {
        font-size: 2rem;
        line-height: 2rem;
        margin-bottom:20px;
    }
    
    .popup h3 {
        font-size: 0.75rem;
        line-height: 0.75rem;
    }
    
    #popups {
        font-size: 0.75rem;
        line-height: 1.2rem;
    }
    
    .popup p {
        width:90%;
    }
    
    #fabrik .label div {
        font-size:1rem;
        line-height: 1rem;
        padding: 0.5% 1.25%;
    }

}

@media (max-width: 1280px){

    #fabrik #enter, #fabrik #schweinchen {
        display:none !important;
    }
    
    .puls {
        width:35px;
        height:25px;
        padding-top:10px;
        font-size:1.33rem;
        line-height:0.9rem;
    }
    
    #sprache.active {
        right:26%;
    }
    
    #sprache div {
        width:50px;
        height:35px;
        padding-top:15px;
        font-size: 1.25rem;
        line-height: 1.2rem;
    }
    
    #funktionen div div, .close, .documents div, .kronenliste div:not(.close):not(.logo-kronen)::before {
        width:50px;
        height:50px;
    }
    
    .popup h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
        margin-bottom:15px;
    }
    
    .popup h3 {
        font-size: 0.67rem;
        line-height: 0.67rem;
    }
    
    #popups {
        font-size: 0.67rem;
        line-height: 1rem;
    }
    
    .popup p {
        width:90%;
    }

}

@media (max-width: 1024px) and (orientation: portrait){
    
    #landscape {
        font-size:0.75rem;
        line-height:1.25rem;
    }
    
    #landscape p.mobil {
        display:block;
    }
    
    #landscape img {
        width:90px;
        height:auto;
    }
    
}

@media (max-width: 1024px) and (orientation: landscape){

    hmtl, body {
        background:black;
    }
    
    #wrapper .inside {
        border:0;
        max-height:100vh;
    }
    
    #wrapper {
        margin:0 auto;
        height:100vh;
    }
    
    .puls {
        width:35px;
        height:25px;
        padding-top:10px;
        font-size:1.33rem;
        line-height:0.9rem;
    }
    
    #sprache.active {
        right:26%;
    }
    
    #sprache div {
        width:40px;
        height:30px;
        padding-top:10px;
        font-size: 1.1rem;
        line-height: 1.25rem;
        margin-left:3px;
    }
    
    #funktionen div div, .close, .documents div, .kronenliste div:not(.close):not(.logo-kronen)::before {
        width:40px;
        height:40px;
        margin-top:3px;
    }
    
    #funktionen .zweig {
        margin-bottom:15px;
    }
    
    .popup h2 {
        font-size: 1.25rem;
        line-height: 1.25rem;
        margin-bottom:10px;
    }
    
    .popup h3 {
        font-size: 0.5rem;
        line-height: 0.5rem;
    }
    
    #popups {
        font-size: 0.55rem;
        line-height: 0.75rem;
    }
    
    .popup p {
        width:90%;
    }
    
    #fabrik.zoom {
        width: 200%;
        height: 200%;
        margin-left: -50%;
        margin-top: -25%;
    }
    
    #fabrik .label div {
        font-size:0.75rem;
        line-height: 0.75rem;
        padding: 0.75% 1.5%;
    }

}