/* 
    Menu Background Styles 
*/

p.help{
    font-family: 'Bitter';
    font-weight: 300;
    font-size: 13px;
    color: black;
    letter-spacing: 2px;
    margin: auto;
    margin-top: 5px;
}

/* CLASS */

/* meant for any sub-menu button in menu for selection */
.select{
    width: 100%;
    height: var(--large);
}

.select.disabled {
    /* color: var(--silver-grey); */
    background-color: grey;
    /* pointer-events: none; */
}

.line{
    width: 33vw;
    height: 1px;
    background-color: cyan;
    margin: 0;
}

.menu-bkg{
    border-radius: 12px;
    background-color: rgb(57 57 57 / 61%);
    padding: 34px;
    overflow: hidden;
    position: absolute;
    width: 100%;
    max-width: 768px;
    z-index: 1;
}

.menu-bkg.center{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.menu-bkg.bottom{
    bottom: 0;
    left: 0;
    margin-bottom: 16px;
    width: auto;
}

.menu-bkg img.bkg{
    box-sizing: border-box;
    position: absolute;
    z-index: -1;
}

.menu-bkg p{
    color: white;
    font-weight: bold;
}

.menu-bkg section{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.menu-bkg h1{
    margin:2rem;
}

.menu-bkg.hidden{
    display: none;
}


.game-menu{
    position: absolute;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0px 43px;
    gap: 10px;
    height: 45px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.game-menu a {
    color: black;
    text-decoration: none;
}

.game-menu.ui-island button{
    background-color: grey;
}


/* modal menu override */
.game-menu.ui-island .modal-content button{
    background-color: white;
}

.player-hub-menu .bottom-actions{
    display: flex;
    width: 100%;
}

.player-hub-menu .bottom-actions button{
    margin: auto;
    min-width: 33%;
    min-height: var(--large);
    color: white;
    background-color: black;
}

.rmb-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px;
    font-size: 14px;
}

.rmb-menu.hidden {
    display: none;
}


.rmb-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rmb-menu ul li {
    margin:0;
}

.rmb-menu ul li p{
    color: grey;
    padding: 5px 10px;
    margin:auto;
    cursor: default;
}

.menu-options {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-options.hidden {
    display: none;
}

.menu-options button{
    cursor: pointer;
    border: 1px solid gold;
    border-radius: 16px;
    padding: 8px;
}

.rmb-menu .menu-options button {
    font-family: 'Bitter', serif;
    font-size: 1rem;
    background-color: initial;
    border: initial;
    border-radius: initial;
    min-width: 6rem;
    min-height: 2rem;
}

.rmb-menu .menu-options button:hover {
    background: initial;
    background-color: #f0f0f0; 
}

.rmb-menu .menu-options button.treasure-action{
    color: green;
}

.rmb-menu .menu-options button:disabled.treasure-action{
    background-color: transparent;
    color: #ccc;
    cursor: not-allowed;
}

/* General hover styles for buttons inside #menu-options */
.menu-options button:hover {
    background-color: gold;
    color: black;
}

/* Disabled button styles */
.menu-options button:disabled {
    border: none;
    cursor: not-allowed;    
    pointer-events: none; 
}

.rmb-menu .menu-options{
    flex-direction: column;
}

.player-dig-result-menu,
.player-hub-menu{
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 10px;
    align-items: center;
}

.player-dig-result-menu.hidden,
.player-hub-menu.hidden{
    display: none;
    z-index: -1;
}

.player-hub-menu{
    width: 1024px;
    min-height: 61vh;
    padding: 43px;
    z-index: 2;
    /* max-height: 70vh; */

    /* dropshadow */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.38);
}

.player-hub-menu .tabs{
    z-index: 0;
}

.instructions{
    min-height: initial;
    padding: 0;
}

.instructions p{
    font-family: 'Bitter', serif;
    color: var(--golden-orange);
    font-size: var(--medium);
    font-weight: bold;
}

/* ID */

#start-menu-bkg {
    width: 33%;
}

#options-menu{
    max-width: initial;
}

#game-menu-toggle {
    color:gold;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}
