/* ====== BODY STYLING ====== */
#game-window p,#game-window li,#game-window a {
  font-size: .85vw;
}

#window-bar h2 {
  font-size: inherit;
  font-family: inherit;
}

h2 {
  font-size: 15vw;
  margin: 0%;
  font-family: 'Times New Roman', Times, serif;
  line-height: .85;
}

#right h3 {
  font-size: 30px;
}

#subtitle {
  font-family: 'Times New Roman', Times, serif; 
  font-weight: bold;
  font-size: 1.1em;
}

strong {
  font-weight: bold;
}

hr {
  height: 2px;
  border-width: 0;
  color: black;
  background-color: black;
}

#game-content.two-col .flex-col:first-of-type {
  width: 33%;
  position: relative;
}

#game-content {
  position: relative;
}

#sideways-text {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow-x: visible;
  user-select: none;
  font-style: italic;
  font-size: .9em;
}

#sideways-text::after {
  content: url(../img/usw/crease-shadow.png);
  height: 100%;
  width: min-content;
  position: absolute;
  right: -130px;
  z-index: 0;
}

#column-one {
  overflow: visible !important;
}

#column-two {
  background-color: transparent !important;
  z-index: 1;
  cursor: pointer;
}

.rotate {
  transform: rotate(-90deg);
  z-index: 1;
  line-height: 1.05;
  font-size: .75vw !important;
}

.rotate span {
  display: block;
  font-size: 18vw;
  opacity: .25;
  line-height: .75;
  font-family: 'Times New Roman', Times, serif;
  font-style: normal;
}

#game-content.two-col .flex-col:last-of-type {
  box-sizing: border-box;
}

#game-content.two-col .flex-col:last-of-type p {
  line-height: 1.5;
}

#right {
  height: 100%;
  box-sizing: border-box;
}

.page {
  padding: 7% 10%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%;
}

.page p {
  margin-bottom: 5px;
  user-select: none;
}

#intro-page {
  background-color: lightgrey;
  height: 100%;
  padding-top: 10%;
  box-sizing: border-box;
}

#page1 {
  padding: 1% 3%;
}

#page1 h5 {
  margin-top: 15px;
}

#page1 #table-of-contents {
  margin-left: 15px;
}

#page1 #table-of-contents li {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  margin-bottom: 5px;
}

#page1 #table-of-contents li .line-gap {
  flex: 1;
  border-bottom: 1px dotted black;
  position: relative;
  top: -4px;
  margin: 0 5px;
}

#opening-spine {
  height: 102%;
  width: 4%;
  border: 2px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: skewY(-15deg);
}

#opening-spine p {
  transform: rotate(90deg) scale(.65, 1.3);
  white-space: nowrap;
  font-weight: bold;
  font-size: 1.75vw;
  line-height: 0;
  position: relative;
  left: -5px;
}

div.a {
  text-indent: 10%;
  /* this is used for all standard indents*/
}

div.b {
  text-indent: 20%;
  /* this is for pg 1 of 52: subheader indent 1*/
}

div.d {
  text-indent: 24%;
  /* this is for pg 1 of 52: subheader indent 2*/
}

span.r {
  float: right;
}

div.r {
  display: none;
  position: absolute;
  bottom: 10px;
  right: 20px;
}

div.l {
  text-align: left;
}

div.c {
  text-align: center;
}

.button-help {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 1%;
  border: 2px solid black;
  background: white;
  font-size: 1.2em;
  cursor: pointer;
}

.box {
  width: 68%;
  height: min-content;
  background: white;
  border: 2px solid black;
  padding: 2%;
  margin: 0 auto;
  box-sizing: border-box; 
  cursor: pointer;
}

#game-content.two-col .flex-col {
  background-color: white;
}

.page,
#sideways-text,
.modal {
  display: none;
  cursor: pointer;
}

#help-popup {
  margin: auto;
  position: absolute;
  height: auto;
  width: 60%;
  top: 10%;
  left: 0;
  right:0;
  background-color: white;
  border: 3px solid #f1f1f1;
  text-align: left;
  box-shadow: 2px 2px 0px 0px #0e0e0e;
  z-index: 2;
  padding: 1%;
  border-style: solid;
  border-color: grey;
  border-width: 1px;
  border-radius: 3px;
  font-size: .85vw;
}

#copyright-popup {
  margin: auto;
  position: absolute;
  width: 30%;
  height: min-content;
  top:0;
  bottom: 0;
  left:0;
  right: 0;
  background-color: white;
  border: 3px solid #f1f1f1;
  text-align: left;
  box-shadow: 2px 2px 0px 0px #0e0e0e;
  z-index: 2;
  padding: 1%;
  border-style: solid;
  border-color: grey;
  border-width: 1px;
  border-radius: 3px;
}

#page1 {
  display: block;
}

#page3 {
  padding: 0;
  width: calc(100% - 14%);
  height: calc(100% - 100px);
  transform: translate(10%, 7%);
  overflow-x: hidden;
  overflow-y: hidden;
}

#page3-wrapper {
  column-width: 1px;
  max-height: 100%;
  column-gap: 100px;
}