body, html {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: black;
    height: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    background-color: lightgray;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* Buttons */
button:not(:active) {
    border-top: 2px solid white;
    border-left: 2px solid white;
    border-bottom: 2px solid darkgray;
    border-right: 2px solid darkgray;
}

button:active {
    border-top: 2px solid darkgray;
    border-left: 2px solid darkgray;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
}

button {
    border-width: 1px;
    height: 1.6em;
}

button:focus {
    outline: 1px solid dimgrey;
}

.splash-screen-buttons button {
    width: 10em;
}

.char-creation-buttons button {
    width: 10em;
}
.game {
    max-width: 768px;
    margin: 0 auto;
    background-color: snow;
    height: 100%;
}

.expand-to-fill {
    height: 100%;
    width: 100%;
}

/********* game huds *********/

.window__title {
    background-color: darkblue;
    text-align: center;
    color: white;
    font-weight: bold;
    padding: 2px 0;
}

/*game file menu*/
.file-menu {
    background-color: white;
    border: 1px solid black;
    display: flex;
}

.file-menu__item {
    flex-grow: 1;
    text-align: center;
    padding: 3px 0;
    cursor: pointer;
}

.file-menu__item:hover {
    background-color: lightgray;
}

/*game top hud*/
.game-top-hud__quick-menu {
    padding: 2px 15px;
    border: 1px solid black;
    border-top: 0;
    background-color: lightgray;
    display: flex;
    width: 100%;    
}

.game-top-hud__quick-menu button {
    height: 25px;
}

.quick-menu__quick-buttons {
    display: flex; 
    flex-basis: 50%;
    justify-content: center;
}

.quick-menu__quick-buttons button {
    padding: 2px 10px;
}

.quick-menu__quick-spells {
    display: flex; 
    flex-basis: 50%;
    justify-content: center;
}

.quick-menu__quick-spells button {
    width: 25px;
}


/* tooltips */

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 240px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 50%;
    margin-left: -120px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 1s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #555 transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

