@font-face {
    font-family: 'Baloo 2';
    src: url('../font/Baloo2-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baloo 2';
    src: url('../font/Baloo2-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baloo 2';
    src: url('../font/Baloo2-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baloo 2';
    src: url('../font/Baloo2-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baloo 2';
    src: url('../font/Baloo2-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}


footer {
    background-color: #002F6D;
    color: white;
}

.footer-img {
    margin-bottom: 0px;
    margin-top: -25px;
}

.section-header .container {
    max-width: 400px !important;
}

.container {
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

footer a {
    font-family: "Baloo 2";
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0px;
    text-align: center;
    color: white;
    text-decoration: none;

}

.leaf-decor {
    background-image: url('../img/decor1.png');
    background-position: 108% 70%;
    background-size: 100px 190px;
    background-repeat: no-repeat;
}

.leaf-decor4 {
    background-image: url('../img/decor1.png'), url('../img/decor2.png');
    background-position: 10% 21%, 95% 65%;
    background-repeat: no-repeat, no-repeat;
    background-size: 80px 170px, 110px 175px;
}

.navbar {
    background-color: #ffffff;
    height: 80px;
    width: 100%;
    position: fixed;
    z-index: 100;
    margin-top: -80px;
}

.header-section {
    min-height: calc(100vh - 80px);
}

main {
    padding-top: 80px !important;
    background-image: url(../img/fruchtteppich.jpg);
    background-size: auto;
    background-repeat: revert-layer;
}

.section-header {
    min-height: calc(100vh - 80px);
    overflow: hidden;
    position: relative;
    margin-top: 80px !important;
}

.becher-img {
    display: none;
}

.header-background {
    min-height: 900px;
    background-image: url('../img/Headline.png'), url('../img/kleiner_stoerer.png'), url('../img/subline_gewinnspiel.png'), url('../img/großer_stoerer.png'), url('../img/schnipsel.png');
    background-position: 50% 5%, 13% 42%, 0% 35%, 93% 47%, 10% 101%;
    background-size: 325px 220px, 170px 95px, 395px 78px, 230px 140px, 386px 61px;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
}

.small-text b {
    font-family: Baloo 2;
    font-weight: 700;
    font-style: Bold;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 12px;
    letter-spacing: 0px;
    text-align: center;

}

.small-text {
    font-family: Baloo 2;
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 12px;
    letter-spacing: 0px;
    text-align: center;

}

.half {
    position: absolute;
    top: 63%;
    left: 17%;
}

.halbkreis {
    width: 200px;
    height: 100px; /* halbe Höhe */
    background: #002F6D;
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    margin-bottom: -1rem;
}


.halbkreis span {
    font-family: Baloo 2;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 16px;
    letter-spacing: 0px;
    text-align: center;
    color: #FFFFFF;
}

h1 {
    font-family: Baloo 2;
    font-weight: bolder;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: center;
    color: #002F6D;

}

h2 {
    font-family: "Baloo 2";
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0px;
    text-align: center;
    color: #FFFFFF;
}

h3 {
    font-family: "Baloo 2";
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 0px;
    text-align: center;

    color: #002F6D;

}

h4 {
    font-family: "Baloo 2";
    font-weight: 500;
    font-size: 32px;
    line-height: 33px;
    letter-spacing: 0px;
    text-align: center;

    color: #002F6D;

}

h5 {
    font-family: "Baloo 2";
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0px;
    text-align: center;

    color: #002F6D;

}

h5 span {
    font-family: "Baloo 2";
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0px;
    text-align: center;

    color: #002F6D;

}

p {
    font-family: "Baloo 2";
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 26px;
    letter-spacing: 0px;
    text-align: center;

    color: #002F6D;
}

figcaption {
    font-family: "Baloo 2";
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;

    color: #002F6D !important;

}

.navbar img {
    max-height: 50px;
}

.header-troublemaker {
    bottom: 75px;
    width: 100%;
    background-color: #002F6D;
}

.transparent-background {
    background-color: rgba(255, 255, 255, 0.9);
    width: calc(100% - 2rem);
    margin-left: 1rem;
    margin-right: 1rem;
}

.section-products {
    min-height: 100vh;
}

.section-wins {
    min-height: 100vh;
}

.mt-6 {
    margin-top: 6rem !important;
}

.bauer-b {
    background-image: url('../img/bauer_b.png');
    background-position: 50% 63%;
    background-size: 230px 230px;
    background-repeat: no-repeat;
}

.bauer-b-product {
    padding-top: 7rem;
    background-image: url('../img/bauer_b.png');
    background-position: 50% 0%;
    background-size: 230px 230px;
    background-repeat: no-repeat;
}

.button-overlap {
    position: absolute;
    left: 18%;
    bottom: -35px;
}

.section-feature {
    min-height: 100vh;
}


.form-section {
    min-height: 100vh;
    color: #002F6D;
    font-family: "Baloo 2";
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0px;

}

.form-label {
    font-family: "Baloo 2";
    font-weight: bold;
}


.form-check-label {
    font-family: "Baloo 2";
    font-weight: bold;
}

.button {
    font-family: "Baloo 2";
    font-weight: 500;
    font-size: 16px;
    line-height: 20.51px;
    letter-spacing: 0px;
    text-align: center;
    color: #FFFFFF;
    border-color: #002F6D !important;
    background-color: #002F6D !important;
    border-radius: 50px;
    padding: 1rem;
    z-index: 55;
}


.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.step div {
    background-color: #002F6D;
    border-radius: 50%;
    padding: 20px;
}

.step img {
    width: 80px;
    height: 80px;
}

.step p {
    margin-top: 1rem;
    text-align: center;
    font-family: "Baloo 2";
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0px;
}

.form-section button {
    background-color: #002F6D !important;
    border-color: #002F6D !important;
    border-radius: 50px;
    font-family: "Baloo 2";
    font-weight: 500;
    font-size: 16px;
    line-height: 20.51px;
    letter-spacing: 0px;
    text-align: center;
    color: #FFFFFF;
    padding: 1rem;
}

.form-section .text-muted {
    color: #002F6D !important;
    font-family: "Baloo 2";
    font-weight: bold;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0px;
    text-align: center;

}

.form-section .form-text {
    color: #002F6D !important;
    font-family: "Baloo 2";
    font-weight: bold;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0px;
    text-align: center;

}

.form-section input {
    background-color: transparent;
    border-color: #002F6D !important;
    color: #002F6D !important;
}

.form-section input::file-selector-button {
    background-color: transparent;
    border-color: #002F6D !important;
    color: #002F6D !important;
}

.form-section input:focus {
    background-color: transparent;
    border: 2px solid #002F6D !important;
}

.form-section input::placeholder {
    color: #002F6D !important;
}

.checkbox-xl .form-check-input {
    top: 1.2rem;
    scale: 1.7;
    margin-right: 0.8rem;
}

.checkbox-xl .form-check-label {
    padding-top: 4px;
    line-height: 20px;
    display: flow-root;
}

.checkbox-xl .form-check-input:checked {
    background-color: #002F6D;
    border-color: #002F6D;
}

.form-section .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23002F6D' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");

    background-color: transparent;
    border-color: #002F6D !important;
    color: #002F6D !important;
}


/* Responsive Anpassung für größere Bildschirme */
@media (min-width: 768px) {
    .steps {
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;
    }

    .step {
        flex: 1;
        max-width: 350px;
    }
}

/* Für sehr große Bildschirme */
@media (min-width: 1200px) {
    .steps {
        gap: 60px;
    }

    .step {
        max-width: 350px;
    }

    .mt-6 {
        margin-top: 4rem;
    }

    .step img {
        width: 80px;
        height: 80px;
        background-color: #002F6D;
        border-radius: 50%;
    }

    section {
        min-height: auto !important;
    }

    .becher-img {
        position: absolute;
        left: calc(50% + 160px);
        top: 23%;
        width: 250px;
        height: auto;
        display: block;
        z-index: 9;
    }

    main{
        background-size: contain;
    }
}

.alert-info p {
    color: #000000 !important;
}

.section-static {
    background-color: #FFFFFF;
}

.section-static h1 {
    color: #002F6D !important;
    font-family: "Baloo 2";
    font-weight: 700;
    font-size: 20px;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: center;

}

.section-static h2 {
    color: #002F6D !important;
    font-family: "Baloo 2";
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: left;
}

.section-static span {
    color: #002F6D !important;
    font-family: "Baloo 2";
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: center;

}

.section-static p {
    font-family: "Baloo 2";
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: left;

}

.section-static li {
    font-family: "Baloo 2";
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
    color: #002F6D !important;
}

.section-static th {
    color: #002F6D !important;
    background-color: transparent !important;

}

.section-static td {
    color: #002F6D !important;
    background-color: transparent !important;
}

.section-static ol {
    margin-left: -1rem;
}


.link {
    color: #002F6D !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
}

.accordion-button {
    background-color: #FFFFFF !important;
    color: #002F6D !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-body {
    background-color: #FFFFFF !important;
    color: #002F6D !important;
}

.accordion-button::after {
    filter: invert(50%);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(50%);
}

.section-slot {
    max-height: 400px;
    min-height: 300px;

}

.section-loading {
    max-height: 400px;
    min-height: 200px;
}

.section-loading-text {
    background-color: #FFFFFF;
}

.section-loading-text-decor {
    background-image: url('../img/bauer_b.png'), url('../img/decor1.png');
    background-position: 50% 60%, 105% 105%;
    background-size: 230px 230px, 80px 170px;
    background-repeat: no-repeat, no-repeat;

}

.section-slot-text {

    background-color: #FFFFFF;
}

.section-slot-text-decor {
    background-image: url('../img/decor2.png');
    background-position: 105% 100%;
    background-size: 80px 170px;
    background-repeat: no-repeat;
}

.img-arrow {
    width: 68px;
}

.loading-bauer {
    max-height: 60px;
}

.loading-bar {
    max-height: 200px;
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


.slot-machine-container {
    position: relative;
    width: 280px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.3));
}


.reel-container {
    position: absolute;
    width: 70px;
    height: 150px;
    overflow: hidden;
    border-radius: 15px;
}

#reel-container-1 {
    left: 25px;
    top: 5px;
}

#reel-container-2 {
    left: 105px;
    top: 5px;
}

#reel-container-3 {
    left: 185px;
    top: 5px;
}

.reel {
    position: absolute;
    width: 100%;
    transition: transform 0.1s ease-out;
}

.symbol {
    width: 100%;
    height: 70px; /* 380px / 3 = 126.67px for 3 visible symbols */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    background: rgba(255, 255, 255, 0);
    box-sizing: border-box;
}

.symbol:last-child {
    border-bottom: none;
}

.lever {
    position: absolute;
    left: 700px;
    top: 200px;
    width: 40px;
    height: 180px;
    background: #ff4444;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    transform-origin: center bottom;
}

.lever:hover {
    transform: rotate(-10deg);
}

.lever:active {
    transform: rotate(-20deg);
}

.lever::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #ff6666;
    border-radius: 50%;
}

.controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    align-items: center;
}

.spin-button {
    padding: 12px 24px;
    font-size: 1.1em;
    font-weight: bold;
    background: linear-gradient(145deg, #4caf50, #45a049);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3),
    inset 2px 2px 5px rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.spin-button:hover {
    transform: translateY(-1px);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.4),
    inset 2px 2px 5px rgba(255, 255, 255, 0.3);
}

.spin-button:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

@keyframes jackpot-glow {
    from {
        text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8),
        0 0 10px #ff6600;
    }
    to {
        text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8),
        0 0 20px #ff6600,
        0 0 30px #ff6600;
    }
}

@keyframes win-pulse {
    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.1);
    }
}

.spinning {
    animation: spin-blur 0.1s linear infinite;
}

@keyframes spin-blur {
    0% {
        filter: blur(0px);
    }
    50% {
        filter: blur(2px);
    }
    100% {
        filter: blur(0px);
    }
}

/* Winning line indicator */
.win-line {
    position: absolute;
    left: 120px;
    top: 238px; /* Middle of the reels */
    width: 520px;
    height: 4px;
    background: linear-gradient(
            90deg,
            transparent,
            #ffff00,
            #ffff00,
            #ffff00,
            transparent
    );
    border-radius: 2px;
    opacity: 0;
    animation: win-line-flash 2s ease-in-out;
}

@keyframes win-line-flash {
    0%,
    100% {
        opacity: 0;
    }
    20%,
    80% {
        opacity: 1;
    }
}

.slot-background {
    width: 100%;
    height: auto;
}

.slot-image {
    height: 70px;
    opacity: 0.9;
}