body {
    font-family: "Raleway", sans-serif ;
    color: whitesmoke;
    padding: 0px;
    margin: 0px;
    background-image: url(image/roulette_schräg_blur.jpg);
    background-attachment: fixed;
    background-size: cover;
}

header{
    background-color: #13462c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
}

footer{
    background-color: #4b4848;
}

#ueberschrift{
    flex: 1;
    text-align: left;
}

#ueberschrift h1{
    font-size: 40pt;
    color: whitesmoke;
    margin: 0;
    font-weight: bold;
    font-family: "Donegal One", sans-serif;
}

#logo img{
    max-width: 150px;
    height: auto;
    margin: 0px;
    flex: 0;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(image/roulette_schräg_blur.jpg);
    background-size: cover;
    z-index: -1; /* Stellen Sie sicher, dass das Hintergrundbild hinter allen anderen Elementen liegt */
}

#home_links {
    position: absolute;
    right: 32px;
    font-size: 20pt;
    gap: 20px;
    margin: 0px;
    flex: 4;
}

.home_link {
    font-weight: bold;
    color: whitesmoke;
    text-decoration: none;
    margin-right: 15px;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 10px;
}

.home_link:hover {
    font-weight: bolder;
    color: black;
    font-weight: bold;
    background-color: gold;
}

.bt_roulette, .bt_weel{
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.bt_weel button, .bt_roulette button {
    margin-top: 150px ;
    padding: 20px 40px;
    font-size: 30px;
    border: none;
    background-color: gold;
    color: #000000;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bolder;
}


.bt_roulette button:hover, .bt_weel button:hover {
    background-color: goldenrod;
    transform: scale(1.03);
}

#credit{
    margin: 0px;
    display: felx;
    flex: 3;
    font-size: 20pt;
    text-align: center;
    font-weight: 600;
}

.div_creditBT{
    display: flex;
    margin-top: 30vh;
    margin-right: 20vh;
    justify-content: center;
    
}

#bt_credit {
    margin-left: 200px;
    font-size: 60px;
    border: none;
    background-color: gold;
    color: #000000;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bolder;
    padding: 30px;
    padding-left: 40px;
    padding-right: 40;
}

#bt_spin {
    margin-left: 100px;
    font-size: 30px;
    border: none;
    background-color: gold;
    color: #000000;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bolder;
    padding: 15px;
    padding-left: 20px;
    padding-right: 20;
}

.div_spin{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5vh;
    overflow: hidden;
}

#pointerspin {
    position: relative;
    top: -286px;
    left: 320px;
    z-index: 1;
}

#logospin {
    position: relative;
    z-index: 0;
    width: 600px;
    height: auto;
    padding-bottom: 7px;
}

.container {
    position: relative;
    display: grid;
    grid-template-rows: auto auto auto auto;
    grid-template-columns: repeat(12, 0.5fr);

    color: white;
    font-size: 40pt;
    font-weight: bolder;
    background-color: #00c05d;
    border: 20px #3f1400 solid;
    border-radius: 4px;
    margin: 5vh;
    margin-top: 2vh;
    margin-bottom: 1vh;
}

.red, .black{
    display: flex;
    text-align: center;
    justify-content: center;
    border: white 4px solid;
}

.container p {
    user-select: none;
    position: relative;
    padding: 0;
    margin: 0;
    z-index: 1;
    padding-top: 4vh;
    padding-bottom: 4vh;
    text-shadow: 3px 3px 0px black;
}

.container p .r4 {
    display: flex;
    text-align: center;
    justify-content: center;
    padding-top: 1vh;
    padding-bottom: 1vh;
}

.container img {
    position: absolute;
    opacity: 0;   /*Deckkraft zwischen 0-1*/
    padding: 0;
    margin: 0;
    margin-top: 0.8vh;
    height: auto;
    width: 13vh;
    z-index: 2;
}

.r4_img{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
} 

.hidden {
    opacity: 0;
}
.visible {
    opacity: 1;
}

.all_red, .all_black, .to18, .even, .odd, .to36, .zero{
    position: relative;
    border: white 4px solid;
    text-align: center;
}

.to18, .even, .odd, .to36, .zero{
    grid-column: span 2;
}

.zero{
    font-size: 52pt;
}

.all_black{
    font-size: 32pt;
}

.red, .all_red{
    background-color: red;
}

.black, .all_black{
    background-color: black;
}


#einsatz {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.7vh;
    border: 0.5vh solid #494949;
    border-radius: 1vh;
    background-color: #13462c;
}

#einsatz .pm {
    background-color: gold;
    color: black;
    border: none;
    padding: 1vh 1.5vh;
    margin: 0 1vh;
    border-radius: 0.5vh;
    cursor: pointer;
    font-size: 2vh;
    font-weight: bolder;
}

#einsatz .pm:hover {
    background-color: goldenrod;
}

#setzen:hover {
    background-color: goldenrod;
}

#einsatz p {
    margin: 0 2vh;
    font-size: 2.5vh;
    font-weight: bold;
    color: whitesmoke;
}

#ein {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-left: 20vh;
}

#p_ein {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bolder;
    font-size: 18pt;
    padding: 0;
    margin: 0;
}

#setzen {
    background-color: gold;
    color: black;
    border: none;
    padding: 0vh 1.8vh;
    margin: 0;
    margin-left: 4vh;
    margin-bottom: 0.3vh;
    border-radius: 0.5vh;
    cursor: pointer;
    font-size: 3vh;
    font-weight: bolder;
}

#rouletteA {
    overflow: hidden;
    opacity: 0;
    z-index: -1; 
    position: absolute; 
    top: 50%; /* Zentriert die obere Kante des Roulette-Containers */
    left: 50%; /* Zentriert die linke Kante des Roulette-Containers */
    transform: translate(-50%, -50%); /* Zentriert das Element genau in der Mitte des Viewports */
    width: 720px; 
    height: 720px; 
    background-color: #3f1400;
    border: 2vh solid #000000;
    border-radius: 5vh;

}

.roulette_img {
    position: absolute; 
    top: 50%; /* Zentriert die obere Kante des Bildes */
    left: 50%; /* Zentriert die linke Kante des Bildes */
    transform: translate(-50%, -50%); /* Zentriert das Bild genau in der Mitte des Containers */
}

#roulette_outer {
    width: 100%; /* Füllt die gesamte Breite des Containers aus */
    height: 100%; /* Füllt die gesamte Höhe des Containers aus */
}

#roulette_inner {
    width: 70%; /* Verkleinert das innere Bild relativ zum äußeren Bild */
    height: 70%; /* Verkleinert das innere Bild relativ zum äußeren Bild */
}

#roulette_kugel {
    position: absolute; /* Positionierung relativ zu .rouletteA */
    top: 7%; /* Zentriert die obere Kante des Elements relativ zu .rouletteA */
    left: 48%; /* Zentriert die linke Kante des Elements relativ zu .rouletteA */
    transform: translate(-50%, -50%); /* Zentriert die Kugel innerhalb von .rouletteA */
    max-width: 20px; /* Maximal 50% der Breite von .rouletteA */
    max-height: 20px; /* Maximal 50% der Höhe von .rouletteA */
    z-index: 3; /* Soll über allen anderen Bildern liegen */
}



.content {
    color: #333;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.content h1, h2 {
    color: #333;
    margin-bottom: 10px;
}

.content p, ul {
    margin-bottom: 20px;
}

.intro {
    font-size: 1.2em;
    font-weight: bold;
}

.body-text {
    line-height: 1.6;
}

ul.body-text {
    padding-left: 20px;
}

ul.body-text li {
    margin-bottom: 10px;
}