html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: url(assets/website3.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  cursor: url(assets/quill.png) 10 10, auto;
  
}



/*  MAIN PAGE SECTIONS  */

.section {
  height: 100dvh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.changelog {
  height: auto;
  padding: 120px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* P5 CANVAS */

.canvas-container {
  position: absolute;
}

#sketch2 {
  width: 40vw;
  height: 80vh;
  right: 5%;
  top: 10%;
  border: 12px solid;
  border-image: linear-gradient(
      45deg,
      #bf953f,
      #fcf6ba,
      #b38728,
      #fbf5b7,
      #aa771c
    )
    1;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.473);
  outline: double 4px rgba(0, 0, 0, 0.411);
  overflow: hidden;
}

#sketch2:hover {
  cursor: url(assets/waxseal.png)10 10, pointer;
}

#sketch4 {
  width: 40vw;
  height: 80vh;
  left: 60%;
  top: 5%;
  mask-image: radial-gradient(circle, black 60%, transparent 80%);
}

/* TEXT STYLES */

/*  fonts  */
@font-face {
  font-family: "PistonBlack";
  src: url("assets/PistonBlack-Regular.ttf") format("woff2");
}
@font-face {
  font-family: "Cathdra";
  src: url("assets/IT-Cathdra.otf") format("woff2");
}

@font-face {
  font-family: "Script";
  src: url("assets/QEAntonyLark.ttf") format("woff2");
}

/*  text containers  */

.text-container {
  top: 2%;
  width: clamp(30vw, 40vw, 50vw);
  position: absolute;
  z-index: 1;
}

#text-containerstart {
  top: 40%;
  left: 30%;
  outline: double 4px rgb(0, 0, 0);
  background:
    linear-gradient(#bf953f, #b38728, #fbf5b7, #aa771c),
    url("assets/websitebg.jpg");
  background-blend-mode: multiply;
  background-position: center;
  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.4),
    inset -4px -4px 8px rgba(255, 255, 255, 0.3);
}

#text-containerintro {
  left: 30%;
}

#text-container1 {
  top: 10.85%;
  left: 32%;
  background:
    linear-gradient(#bf953f, #b38728, #fbf5b7, #aa771c),
    url("assets/websitebg.jpg");
  background-blend-mode: multiply;
  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.4),
    inset -4px -4px 8px rgba(255, 255, 255, 0.3);
  outline: double 4px rgb(0, 0, 0);
}

#text-container2 {
  top: 20%;
  left: 10%;
}

#text-container3 {
  top: 10%;
  left: 3%;
}

#text-container4 {
  top: 10%;
  left: 10%;
  transform: rotate(2deg);
  outline: double 10px rgb(0, 0, 0);
}

#text-container5 {
  top: 10.85%;
  left: 30%;
}

#text-container6 {
  right: 1%;
}

#text-container7 {
  top: 10.85%;
  left: 30%;
  transform: rotate(2deg);
  outline: double 4px rgb(0, 0, 0);
  background:
    linear-gradient(#bf953f, #b38728, #fbf5b7, #aa771c),
    url("assets/websitebg.jpg");
  background-blend-mode: multiply;
  background-position: center;
  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.4),
    inset -4px -4px 8px rgba(255, 255, 255, 0.3);
}

/*  misaligned text  */

.manuscript-text {
  font-family: "PistonBlack";
  position: relative;
  font-size: clamp(1rem, 3vw, 4rem);
  line-height: 1.2;
}

.manuscript-text::after {
  content: attr(data-text);
  position: absolute;
  left: 10px;
  top: 5px;
  color: rgba(133, 16, 16, 0.342);
  pointer-events: none;
}

/* accent word */
.accent {
  color: #b33;
  text-shadow: 3px 3px rgb(0, 0, 0);
}

/*  body text  */
.body-text {
  font-family: "Cathdra";
  font-size: clamp(1rem, 1.4vw + 0.5rem, 3rem);
  line-height: 1.6;
  max-width: 100%;
}

#body-text-intro {
  text-align: center;
}

#body-text-section1 {
  line-height: 1.25;
  text-align: center;
  text-shadow:
    1px 1px 2px rgba(0, 0, 0, 0.3),
    -1px -1px 1px rgba(255, 255, 255, 0.2);
}

#body-text-section4 {
  text-align: center;
  line-height: 2;
}

#body-text-section5 {
  text-align: center;
}

#body-text-section7 {
  line-height: 2;
  text-align: center;
  text-shadow:
    1px 1px 2px rgba(0, 0, 0, 0.3),
    -1px -1px 1px rgba(255, 255, 255, 0.2);
}

/* initial capital */
.initial {
  font-family: "PistonBlack";
  float: left;
  font-size: clamp(2em, 1.4vw + 0.5rem, 5rem);
  line-height: 0.8;
  margin-top: 5px;
  padding: 5px;
  background: radial-gradient(circle, rgba(44, 33, 2, 0.555), transparent 70%);
  box-shadow:
    0 0 20px rgba(255, 166, 0, 0.452),
    inset 0 0 12px rgba(255, 215, 120, 0.418);
  transform: rotate(-2deg);
}

/* margin text */
.margin-text {
  position: absolute;
  top: 20%;
  font-family: "Script";
  font-size: clamp(0.8rem, 1.2vw + 0.5rem, 1.5rem);
  opacity: 0.75;
  transform: rotate(-2deg);
  z-index: 2;
  pointer-events: none;
}

/* left side */
.margin-text.left {
  left: 3%;
  text-align: right;
}

#mtl-section5 {
  text-align: left;
}

/* right side */
.margin-text.right {
  top: 2%;
  right: 5%;
  text-align: center;
  transform: rotate(-5deg);
}

#mtr-section2_1 {
  top: 90%;
  right: 50%;
  transform: rotate(1deg);
}

#mtr-section5 {
  top: 50%;
  transform: rotate(-1deg);
}

/* IMAGE STYLES */

.fullframe {
  position: absolute;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}

#frame1 {
  background-image: url(assets/iconography_border.png);
  height: clamp(1dvh, 100dvh, 100dvh);
  width: clamp(1vw, 100vw, 100vw);
}

#frame2 {
  background-image: url(assets/final.png);
  height: clamp(1dvh, 100dvh, 100dvh);
  width: clamp(1vw, 100vw, 100vw);
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 75%,
    transparent 100%
  );
}

.canvasframe {
  position: absolute;
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 2;
}

#canvasframe2 {
  background-image: url("assets/saint_border.png");
  width: 100%;
  height: 100%;
}

.image-container {
  position: absolute;
  top: 10%;
  left: 25%;
}

#img3 img {
  width: clamp(30vw, 80vw, 90vw);
  height: auto;
  transform: rotate(2deg);
}

/* EMBED */

#embed {
  position: relative;
  top: 2%;
  left: 2%;
  width: 50vw;
  height: 70vh;
  border: 12px solid;
  border-image: linear-gradient(
      45deg,
      #bf953f,
      #fcf6ba,
      #b38728,
      #fbf5b7,
      #aa771c
    )
    1;
  box-shadow: 0 0 15px rgba(191, 149, 63, 0.4);
  transform: rotate(1.2deg);
}

iframe {
  width: 100%;
  height: 100%;
}

/*  SCROLLBAR  */
::-webkit-scrollbar {
  width: 16px;
}

::-webkit-scrollbar-track {
  background: rgb(156, 117, 75);
  border-left: 2px solid rgba(139, 69, 19, 0.3);
  box-shadow: inset 5px 0 10px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    to bottom,
    #bf953f,
    #fcf6ba,
    #b38728,
    #fbf5b7,
    #aa771c
  );
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
  border: 1px solid #5d2e0d;
}

::-webkit-scrollbar-button:single-button {
  background-color: #bf953f;
  height: 20px;
  border: 1px solid #5d2e0d;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
  background-size: 20px;
  background-position: center;
  background-image: url("assets/cross.png");
}


/* CHANGELOG SECTION */

.changelog-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.changelog-section::before {
  content: "";
  width: 100px;
  height: 1px;
  background: rgba(0, 0, 0);
  position: absolute;
  top: 0;
}

/* title */
.changelog-title {
  font-family: "Cathdra";
  font-size: 1.8rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* each entry */
.changelog-entry {
  position: relative;
  padding-left: 60px;
  font-family: "Cathdra";
  font-size: 1.2rem;
}

/* version number */
.version {
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Cathdra";
  font-size: 1rem;
  color: #b33;
  text-shadow: 0.5px 0.5px rgb(0, 0, 0);
}

/* ending line */
.changelog-ending {
  font-family: "Script";
  margin-top: 40px;
  font-style: italic;
  opacity: 0.7;
}

