body {
  background-image: url("/assets/journalBackground.jpeg");
  background-color: #f4efeb;
  background-attachment: fixed;
  background-size: 2000px 2000px;
  font-family: monospace;
  color: #4a3b32;
  text-align: center;
  margin: 0;
  padding: 20px;
}

mark {
  background-color: #fda172;
  color: black;
}

/* -- top nav -- */

.top-nav {
  margin-bottom: 30px;
  font-size: 18px;
}

.top-nav a {
  color: #c97a4e;
  margin: 10px;
  text-decoration: none;
}

.top-nav a:hover {
  text-decoration: underline;
}

/* -- home page stuff -- */

.homepage-grid {
  position: relative;
  width: 1000px;
  height: 800px;
  margin: 0 auto;
}

.box {
  position: absolute;
  background: transparent;
  border: 2px dashed #c97a4e;
  border-radius: 10px;
  padding: 15px;
  text-align: left;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.05);

}

.trans-box {
  position: absolute;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 15px;
  text-align: left;

}

#random-art {
  width: 100%;
  border-radius: 8px;
}

header {
  text-align: left;
  position: absolute;
  top: 40px;
  left: 50px;
  z-index: 10;
  mix-blend-mode: multiply;
}

.title-wrapper {
  position: absolute;
  width: 600px;
  top: -25px;
  left: -60px;
}

.center-box {
  width: 650px;
  top: 225px;
  left: 250px;
  transform: rotate(1deg);
}

.updates-box {
  height: 315px;
  width: 200px;
  overflow-y: auto;
  top: 260px;
  left: -20px;
  transform: rotate(-3deg);
  
}

.blog-box {
  height: 90px;
  width: 373px;
  top: 70px;
  left: 625px;
  transform: rotate(3deg);
  overflow-y: auto;
  z-index: 10;
}

.blog-content p:first-child {
  margin-op: 0px; 
}

.bottom-icons {
  position: relative;
  bottom: 60px; 
  left: 77%;
  transform: translateX(-50%); 
  display: flex; 
  gap: 50px;
  z-index: 10; 
}

.bottom-icons img {
  width: 80px;  
  height: 80px;
  transition: transform 0.2s ease; 
  filter: drop-shadow(2px 4px 4px rgba(0, 0, 0, 0.2));
}

.bottom-icons img:hover {
  transform: scale(1.2) rotate(5deg); 
  cursor: pointer;
}

.bottom-icons a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

/* --- blog decorations --- */

.blog-cluster {
position: absolute;
  top: 15px;
  left: 0px; 
}

.blog-header {
  position: absolute;
  top: -7px;
  right: 135px;
  z-index: 22;
}

.decorative-element {
  position: absolute;
  top: -100;
  right: -30px;
  pointer-events: none;
}

.blog-box-decore {
  height: 130px;
  width: 373px;
  top: 30px;
  left: 625px;
  transform: rotate(3deg);
  overflow-y: visible;
  z-index: 20;
  pointer-events: none;
  box-shadow: 5px 5px 6px rgba(0,0,0,0.1);
  
}

.blog-box-bg {
  height: 130px;
  width: 373px;
  top: -65px;
  left: 817px;
  transform: rotate(0deg);
  overflow-y: visible;
  z-index: -50;
}

.decorative-laural {
  position: absolute; 
  bottom: 5px;
  right: -80px;
  transform: rotate(77deg);
  z-index: 30;
}

.decorative-star01 {
  position: absolute; 
  bottom: 100px;
  right: -12px;
  transform: rotate(45deg);
  z-index: 25;
}

.decorative-star02 {
  position: absolute; 
  bottom: 135px;
  right: 407px;
  transform: rotate(0deg);
  z-index: 25;
}

.decorative-stamp01 {
  position: absolute; 
  bottom: 188px;
  right: 370px;
  transform: rotate(-15deg);
  z-index: 20;
}

.decorative-gridPaper {
  position: absolute; 
  bottom: 75px;
  right: 205px;
  transform: rotate(3deg);
  z-index: -200;
}

/* --- update decorations --- */
.updates-cluster {
position: absolute;
  top: 15px;
  left: 0px; 
}

.updates-header {
  position: absolute;
  top: 78px;
  left: 331px;
  z-index: 22;
  transform: rotate(90.5deg);
}

.updates-box-decore {
  height: 187px;
  width: 393px;
  top: 285px;
  left: -111px;
  transform: rotate(-94deg);
  overflow-y: visible;
  z-index: 20;
  pointer-events: none;
  box-shadow: -5px 5px 8px rgba(0,0,0,0.1);
}

.updates-box-bg {
  height: 130px;
  width: 373px;
  top: 130px;
  left: -250px;
  transform: rotate(-96deg);
  overflow-y: visible;
  z-index: -50;
}

.decorative-tape {
  position: absolute; 
  bottom: 75px;
  right: 20px;
  transform: rotate(6deg);
  z-index: 30;
}

.update-content p:first-child {
  margin-op: 0px; 
}

/* --- sketchbook --- */

.sketchbook-canvas {
  max-width: 1000px;
  margin: 0 auto; 
  padding-bottom: 150px;
  position: relative;
}

.sketchbook-header {
  position: relative !important;
  top: 67px;
  left: 0;
  text-align: center;
  z-index: 10;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 140px;
}

.polaroid {
  position: relative !important; 
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s ease;
}

.polaroid img {
  display: block;
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.tilt-left { transform: rotate(-2deg); }
.tilt-right { transform: rotate(3deg); }

.polaroid:hover {
  transform: scale(1.05); 
  z-index: 10;
}

/* --- project details--- */

.project-canvas {
  max-width: 800px;
  margin: 0 auto; 
  padding-top: 50px;
  padding-bottom: 150px;
  position: relative;
}

.project-header {
  position: relative !important;
  top: 0;
  left: 0;
  text-align: center;
  margin-bottom: 60px;
  z-index: 10;
}

.video-showcase {
  display: flex;
  flex-direction: column; 
  gap: 80px;
  align-items: center;
}

.showcase-item {
  width: 100%;
  text-align: center;
}

.showcase-item video {
  width: 100%;
  max-width: 750px;
  border-radius: 8px;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.1); 
  border: 4px solid white;
}

.showcase-item .caption {
  margin-top: 15px;
  font-size: 14px;
  color: #777; 
}

/* --- art-grid --- */

.art-grid {
  column-count: 5;
  column-gap: 15px; 
  max-width: 5000px;
  margin: 0 auto;
}

.art-piece {
  position: relative; 
  break-inside: avoid; 
  margin-bottom: 15px; 
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer

}

.art-piece img {
  width: 100%;
  display: block;
}

.art-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 40px 15px 15px; 
  
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); 
  
  color: white;
  font-size: 16px;
  font-weight: bold;
  
  opacity: 0; 
  transition: opacity 0.3s ease;
}

.art-piece:hover .art-caption {
  opacity: 1;
}

.lightbox-overlay {
  display: none; 
  position: fixed; 
  z-index: 999; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); 
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-overlay #lightbox-caption {
  color: white;
  margin-top: 15px;
  font-size: 18px;
  font-weight: bold;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* --- sketchbook decore --- */

.polaroid-decore {
  position: absolute; 
  text-align: center;
  bottom: -35px;
  right: 0px;
  z-index: 20;
}

.-polaroid-fix {
  position: relative; 
  z-index: -25;
}

/* -- misc -- */

.todo-box {
  height: 350px;
  width: 200px;
  overflow-y: auto;
  top: 200px;
  left: 220px;
}

/* -- construction video -- */

.construction-canvas {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.construction-video-wrapper {
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.fake-gif {
  pointer-events: none; 
  width: 100%;
  height: auto;
  display: block;
  
  mix-blend-mode: multiply;
}