: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 */
}

@font-face {
    font-family: rhombica-dialogue;
    src: url(../fonts/rhombica-dialogue.ttf);
}

.header {
    background: #6868d6;
    position: relative;
    min-height: 50vh;
    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 {
    padding-top: 100px;
    padding-bottom: 100px;
    background: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: bahnschrift;
}

.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;
}

.backButton {
    position: absolute;
    left: 5%;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    display: flex;
    vertical-align: middle;
    flex-direction: column;
    padding: 1rem;
    background-color: white;
    color: black;
    width: 1rem;
    height: 1rem;
}

.backButton:hover {
    background-color: #6868d6;
    color: #ffc900;
    top: -1;
    box-shadow: 0px 2px 2px black;
    border: none;
}

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 {
    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;
}

/* Kontaktformular Stile */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact-form-container label {
    font-weight: bold;
    color: #6868d6;
}

.contact-form-container .btn-primary {
    background-color: #6868d6;
    border-color: #6868d6;
}

.contact-form-container .btn-primary:hover {
    background-color: #5a5ac2;
    border-color: #5a5ac2;
}

.contact-form-container .form-control:focus {
    border-color: #6868d6;
    box-shadow: 0 0 0 0.25rem rgba(104, 104, 214, 0.25);
}

.invalid-feedback {
    color: #dc3545;
}

.toast {
    background-color: #6868d6;
    color: white;
    font-family: bahnschrift;
}

.toast-header {
    background-color: #5a5ac2;
    color: #ffc900;
}