:root {
    --backgroundSizeX: 100vh;

}
body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: black;
    scrollbar-width: inherit; /* Versteckt den Scrollbalken in Firefox */
    -ms-overflow-style: none; /* Versteckt den Scrollbalken in IE und Edge */
}
body::-webkit-scrollbar {
    display: none; /* Versteckt den Scrollbalken in Chrome und Safari */
}
.parallax {
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: round;
    background-size: contain;
    image-rendering: pixelated;
}

.layer-1 {
    background-image: url('../images/space_background_far_away.png');
    animation: moveStars 60s linear infinite;
}
.layer-2 {
    background-image: url('../images/space_background_middle.png');
    animation: moveStars 40s linear infinite;
}
.layer-3 {
    background-image: url('../images/space_background_close.png');
    animation: moveStars 20s linear infinite;
}

/*NEU*/
/* Standard-Stil für alle Parallax-Bereiche */
.parallax-section {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.parallax-section p {
    color: white;
}

@keyframes moveStars {
    0% {
        background-position: 0;
    }
    100% {
        background-position: var(--backgroundSizeX);
    }
}
@font-face {
    font-family: rhombica-dialogue;
    src: url(../fonts/rhombica-dialogue.ttf);
}

/* Normale Parallax-Abschnitte */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.title2 .parallax-bg { background-image: url('../images/bg_2.png');}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0px 20px 100px;
}
.header {
    /*background-image: linear-gradient(180deg, #6868d6 50%, rgb(154, 154, 214) 100%);*/
    background: #6868d6;
    position: relative;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex
    ;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.header .header-content .brand-name {
    font-size: calc(30px + (75 - 30) * ((100vw - 300px) / 1000));
    margin-bottom: 10px;
    position: relative;
    display: block;
}

.header .header-content img {
    width: 100vh;
}

.header .header-content .header-subtitle {
    font-size: calc(10px + (22 - 10) * ((100vw - 300px) / (1300 - 300)));
    letter-spacing: calc(1px + (7 - 1) * ((100vw - 300px) / (1300 - 300)));
    margin-top: -10px;
    margin-bottom: 20px;
    color: #fff;
}

.header-title {
    font-size: 2.4rem;
    font-weight: bold;
    color: #6868d6;
}

.content-container {
    /*background-image: linear-gradient(180deg, #6868d6 50%, rgb(154, 154, 214) 100%);*/
    padding-top: 100px;
    padding-bottom: 100px;
    background: white;
    position: relative;
    /*min-height: 100vh;*/
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex
    ;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.content-container .article img {
    gap: 30px;
    -webkit-box-shadow: 0px 12px 24px -16px #000000; 
    box-shadow: 0px 12px 24px -16px #000000;
    border-radius: 20px;
}

.gradient {
    background-image: linear-gradient(0deg, #6868d600 60%, #6868d660 100%);
    height: 10rem;
}

.link {
    z-index: 100;
}

h1, .titleElement {
    font-family: rhombica-dialogue;
}

p {
    font-family: bahnschrift;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.rocket-container {
    z-index: 1000;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 100px;
}
.rocket {
    user-select: none;       /* Verhindert das Markieren */
    pointer-events: none; 
    filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.5));
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    transition: top 0.1s linear;
}

@keyframes flame {
    0% { height: 40px; opacity: 0.8; }
    100% { height: 60px; opacity: 0.5; }
}
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

}

footer {
    padding-top: 50px;
    background: #6868d6;
}

footer h5, footer p {
    color: #ffc900;
    font-family: rhombica-dialogue;
}
footer a img {
    width: 2rem;
}
.game-title img {
    width: 30rem;
}
.article {
    justify-content: center;
    display: flex;
    align-items: center;
    margin: 20px 0;
}
.article p {
    width: inherit;
    font-size: larger;
}
.article img {
    width: auto;
    height: 40%;
    max-height: 400px;
    object-fit: cover;
}
.article .text {
    width: 55%;
    padding: 20px;
}
.article:nth-child(odd) {
    flex-direction: row;
    text-align: right;
}
.article:nth-child(even) {
    flex-direction: row-reverse;
    text-align: left;
}
.download-button-container {
    justify-content: center;
    margin-top: 100px;
    display: flex;
    gap: 50px;
}

.download-button-container img {
    max-width: 70%;
}

.download-button-container a {
    display: flex; 
    justify-content: center;
}

.download-button {
    outline: #000000 solid 10px;
    padding: 10px;
    background: white;
}

.dropdown-menu {
    font-family: rhombica-dialogue;
    border-radius: 0;
    border: 0;
    outline:0;
}

#contact {
    font-family: bahnschrift;
}

.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100;
}

canvas {
    display: block;
}
