html {
  box-sizing: border-box;
  font-size: 16px;
  font-family: "Eagle Lake", "Gill Sans", "Gill Sans MT", Calibri,
    "Trebuchet MS", sans-serif;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}
/* CSS RESET ABOVE */
header {
  color: white;
  text-align: center;
  font-size: 90%;
  background-image: url("./images/woodenPlanks.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 100vw;
  height: 3rem;
  position: sticky;
  top: 0%;
  z-index: 2;
}

#header-text{
  margin-top: 0.5rem;
}

body {
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
background-image:url("./images/castleWall.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
}

main {
  margin: 0 1em 0 1em;
  padding: 1em;
  text-align: left;
  max-width: 100vw;
  max-height: 100vh;
}
.hidden {
  display: none;
}

#game-text-info, #game-text{
  padding: 0.75em;
  background-color:rgb(211, 206, 206);
  border: solid black 0.25em;
  border-radius: 2.5%;
  margin: 1em 0  1em 0;
}


.player-vals-container,
.player-equipVals-container {
  display: inline-flex;
}

.player-equipVals-container{
  margin-bottom: 1em;
}

#gold-text,
#health-text,
#armour-class-text,
#damage-modifier {
  margin-right: 2em;
}

#equipped-text{
  margin-bottom: 1.5em;
}

.image-container {
  max-height: 25rem;
  max-width: 30rem;
  margin: auto;
  position: relative;
}

#frame-image{
  max-height: 100%;
  max-width: 100%;
}

#game-img {  
  max-height: 90%;
  max-width: 90%;
  padding-top: 1em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  text-align: center;
  margin: auto;
}

.main-image {
height: 90%;
width: 97.5%;
  border-radius: 2%;
}

#game-text{
  margin-top: 2em;
}

button {
  font-size: 0.85em;
  font-weight: bold;
  height: 3rem;
  width: 6rem;
  font-size: 100%;
  margin: 0 0.2em 0.5em 0;
  font-family: "Eagle Lake", serif, sans-serif;
}

.choice-buttons-container {
  display: flex;
  align-items: center;
  margin-top: 0.5em;
}

#sell-tray,
#buy-tray {
  display: flex;
  align-items: center;
  overflow: none;
  max-width: 90%;
}

#sword-dropdown,
#potion-dropdown,
#armour-dropdown,
.fight-container {
  display: flex;
  align-items: center;
}

#fight-ogre-button {
  color: blue;
}

#name-submit {
  font-size: 0.8em;
  height: 5em;
  width: 6em;
  font-size: 100%;
  font-weight: bold;
  font-family: "Eagle Lake", serif, sans-serif;
}

#name-input {
  font-size: 0.75em;
  height: 5em;
  width: 18em;
  font-size: 100%;
  font-weight: bold;
  font-family: "Eagle Lake", serif, sans-serif;
}

@media(max-width: 260px){
   #game-img {  
  max-height: 92.5%;
  padding-top: 0.5em;}
  
}

@media(min-width: 850px){
   #game-img {  
  max-height: 92.5%;
  padding-top: 2.5em;}
  .image-container {
  max-height: 35rem;
  max-width: 40rem;
}
}

@media(min-width: 1450px){
  #game-img {  
  max-height: 92.5%;
  padding-top: 2em;}
  .image-container {
  max-height: 40rem;
  max-width: 45rem;
}
}

@media(min-width: 2000px){
  .image-container {
  max-height: 45rem;
  max-width: 50rem;
}
}
