:root {
  --h-bg: #545347;
  --h-a: #78736B;
  --f-c: #c3bfba;
  --i: #2b2724;
  --b: #140e0d;
}

html {
  background-image: url('/assets/ira/background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body {
  display: flex;
  align-items: center;
  justify-content: end;
  margin: 0;
  color: var(--f-c);
  font-family: Arial, Helvetica, sans-serif;
}

img {
  width: 100%;
  height: auto;
}

/*

  FORMATTING

*/

p {
  margin: 0;
  text-shadow: -1px 0 #2f2d2dc9, 0 1px #2f2d2dc9, 1px 0 #2f2d2dc9, 0 -1px #2f2d2dc9, 0 0;
}

.spacey {
  word-spacing: 8px;
  font-size: 0.9em;
}

.small {
  font-size: 0.8em;
}

.smalli {
  font-size: 0.9em;
  color: var(--b);
}

.height {
  line-height: 2em;
}

i {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  color: var(--i);
  font-size: 1.25em;
  padding: 0 0.2em;
  text-shadow: none;
}

b,
strong {
  font-family: 'Times New Roman', Times, serif;
  color: var(--b);
  text-shadow: -1px 0 #494644c9, 0 1px #494644c9, 1px 0 #494644c9, 0 -1px #494644c9, 0 0;
  font-size: 0.9em;
}

mark {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.1em 2em;
  background-color: var(--b);
  color: var(--f-c);
  border: 1px solid var(--b);
  box-shadow: inset 0 0 10px var(--i);
}

/*

  BASIC CSS

*/

.container {
  display: flex;
  flex-direction: column;
  width: 600px;
  margin: 9em 5em 2em 0;
  padding: 1em;
}

#header {
  position: fixed;
  z-index: 99;
  top: 0;
  width: 100%;
  height: 134px;
  background-image: url('/assets/ira/background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#navhold {
  position: fixed;
  bottom: 16.5em;
  left: 17em;
}

#meow {
  display: flex;
  list-style-type: none;
}

#meow>li {
  margin: 0 0.4em;
}

li>a {
  color: var(--f-c);
  text-decoration: none;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  text-decoration: none;
  transition: ease-in-out 0.5s;
  padding: 0 0.5em;
  background-color: var(--b);
}

li>a:hover {
  color: var(--i);
  box-shadow: inset 0 -0.9em var(--f-c);
  border-radius: 0.2em;
  outline: 1px solid var(--f-c);
  outline-offset: 2px;
  transition: ease-in-out 0.4s;
  text-decoration: none;
}

.holder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1em;
  background-color: var(--h-bg);
  outline: 1px solid var(--h-bg);
  outline-offset: 2px;
  margin-bottom: 1em;
}

.hide {
  clear: both;
  visibility: hidden;
}

/*

  DOSSIER CSS

*/

.basic-img {
  position: absolute;
  margin-top: -5em;
  height: 250px;
  width: 178px;
}

.separator {
  background-color: var(--f-c);
  outline: 1px solid var(--f-c);
  outline-offset: 2px;
  height: 2px;
  width: 100%;
  margin-top: 1em;
  margin-bottom: 1em;
  z-index: -1;
}

.sep-t {
  position: absolute;
  margin-top: -0.7em;
  font-family: 'Times New Roman', Times, serif;
  font-size: 2.3em;
  font-weight: bold;
  color: var(--f-c);
  text-shadow: -2px 0 var(--b), 0 2px var(--b), 2px 0 var(--b), 0 -2px var(--b), 0 0;
}

.sep-i {
  font-family: 'Times New Roman', Times, serif;
  color: var(--f-c);
  text-shadow: -2px 0 var(--b), 0 2px var(--b), 2px 0 var(--b), 0 -2px var(--b), 0 0;
  font-size: 1.3em;
  margin-top: -0.6em;
  font-style: italic;
  font-weight: bold;
  z-index: 1;
}

.info {
  display: flex;
  align-items: center;
}

.hfill {
  display: flex;
  flex: 1;
  margin: 0 0.7em 0 0;
  border: 1px solid var(--h-a);
}

.hfille {
  display: flex;
  flex: 1;
  margin: 0 0.7em;
  border: 1px solid var(--h-a);
}

.start {
  font-size: 0.9em;
  font-family: 'Times New Roman', Times, serif;
  background-color: var(--b);
  background: var(--b);
  background: linear-gradient(90deg, var(--b) 0%, var(--h-bg) 90%, var(--h-bg) 85%);
  border-bottom: 1px dotted var(--b);
  color: var(--f-c);
  text-shadow: -1px 0 var(--h-bg), 0 1px var(--h-bg), 1px 0 var(--h-bg), 0 -1px var(--h-bg), 0 0;
  font-weight: bold;
  padding: 0 0.3em;
  margin-bottom: 0.5em;
}

.end {
  font-size: 0.8em;
  font-style: italic;
  text-decoration: underline dotted var(--h-a);
  text-align: right;
}

.end>a {
  font-style: italic;
  text-decoration: underline dotted var(--h-a);
  text-shadow: rgba(47, 45, 45, 0.79) -1px 0px, rgba(47, 45, 45, 0.79) 0px 1px, rgba(47, 45, 45, 0.79) 1px 0px, rgba(47, 45, 45, 0.79) 0px -1px, 0px 0px;
  color: var(--f-c);
  transition: ease-in-out 0.3s;
}

.end>a:hover {
  transition: ease-in-out 0.4s;
  letter-spacing: 1px;
}

#blurb-holder {
  display: flex;
  align-items: end;
  height: 100%;
}

#basic-blurb {
  background-color: var(--b);
  outline: 1px solid var(--b);
  outline-offset: 2px;
  width: 100%;
  height: 150px;
  padding: 0.5em;
  box-sizing: border-box;
  font-style: italic;
  overflow: hidden;
}

/*

  CHARACTER RELATIONSHIPS CSS

*/

.c-holder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1em;
  background-color: var(--h-bg);
  outline: 1px solid var(--h-bg);
  outline-offset: 2px;
  margin-bottom: 2em;
  margin-top: 3em;
}

.c-pfp {
  position: absolute;
  margin-top: -5em;
  height: 250px;
  width: 150px;
}

.c-title>b {
  position: absolute;
  margin-top: -4.7em;
  text-shadow: -1px 0 var(--h-bg), 0 1px var(--h-bg), 1px 0 var(--h-bg), 0 -1px var(--h-bg), 0 0;
  color: var(--f-c);
}

.c-name {
  position: absolute;
  margin-top: -1.8em;
  margin-left: 0.5em;
  font-family: 'Times New Roman', Times, serif;
  text-shadow: -2px 0 var(--b), 0 2px var(--b), 2px 0 var(--b), 0 -2px var(--b), 0 0;
  font-style: italic;
  font-weight: bold;
  color: var(--f-c) !important;
  font-size: 2em;
}

.pbar {
  height: 3px;
  border-radius: 5px;
  border: 1px solid var(--b);
  width: 100%;
  background-color: var(--f-c);
}

.prog {
  background-color: var(--i);
  height: 100%;
}

.c-thoughts {
  background-color: var(--f-c);
  color: var(--b);
  height: 100px;
  padding: 0.5em;
  overflow: auto;
  border: 1px solid var(--b);
}

.c-text {
  text-shadow: -1px 0 #49464443, 0 1px #49464443, 1px 0 #49464443, 0 -1px #49464443, 0 0;
}

/*

  SEPARATORS + ENDERS

*/

.ender {
  position: absolute;
  margin-top: 48em;
  right: 0;
  width: 240px;
  z-index: -1;
  transform: scaleX(-1);
}

.liner-t {
  width: calc(100% + 2em);
  margin: -1em -1em 1em -1em;
}

.liner-b {
  width: calc(100% + 2em);
  margin: 1em -1em -1em -1em;
}

.ihr {
  display: block;
  margin: 0.5em 0;
}

/*

  ROWS AND COLUMNS

*/

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1em;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.right {
  display: flex;
  justify-content: center;
  align-items: end;
}

.col {
  display: flex;
  flex: 1;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5em;
}

.col-mid {
  display: flex;
  flex: 2;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5em;
}

.col-big {
  display: flex;
  flex: 3;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5em;
}

.col-fawk {
  display: flex;
  flex: 4;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5em;
}

.grow {
  flex-grow: 1;
}