html, body {
  height:100%;
  width:100%;
  background-image: url("https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/d831cc5d-e13f-483d-8308-82904676a890/d936os2-3c17d306-b216-48d8-8a8e-36d28fe0189b.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOiIsImlzcyI6InVybjphcHA6Iiwib2JqIjpbW3sicGF0aCI6IlwvZlwvZDgzMWNjNWQtZTEzZi00ODNkLTgzMDgtODI5MDQ2NzZhODkwXC9kOTM2b3MyLTNjMTdkMzA2LWIyMTYtNDhkOC04YThlLTM2ZDI4ZmUwMTg5Yi5wbmcifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6ZmlsZS5kb3dubG9hZCJdfQ.r4KIQ24rys6h1EeZvo2SmqHQB2tKWokiNCOIuySs3Zk");
}

/* Sections of Layout
-------------------------------------- */
/* Generic styles for demo purposes
-------------------------------------- */
.container {
  font-family: Helvetica, Arial, sans-serif;
  height:98%;
  width:98%;
}

.container > * {
  background-color: #ccc;
  padding: 1em;
}

/* Typically, you wouldn't specify a height or min-height on this, instead allowing your actual content (i.e., text, images, etc.) to dictate the height of your content area. But since this example has very minimal content, I've set a min-height to mimic a taller content area. */
.content {
  min-height: 40%;
  overflow-y: scroll;
}

/* Layout is stacked vertically by default (for narrower viewports), so give some breathing room between the sections. */
/* Select all elements where parent is a container */
.container > * {
  margin-bottom: 2%;
}

/* Now let's apply grid for wider viewports. */
@media screen and (min-width: 40em) {
  .container > * {
    margin-bottom: 0;
  }
  /* Define the grid */
  .container {
    display: grid;
    grid-template-columns: 18% 60% 18%;
    grid-gap: 2% 2%;
    grid-template-rows: 10% auto 15%;
  }
  /* Place items on the grid */
  .header {
    grid-column: 1 / span 3;
    background-color: #aaa;

  }
  .sidebar {
    grid-row-end: span 2;
    background-color: #442244;
    color: white;
  }
  .content {
    grid-column: 2;
    background-color: black;
    color: red;
    text-align: center;
  }
  .story {
    position: relative;
    top: -350px;
    }
  .bigname{
    text-align: center;
    font-family: Garamond, serif;
    font-size: 30px;
    position: relative;
    top: -25px;
  }
  #myBtn{
    position: relative;
    top: -350px;
  }
  #restartBtn{
    position: relative;
    top: -350px;
  }
  .advance{
    padding: 10px;
    font-size: 15px;
    background-color: #a24;
    color: #fff;  
  }
  .masterText{
    border-style: dotted;
    background-color: hsl(0, 100%, 37%);
    color:white;
    padding:5px;
  }
  .imperialText{
    border-style: dotted;
    background-color: yellow;
    color:black;
    padding:5px;
  }
}

.foes{
  background-color: black;
  color: #ddd;
  border: dashed;
}

#player{
  width:200px;
}

 button.combatOptions {
    background-color: #aaa;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    border-bottom: 2px solid #fff;
    text-align: center;
    outline: none;
    font-size: 15px;
    transition: 0.5s;
}

button.attackOptions {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    border-bottom: 2px solid #fff;
    text-align: center;
    outline: none;
    font-size: 15px;
    transition: 0.5s;
}

button.itemOptions {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    border-bottom: 2px solid #fff;
    text-align: center;
    outline: none;
    font-size: 15px;
    transition: 0.5s;
}

button.tauntOptions {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    border-bottom: 2px solid #fff;
    text-align: center;
    outline: none;
    font-size: 15px;
    transition: 0.5s;
}

button.combatOptions.active, button.combatOptions:hover {
    background-color: #a24;
    color: #fff;
}

div.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
}

/* Tooltip text */

.tooltiptext {
  visibility: hidden;
  white-space: nowrap;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.attackOptions:hover .tooltiptext {
  visibility: visible;
}

#defendbutton:hover .tooltiptext {
  visibility: visible;
}

.itemOptions:hover .tooltiptext {
  visibility: visible;
}

.tauntOptions:hover .tooltiptext {
  visibility: visible;
}