body {
  background: lightblue;
  margin: 0px;
  word-wrap: break-word;
  font-size: 20px;
  line-height: 25px;
  word-spacing: 4px;
  font-family: "Zain", sans-serif;
  background-image: url(writing-img/a06-bg-frill.gif);
  color: var(--black);
}
:root {
  --darkpurple: #6d588b;
  --lightpurple: #edddec;
  --purple-1: #a48eca;
  --purple-2: #8372c6;
  --purple-3: #9476cf;
  --white: #f2f2f2;
  --black: #1b1524;
}

mark {
  background: var(--white);
}

#wrapper-index {
  /* the notebook's cover */
  background: var(--darkpurple);
  position: relative;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 35px;
  width: 1108px;
  padding: 20px 10px 15px 10px;
  border-radius: 20px;
  border: 1px solid var(--black);
}

/*this is my ugly binder spiral! feel free to remove it or change it. it wont mess the rest of the code! */
#tab1-wrapper:after,
#tab2-wrapper:after,
#tab3-wrapper:after,
#tab4-wrapper:after,
#tab5-wrapper:after,
#tab6-wrapper:after,
#tab7-wrapper:after,
#tab8-wrapper:after {
  content: url(https://files.catbox.moe/4v6k8c.png);
  position: absolute;
  z-index: 10;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  pointer-events: none;
}

/* PAGES CSS */

.paper {
  /*the CSS of both "pages" boxes. you can choose the look of ALL pages here */
  background: url(https://files.catbox.moe/evxip4.png);
  z-index: 5;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  border: 1px solid var(--black);
  height: 600px;
}

.left {
  width: 490px;
  margin-left: 50px;
  margin-right: 10px;
  border-radius: 10px 0px 0px 10px;
  overflow: hidden;
}

.left-in {
  /*			the main purpose of this class if so the scrollbar of left pages arent obscured by the bind spiral */
  padding: 15px 10px 15px 25px;
  height: 100%;
  margin-right: 15px;
  overflow: auto;
}

.right {
  padding: 15px 25px;
  width: 490px;
  margin-left: 10px;
  border-radius: 0px 10px 10px 0px;
  overflow: auto;
}

/* tab buttons CSS stuff */

.tab {
  /* for the ones on the left */
  width: 590px;
  height: 50px;
  position: absolute;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  rotate: -90deg;
  top: -10px;
  left: -232px;
}

.tab2 {
  /* for the ones on the right */
  width: 590px;
  height: 50px;
  position: absolute;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  rotate: 90deg;
  top: 590px;
  right: -232px;
}

.tab button,
.tab2 button {
  /*this is the look of the TABS! */
  z-index: 1;
  position: relative;
  vertical-align: top;
  width: 120px;
  margin: 0px 8px;
  padding: 10px 0px 30px 0px;
  border: none;
  cursor: help;
  font-size: 21px;
  font-family: "Zain", sans-serif;
  color: var(--black);
  transition-duration: 0.5s;
  top: 10px;
  border-radius: 10px 10px 0 0;
  border: 1px solid var(--darkpurple);
}

/* here you can change the color of each individual TAB button*/
.tab1-b {
  background: var(--purple-3);
}

.tab2-b {
  background: var(--purple-1);
}

.tab3-b {
  background: var(--purple-2);
}

.tab4-b {
  background: var(--purple-3);
}

.tab5-b {
  background: var(--purple-1);
}

/* hover effect of TAB*/
.tab button:hover,
.tab2 button:hover {
  top: 0px;
  cursor: -webkit-grab;
  cursor: grab;
}

/* selected TAB effect aka when its focused */
.tab button.active,
.tab2 button.active {
  top: 0px;
  cursor: -webkit-grabbing;
  cursor: grabbing;
  box-shadow: 1px 1px 20px 1px var(--lightpurple);
  outline: none;
}

/* custom scrollbar for chrome users, firefox users cant see this */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb:vertical {
  background: white;
  border: 1px solid black;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:horizontal {
  background: white;
  border: 1px solid black;
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  border-radius: 10px;
  background: transparent;
}
.trail {
  position: absolute;
  z-index: 10;
  bottom: 40px;
  left: 150px;
  transform: translateX(-50%);
  width: 250px;
}
.trail-2 {
  position: absolute;
  z-index: 10;
  top: 40px;
  left: 1520px;
  transform: translateX(-50%);
  width: 200px;
}
.zain-extralight {
  font-family: "Zain", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.zain-light {
  font-family: "Zain", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.zain-regular {
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zain-bold {
  font-family: "Zain", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.zain-extrabold {
  font-family: "Zain", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.zain-black {
  font-family: "Zain", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.zain-light-italic {
  font-family: "Zain", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.zain-regular-italic {
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-style: italic;
}
