/* ELEMENT SELECTORS */
body {
    background-color: tan;
    text-align: center;
}
ul {  
  list-style: none;
  padding-left: 0;
  font-family: "Caudex", serif;
  font-weight: 400;
  font-style: italic;
  margin: 0 auto;
}
button {
  display:flex;
  flex-direction: row;
  padding: 5px 50px; /* corrected units */
  margin: 10px;
  gap: 5px;

  font-family: "Caudex", serif;
  font-weight: 1000;
  font-style: italic;
  font-size: 16px;
  color: darkslateblue;
}

/* ID SELECTORS */
#title{
  border-radius: 15px;
  outline-style: solid;
  outline-color: saddlebrown;
  outline-width: 8px;

  background-image: url('../assets/paper-texture.jpg');
  background-size: cover;
  padding: 1px;

  font-family: "Uncial Antiqua", system-ui;
  font-weight: 400;
  font-style: normal;
  color: darkslateblue;
}


/* CLASS SELECTORS */
.caption{
  background-color: antiquewhite;
  border-radius: 10px;
  width: 95%;
  margin: 20px auto 0 auto;
  text-align: center;

  height: 50px; 
  display: flex;
  justify-content: center;
  align-items: center;
  
  font-family: "Caudex", serif;
  font-weight: 1000;
  font-style: italic;
  font-size: 16px;
}

/* game graphics */
.window{
  background-image: url('../assets/background.jpg');
  border-radius: 15px;
  padding: 10px;
  height: 50vh;
  width: 90%;
  margin: 10px auto;
  
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center; /* vertical */
}
.window img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* bottom pane */
.bottom-window{
  display: flex;  
  max-width: 100%;
  max-height: 100%;

  height: 20vh;
  width: 95%;
  min-height: 200px;
  gap: 20px;
  margin: 0 auto;
}

/* bottom-left pane */
.bottom-window .inventory{
  background-color: antiquewhite;
  border-radius: 15px;

  width: 200px;
  aspect-ratio: 1/1;
  padding: 10px;
}
.bottom-window .inventory img{
  max-width: 100%;
  max-height: 100%;
}

/* bottom-right pane */
.bottom-window .game{
  background-color: antiquewhite;
  border-radius: 15px;
  
  display: flex;
  flex: 1; /* horizontal growth */
  flex-direction: column; /* stack vertically */
  padding: 10px;
}
.bottom-window .game .text {
  flex-direction: column;
  gap: 5px;
  
  min-height: 0;
}
.bottom-window .game .text p{
  flex: none;
  flex-direction: column;
  margin: 5px;
  
  text-align: center;
  font-family: "Caudex", serif;
  font-weight: 400;
  font-style: normal;
}
.bottom-window .game .description{
  display: flex;
  flex: none;
  flex-direction: column;
  margin-top: auto; /* align to bottom */
  margin-bottom: 5px;
  min-height: 0;
  
  align-items: center; /* horizontal */
  text-align: center;
  font-family: "Caudex", serif;
  font-weight: 1000;
  font-style: italic;
}



/* font families - copied into classes*/
.uncial-antiqua-regular {
  font-family: "Uncial Antiqua", system-ui;
  font-weight: 400;
  font-style: normal;
}
.caudex-regular {
  font-family: "Caudex", serif;
  font-weight: 400;
  font-style: normal;
}

.caudex-bold {
  font-family: "Caudex", serif;
  font-weight: 700;
  font-style: normal;
}
.caudex-regular-italic {
  font-family: "Caudex", serif;
  font-weight: 400;
  font-style: italic;
}
.caudex-bold-italic {
  font-family: "Caudex", serif;
  font-weight: 700;
  font-style: italic;
}
