/*fonts*/
@font-face {
  font-family: "CedarvilleCursive";
  src: url("/fonts/CedarvilleCursive-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Lusitana";
  src: url("/fonts/Lusitana-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "SpaceMono";
  src: url("/fonts/SpaceMono-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/*text styles*/
.title {
  font-family: "CedarvilleCursive", cursive;
  font-size: 40px;
  color: rgb(56, 19, 0);
  display: block;
  margin-bottom: 15px;
  text-align: center;
}

.subtitle {
  font-family: "Lusitana", serif;
  font-size: 16px;
  color: rgb(56, 19, 0);
  display: block;
  margin-bottom: 15px;
  text-align: center;
}

.heading {
  font-family: "CedarvilleCursive", cursive;
  font-size: 30px;
  color: rgb(255, 255, 255);

  display: block;
  margin: 0;
  margin-bottom: 2px;
  padding: 0;
  text-align: center;
}

.heading span {
  filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black)
    drop-shadow(1px -1px 0 black) drop-shadow(-1px -1px 0 black);
}

a {
  text-decoration: none;
  font-family: "SpaceMono", serif;
  font-size: 16px;
  color: rgb(56, 19, 0);
}

.imgtxt {
  display: inline-block;
  position: relative;
}

.imgtxt img {
  width: 200px;
  height: 200px;
  display: block;
}

.imgtxt span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  opacity: 0;
  transition: opacity 0.2s ease;

  color: white;
  white-space: nowrap;
  font-family: "Lusitana";
  font-size: 25px;
  filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black)
    drop-shadow(1px -1px 0 black) drop-shadow(-1px -1px 0 black);
}

.imgtxt:hover span {
  opacity: 1;
}

.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-container .tooltip-text {
  visibility: hidden;
  width: 140px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  top: 70%;
  left: 50%;
  margin-left: -80px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* flex shiz*/
.parent-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  margin: 20px auto;
}

/* side containers */
.left-box,
.right-box {
  width: 180px;
  min-height: 700px;
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}

.right-box {
  transform: scaleX(-1);
}

/* main container */
.main-box {
  width: 900px;
  flex-shrink: 0;
  z-index: 10;
}

.left-box img,
.right-box img {
  position: absolute;
}

.knotborder {
  border-image-slice: 176 194 176 194;
  border-image-width: 50px 55px 50px 55px;
  border-image-repeat: round round;
  border-image-source: url(/img/about-me/frame8.png);
  background-color: white;
  padding: 20px;
  width: 80%;
  margin: 0 auto;
  background-clip: content-box;
}

.scrollingframe {
  border-image-slice: 176 194 176 194;
  border-image-width: 50px 55px 50px 55px;
  border-image-repeat: round round;
  border-image-source: url(/img/about-me/frame8.png);
  background-color: white;
  padding: 20px;
  width: 80%;
  background-clip: content-box;

  max-height: 500px;

  margin: 5px auto;

  overflow-y: auto;
  overflow-x: hidden;

  box-sizing: border-box;
}

.aboutgrid {
  width: 100%;
  table-layout: fixed;

  margin: 0;
  border-collapse: collapse;
}

.aboutgrid th {
  text-align: center;
  font-family: "Lusitana";
}

.aboutgrid td {
  padding: 0px;
  text-align: center;
}

.infobox {
  background: #d2c793;
  border: 3px dotted rgb(50, 58, 58);
  border-radius: 5px;
  padding: 10px;
  margin: 8px;
}

.character-row td {
  background: none;
  border: none;
  padding-top: 15px;
}

/*paperclip background*/
.box20 {
  background: #f7f7f7;
  box-shadow: 2px 2px 5px #000;
  box-sizing: border-box;
  margin: 20px 0;
  padding: 10px;
  position: relative;
  width: auto;
}

.icon01 {
  background: url(/img/about-me/icon01.png) no-repeat;
  height: 62px;
  position: absolute;
  right: 10px;
  top: -13px;
  width: 27px;
}

/*photo shiz*/
.main-box {
  position: relative;
}

.me {
  position: absolute;
  top: 35px;
  right: -70px;
  z-index: 999;
  transform: rotate(-10deg);
}

.me img {
  width: 100px;
  display: block;
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
}

.me span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  opacity: 0;
  transition: opacity 0.2s ease;

  color: white;
  white-space: nowrap;
  font-family: "Lusitana";
  font-size: 25px;
  filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black)
    drop-shadow(1px -1px 0 black) drop-shadow(-1px -1px 0 black);
}

.me:hover span {
  opacity: 1;
}

.floating {
  position: absolute;
  transition: transform 0.15s ease;
}

.floating:hover {
  transform: scale(1.1) rotate(3deg);
}

.stamp1 {
  position: absolute;
  top: 100px;
  left: -40px;
  z-index: 999;
  transform: rotate(15deg);
}

.stamp1 img {
  width: 75px;
  display: block;
}

.stamp1 span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  opacity: 0;
  transition: opacity 0.2s ease;

  color: white;
  white-space: nowrap;
  font-family: "Lusitana";
  font-size: 10px;
  filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black)
    drop-shadow(1px -1px 0 black) drop-shadow(-1px -1px 0 black);
}

.stamp1:hover span {
  opacity: 1;
}

.stamp2 {
  position: absolute;
  top: 225px;
  left: -40px;
  z-index: 999;
  transform: rotate(-10deg);
}

.stamp2 img {
  width: 75px;
  display: block;
}

.stamp2 span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  opacity: 0;
  transition: opacity 0.2s ease;

  color: white;
  white-space: nowrap;
  font-family: "Lusitana";
  font-size: 10px;
  filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black)
    drop-shadow(1px -1px 0 black) drop-shadow(-1px -1px 0 black);
}

.stamp2:hover span {
  opacity: 1;
}

.stamp2 button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.stamp2 button:focus {
  outline: none;
}

.stamp3 {
  position: absolute;
  top: 340px;
  left: -40px;
  z-index: 999;
  transform: rotate(3deg);
}

.stamp3 img {
  width: 75px;
  display: block;
}

.stamp3 span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  opacity: 0;
  transition: opacity 0.2s ease;

  color: white;
  white-space: nowrap;
  font-family: "Lusitana";
  font-size: 10px;
  filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black)
    drop-shadow(1px -1px 0 black) drop-shadow(-1px -1px 0 black);
}

.stamp3:hover span {
  opacity: 1;
}

.stamp4 {
  position: absolute;
  top: 435px;
  left: -40px;
  z-index: 999;
  transform: rotate(10deg);
}

.stamp4 img {
  width: 75px;
  display: block;
}

.stamp4 span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  opacity: 0;
  transition: opacity 0.2s ease;

  color: white;
  white-space: nowrap;
  font-family: "Lusitana";
  font-size: 10px;
  filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black)
    drop-shadow(1px -1px 0 black) drop-shadow(-1px -1px 0 black);
}

.stamp4:hover span {
  opacity: 1;
}

/* photopile shiz */
.photopile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}
.photopile figure {
  display: inline-block;
  background: white;
  box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.55);
  transform: rotate(2deg);
  margin: 0 -25px;
}
.photopile figure img {
  max-width: calc(100% - 2rem);
  margin: 1rem 1rem 0 1rem;
  border: 2px rgb(0, 0, 0, 0.55) inset;
}
.photopile figcaption,
.popovers figcaption {
  font-family: "CedarvilleCursive";
  text-align: center;
  margin: 0.5rem 1rem 1rem 1rem;
  font-size: 1.5rem;
  color: rgb(56, 19, 0);
}
.photopile button {
  background: none;
  border: none;
  max-width: 40%;
}
.photopile button:hover,
.photopile button:focus {
  z-index: 3;
  cursor: pointer;
}
.photopile button:nth-child(2n) {
  transform: rotate(-10deg);
}
.photopile button:nth-child(3n) {
  transform: rotate(5deg);
}
.photopile button:nth-child(4n) {
  transform: rotate(4deg);
}
.photopile button:nth-child(5n) {
  transform: rotate(-2deg);
}
.photopile button:nth-child(6n) {
  transform: rotate(-7deg);
}
:popover-open {
  border: none;
  box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.55);
  position: fixed;
  inset: 50% auto auto 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}
.popovers figure:popover-open {
  display: block;
  background: white;
  width: 88vmin;
}
.popovers figure:popover-open figcaption {
  margin: 2.5vmin 1rem 4vmin 1rem;
  font-size: 175%;
  color: rgb(56, 19, 0);
}
.popovers figure:popover-open img {
  margin: 4vmin 4vmin 0 4vmin;
  width: 80vmin;
  border: 4px rgb(0, 0, 0, 0.55) inset;
}

/* grid shiz */
.container {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template:
    "header header"
    "sidebar main"
    "footer footer";
  gap: 10px;
}

header {
  grid-area: header;
}

main {
  grid-area: main;
}

.hidden {
  display: none;
}

#popup-window {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 9999;
}

#popup-window .window-body {
  height: calc(100% - 40px);
  overflow-y: auto;
  overflow-x: auto;
}

#popup-window .window {
  width: 1200px;
  height: 750px;
}

.window {
  width: 900px;
  height: 700px;
}

.seven-window {
}
