/* NOTEBOOK CSS*/

:root {
  /* COLORS */
  --font-color: #000;
  --page-color: #fffff0;
  --line-color: #3ec9d8;
  --line-color2: #ee7a7a;
  --link-color: #c4445a;
  --highlighter: rgba(228, 107, 190, 0.2);
  --title-sticky-note: #ffbfc9;
  --desc-sticky-note: #fff8aa;
  --bg-color: black;
  /*IMAGES*/
  --bg-image: url("https://imgur.com/pF4uyL0.png");
  --tapepattern1: url("/resources/tapepattern1.png");
  --tapepattern2: url("/resources/tapepattern2.jpg");
  --tapepattern3: url("/resources/tapepattern3.png");
}
  
/* FONTS */
@font-face {
  font-family: mainfont;
  src: url("resources/Zeyada-Regular.ttf");
}
  
@font-face {
  font-family: headerfont;
  src: url("resources/MacondoSwashCaps-Regular.ttf");
}
  
/*GLOBAL*/
body {
  font-family: mainfont, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 18px;
  line-height: 40px;
  margin: 0;
  background-color: var(--bg-color);
  background-image: var(--bg-image);
  background-attachment: fixed;
  background-size:cover;
  background-position:center;
  color: var(--font-color);
}

/*.shadow {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.8), 0 6px 20px 0 rgba(0, 0, 0, 0.8);
}*/

/*TEXT STYLING*/
h1, h2, h3, h4, h5, h6 {
  font-family: headerfont, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 2em;
  margin: 30px auto 0px;
  text-align: center;
}

h1, h2 {
  background-color: var(--highlighter);
  width: fit-content;
}

h1 {
  text-decoration: underline;
  text-transform: uppercase;
}

h1::before {
  font-family:mainfont;
content: "☆ ";
}

h1::after {
  font-family: mainfont;
  content: " ☆";
}

ol, ul {
  margin-top:30px;
}

p {
    text-indent:40px;
    margin-top:15px;
    margin-bottom:15px;
}

ol li, ul li{
  padding: 0px;
}

li::marker {
  font-weight: bold;
}

b, strong {
  background-color: var(--highlighter);
}

i, em {
  text-decoration: wavy underline;
}

a {
  color: #3f2c76;
}

/*a::after {
  content: " â˜†";
}*/

a:hover {
  color: #823a6e;
}

blockquote {
  border-left: var(--line-color2) solid;
  margin-top:30px;
  padding-left: 1em;
}

strike {
  text-decoration-thickness: 3px;
  text-decoration-style: wavy;
}

/*STICKY NOTE STYLING*/
.sticky {
  height: fit-content;
  width: 300px;
  font-size: 0.9em;
  margin: auto 1em;
  line-height: normal;
  padding: 2em;
  z-index: 10;
  position: relative;
  float: none;
}

.sticky > p {
  margin: 0.5em 0 0 0;
}

.sticky > ul, .sticky > ol {
  margin: 0em;
}

.title {
  background-color: var(--title-sticky-note);
  padding: 1em 0.5em;
  width: 200px;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-2deg);
  z-index: 1;
}

.title > h1 {
  font-size: 2.5em;
  background-color: transparent;
}

.title > h1::before, .title > h1::after {
  content: "";
}

.desc {
  background-color: var(--desc-sticky-note);
  transform: rotate(1deg);
}

/*MAIN CONTENT AREA*/
.box {
 /* background-color: var(--page-color);*/
  /*background-image: url("https://imgur.com/pegTOfv.png");*/
  /*linear-gradient(var(--page-color) 1px, var(--page-color) 28px, var(--line-color));*/
  background-size: 100%;
  padding: 1px 30px 1px 30px;
  clear: right;
  margin: 3em 2em;
  overflow: scroll;
  height:1067px;
}

.byline {
  font-family: headerfont;
  margin-top: 50px;
  text-transform: uppercase;
  font-weight: bold;
}

.bodytext {
  font-family:mainfont;
  font-size:28px;
  margin-top:20px;
  margin-left:20px;
  margin-bottom:60px;
  font-weight:bold;
}

/*The Writing Utensil Overlay Images*/
.desk-decor>img {
  position: fixed;
  z-index: 50;
  filter: drop-shadow(10px 10px 5px rgba(0, 0, 0, 0.3))
}

.credit {
  /*background-color:;*/
  padding: 0.3em 0.5em;
  width: fit-content;
  font-size: 0.7em;
  position: fixed;
  bottom:0;
  right: 15px;
  z-index: 52;
}

.back {
  /*background-color:;*/
  padding: 10px 10px;
  width: fit-content;
  font-size: 20px;
  position: fixed;
  top:0;
  left: 15px;
  z-index: 52;
}

/*POSITIONING*/
.container {
  background-image: url("https://imgur.com/lWBuGXf.png");
  width: 800px;
  max-width: 100%;
  height: 1067px;
  margin: auto;
  margin-bottom:50px;
}

.headersection {
  margin: 1.5em auto 0;
  display: flex;
  gap: 1.5em;
  justify-content: center;
  align-items: center;
}
  
/*MOBILE BEHAVIOR*/
@media screen and (max-width: 800px){

  .desk-decor {
    display:none;
  }
  
  .headersection {
    flex-direction: column;
  }

}

@media screen and (max-width: 400px){
  
  .box {
    padding: 1px 1em 1px 1em;
  }
  
  .byline {
    text-align: center;
  }
}