* {
  box-sizing: border-box;
}

body {
  font-family: "Lucida Sans Typewriter", monospace;
  background-color: #1B1530;
  background-image:url("background.jpg");
  background-repeat: repeat;
  margin: 0;
}

/* Header */
header {
  background-image:
    url("Tumblr Divider.png"),
    url("background.jpg");
  background-repeat:
    repeat,
    repeat;
  background-position:
    center,
    center;
  background-color: black;
  padding: 175px 20px;
  text-align: center;
}
header h2 {
  color: #7FC7FF;
  font-size: 48px;
  text-shadow:
    0 0 5px black,
    0 0 10px black,
    2px 2px 4px black;

  display: inline-block;
  padding: 6px 10px;
  margin: 0;
}
.decor-wing{
  position: absolute;
  top: 20px;
  left: 1700px;
  pointer-events: none;
}
.decor-textart{
  position: absolute;
  top: 80px;
  left: 40px;
  width: 300px;
  pointer-events: none;
}
.decor-stateflag{
  position: absolute;
  top: 175px;
  left: 120px;
  pointer-events: none;
}
/* Navigation */
nav {
 width: 300px;
  min-height: 500px;
  background-image: url("Links.png");
  background-size: contain;
  background-repeat: no-repeat;
  padding: 60px 40px;
  float: left;
  text-align: center;
}
nav ul {
  list-style-type: none;
  padding: 0;
}
nav li {
  margin-bottom: 10px;
}
/* Main content */
article {
  float: left;
  width: calc(100% - 620px);
  min-height: 500px;
  background-image: url("MainBox.png");
  background-size: contain;
  background-repeat: repeat;
  padding: 80px 60px;
  color: #7FC7FF;
  overflow: hidden;
}
.content-box {
  background-color: rgba(0, 0, 0, 0.25);
  padding: 25px;
  border-radius: 20px;
  text-shadow:
    0 0 5px black;
  backdrop-filter: blur(3px);
  }
  .button-row {
  display: flex;
  align-items: center;
  gap: 25px;
}
.home-button {
  display: block;
  width: 150px;
  aspect-ratio: 1 / 1;
  background-image: url("button_one.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.home-button:hover {
  background-image: url("home_button_2.png");
}
/*Right Side*/
aside {
  float: right;
  width: 320px;
  min-height: 500px;
  background-image: url("Sidebar.png");
  background-size: contain;
  background-repeat: no-repeat;
  padding: 60px 30px;
  text-align: center;
  color: #B8E3FF;
}
  .right-box {
  background-color: rgba(0,0,0,0.35);
  border-radius: 10px;
  padding: 20px;
  text-shadow:
    0 0 5px black;
  width: 160px;
  margin: auto;
}
/* Clear floats */
section::after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
footer {
  clear: both;
  min-height: 120px;
  background-image: url("thin line gems.png");
  background-size: contain;
  background-repeat: repeat;
  background-position: center;
  margin-top: 0px;
  padding: 15px 20px;
  text-align: center;
  color: #7FC7FF;
  font-size: 28px;
  text-shadow:
    0 0 5px black,
    0 0 10px black,
    2px 2px 4px black;
}
/* Links */
a {
  color: #B8E3FF;
  text-decoration: none;
  text-shadow:
    0 0 5px rgba(127,199,255,0.8);
}
a:hover {
  color: white;
  text-shadow:
    0 0 10px #7FC7FF,
    0 0 20px #7FC7FF;
}
/* Mobile */
@media (max-width: 600px) {
  nav, article {
    width: 100%;
  }
}
/*Movie page*/
article.movie-layout {
  float: none;
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background-image: url("moviepage.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/*Shared media frame*/
.media-box{
  width: 420px;
  height: 650px;
  flex-shrink: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 150px 35px 70px 35px;
  position: relative;
}
/*Stuff I watched Frame*/ 
.watched-box{
  background-image: url("stuff_i_watched.png");
}
.media-scroll {
  height: 430px;
  overflow-y: auto;
  padding-right: 10px;
  color: #D8F1FF;
  font-weight: bold;
  text-shadow:
      0 0 2px black,
      0 0 4px black;
}
.movie-nav {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 9999;
}
.movie-sections {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: -20px;
  padding-left: 40px;
}
/*Currently watching*/
.watching-box{
  background-image: url("currently_watching.png");
  }
  .watching-scroll {
  height: 430px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #D8F1FF;
  font-weight: bold;
  text-align: center;
  text-shadow:
    0 0 2px black,
    0 0 4px black;
}
/*Watch List*/
.watch-box{
  background-image: url("watch-list.png");
  background-size:contain;
  background-position: center;
  background-repeat: no-repeat;
  padding: 200px 35px 50px 35px;
}
.watch-scroll{
  height: 300px;
  overflow-y: auto;
  text-align: center;
  color: #D8F1FF;
  font-weight: bold;
  text-shadow:
    0 0 2px black,
    0 0 4px black;
}
/* Movie Buttons */
.movie-layout .button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  position: relative;
  z-index: 10;
  padding-top: 40px;
}
.movie-layout .button-row img {
  width: 150px;
  pointer-events: auto;
}
.decor-musicplayer{
  position: absolute;
  top: 20px;
  left: 1600px;
  width: 200px;
  transform: rotate(25deg);
  z-index: 999;
  pointer-events: none;
}
.decor-podcastplayer{
  position: absolute;
  top: 400px;
  left: 1600px;
  width: 200px;
  transform: rotate(-25deg);
  z-index: 999;
  pointer-events: none;
}
.decor-man{
  position: absolute;
  top: 80px;
  left: 455px;
  width: 150px;
  transform: rotate(35deg);
  z-index: 999;
  pointer-events: none;
}
.decor-creep{
  position: absolute;
  top: 500px;
  left: 1400px;
  width: 150px;
  z-index: 999;
  transform: rotate(15deg);
  pointer-events: none;
}
.decor-tpl{
  position: absolute;
  top: 100px;
  left: 1350px;
  width: 150px;
  z-index: 999;
  pointer-events: none;
}
.decor-hu{
  position: absolute;
  top: 650px;
  left: 40px;
  width: 150px;
  transform: rotate(0deg);
  z-index: 999;
  pointer-events: none;
}
/*Books*/ 
article.book-layout{
  position:relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background-image: url("reading_page.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.book-entry{
    position: relative;
  }
.book-spine{
  width: 190px;
  margin: 0px;
  height: 420px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}
.book-spine:hover{
transform:translateY(-10px);
}
.tbr_button{
  background-image: url("tbr_button.png");
}
.book-popup{
  display:none;
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  z-index: 1000;
}
.popup-art{
  width: 100%;
  max-width: 700px;
  display: block;
  margin: auto;
  border-radius: 10px;
}
.popup-text{
  position: absolute;
  top: 60px;
  left: 70px;
  width: 220px;
  height: 320px;
  overflow-y: auto;
  color: black;
  font-weight: bold;
  text-shadow:
    0 0 2px white,
    0 0 4px white,
    0 0 6px white;
}
.quote-text{
  position: absolute;
  top: 80px;
  left: 350px;
  width: 180px;
  height: 250px;
  color: black;
  font-style: italic;
  text-align: center;
  text-shadow:
    0 0 2px white,
    0 0 4px white;
}
.close-book{
  position: absolute;
  top: 20px;
  right: 620px;
  z-index: 1000;
  cursor: pointer;
}
.book-nav{
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
}
.current_button{
  background-image:url(currently_reading_button.png);
}
.bookshelf{
    display:flex;
    gap:300px;
    padding-top: 200px;
    padding-left: 300px;
    align-items:flex-start;
  }
.read_button{
    background-image: url(read_button.png);
  }
.read-list{
  position: absolute;
  top: 150px;
  left: 20px;
  transform: translateX(30%);
  width: 450px;
  height: 550px;
  overflow-y: auto;
  color: black;
  font-weight: bold;
  text-shadow:
    0 0 2px white,
    0 0 4px white,
    0 0 6px white;
  }
/*Art*/ 
article.art-layout{
 position:relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background-image: url("art_page.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.art-nav{
position: absolute;
  bottom: 20px;
  right: 40px;
  z-index: 10;
}
.decor-nsfw{
  position: absolute;
  top: 20px;
  left: 200px;
  width: 100px;
  z-index: 999;
  pointer-events: none;
}
.poem-frame{
  position: absolute;
  top: 150px;
  left: 50px;
}
.poem-art{
  width: 400px;
}
.poem-text{
  position: absolute;
  top: 68px;
  left: 70px;
  width: 260px;
  font-size: 22px;
  color: navajowhite;
  font-weight: bold;
  text-shadow:
    0 0 2px black,
    0 0 4px black,
    0 0 6px black;
}
@keyframes pulseGlow{
  0%{
    filter: drop-shadow(0 0 5px #7FC7FF);
  }

  50%{
    filter: drop-shadow(0 0 20px white);
  }

  100%{
    filter: drop-shadow(0 0 5px #7FC7FF);
  }
}
.star-button{
  animation: pulseGlow 3s infinite ease-in-out;
}
.star-button{
  position: absolute;
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}
.lovecraft-star{
  top: 100px;
  left: 1555px;
  background-image: url("art_map_button.png");
}
.archive-popup{
  display: none;
  position: fixed;
  top: -50%;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 1000;
}
.archive-art{
  width: 1700px;
  max-width:90vw;
}
.close-archive{
  position: absolute;
  top: 20px;
  right: 20px;
  z-index:1001;
}
.archive-content{
  position: absolute;
  top: 150px;
  left:180px;
  width: 1300px;
  height: 850px;
  overflow-x: visible;
  overflow-y: auto;
}
.lovecraft-thumbs{
  display: flex;
  padding-top: 10px;
  flex-wrap: wrap;
  width: 300px;
  gap: 10px;
  justify-content: center;
}
.lovecraft-art-thumb{
  width: 90px;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s ease;
  box-shadow:
  0 0 12px #7FC7FF,
  0 0 20px #7FC7FF,
  0 0 15px white;
}
.lovecraft-art-thumb:hover{
  transform: scale(1.05);
  box-shadow:
    0 0 20px #7FC7FF,
    0 0 40px white;
}
.left-up{
  position: absolute;
  top: 0px;
  left:95px;
}
.left-down{
  position: absolute;
  top: 500px;
  left: 95px;
}
.right-up{
  position: absolute;
  top: 0px;
  left: 945px;
}
.right-down{
  position: absolute;
  top: 500px;
  left: 945px;
}
.sc-star{
  top: 325px;
  left: 555px;
  width:80px;
  height: 80px;
  background-image: url("sc_button.png");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 999;
}
.mis-star{
  top: 652px;
  left: 859px;
  background-image: url("mis_button.png") ;
}
.decor-war{
  position: absolute;
  top: 30px;
  left: 400px;
  width: 270px;
  z-index: 999;
  pointer-events: none;
}
.decor-raccoon{
 position: absolute;
  top: 300px;
  left: 1600px;
  width: 270px;
  z-index: 999;
  pointer-events: none;
}
.decor-ralaa{
  position: absolute;
  top: 600px;
  left: 400px;
  width: 270px;
  transform: rotate(-35deg);
  z-index: 999;
  pointer-events: none;
}
.decor-space{
  position: absolute;
  top: 850px;
  left: 200px;
  width: 150px;
  z-index: 999;
  pointer-events: none;
}
.decor-click{
  position: absolute;
  top: 50px;
  left: 800px;
  width: 300px;
  z-index: 999;
  pointer-events: none;
}

/*writing page*/

.writing-layout{
 position:relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background-image: url("writing_page.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.scrap-links {
  position: absolute;
  max-width: 180px;
  top: 70px;
  left: 60px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.scrap-links p {
  width: 180px;
  margin: 0;
  margin-bottom: 0.5rem;
  font-style: italic;
  overflow-wrap: break-word;
}

.scrap-links a {
  display: block;
  max-width: 100%;
  text-decoration: none;
  white-space: normal;
  color: black;
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.scrap-links a:hover {
  transform: translateX(5px);
}
.writing-nav{
position: absolute;
  bottom: 20px;
  right: 40px;
  z-index: 10;
}
.blog-scrap {
  position: absolute;
  top: 50px;
  left: 500px;
}

.blog-img {
  display: block;
  width: 700px;
}

.blog-content {
  background-image: none;
  background: none;
  position: absolute;
  top: 60px;
  left: 20px;

  width: 500px;
}

.blog-content article {
  width: 500px;
}

.blog-content article h3 {
  margin-bottom: 10px;
}

.blog-content article p {
  width: 400px;
  line-height: 1.5;
}


