/* DESKTOP PAY TABLE */
@media (min-width: 1000px) and (min-height: 600px) {
    #game-rules ::-webkit-scrollbar {
        display: block !important;
    }

    #game-rules {
        width: 70% !important;
        height: 80% !important;
        max-width: 800px;
        border-radius: 16px 16px 16px 16px;
        margin-top: 0;
        /* border-color: var(--ui-accent);
        border-width: 5px;
        border-style: solid; */
    }

    .header h3 {
        margin-top: 10px !important;
        font-size: 13px;
    }

    #game-rules-content,
    #game-rules-additional {
        padding: 20px;
    }
}

#game-rules ::-webkit-scrollbar {
    width: 4px;
    display: none;
}

#game-rules ::-webkit-scrollbar-track {
    background: none;
}

#game-rules ::-webkit-scrollbar-thumb {
    background-color: white;
    border-radius: 10px;
    border: none;
}

#game-rules p {
    text-align: left;
}

#game-rules ul {
    text-align: left;
}

#game-rules.hidden {
    visibility: hidden;
}

#game-rules h1,
#game-rules h2,
#game-rules h3,
#game-rules h4 {
    margin-top: 15px;
    text-align: left;
}

.header h3 {
    padding: 0px;
    margin: 0px;
    text-align: center !important;
    font-size: 17px;
}

#game-rules-content,
#game-rules-additional,
#game-rules-how-to-play {
    padding: 20px;
}

#game-rules {
    font-size: 13px;
    padding: 13px;
    width: 100%;
    height: 100%;
    background: var(--ui-background);
    color: white;
    position: fixed;
    transform-origin: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 110;
    overflow-y: auto;
    overflow-x: hidden;
    background-image: linear-gradient(rgb(0 0 0 / 55%) 0 0, rgb(0 0 0 / 15%));
    margin-top: 53px;
    padding-bottom: 34px;
}
