/* ============================== */
/* RESET */
/* ============================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ============================== */
/* BODY: page background */
/* ============================== */

body {
  position: relative;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  color: #3a3530;
  background: none;
}

/* BEHIND background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('images/behind-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: -2;
  pointer-events: none;
}

/* MAIN background (your old body background) */
body::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/bgof.png');
  background-position: top center;
  background-repeat: repeat-y;
  background-size: 1920px 2500px;
  background-repeat: no-repeat;
  background-position: top -10px center;
  transform: scaleX(-1);
  z-index: -1;
  
  pointer-events: none;
}

body::before { background: #8d92af; }


/* ============================== */
/* FULL PAGE */
/* ============================== */

.page {
  width: 100%;                                          
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;}

/* ============================== */
/* TOP OF WEBSITE: the lamps and stopwatch on the top of the website */  
/*  swinging */
/* - transform-origin: top center makes it swing from the chain at the top*/
/* - 3s = how long one swing takes (lower = faster)*/
/* - 2deg / -2deg = how far it swings (increase for bigger swings)*/
/* ============================== */

.corner-stopwatch {
  position: absolute;
  top: 0;
  right: 100px;
  width: 350px;
  z-index: 200;
  pointer-events: none;
  transform-origin: top center;
  animation: swing 3s ease-in-out infinite;
}

.corner-lamps {
  position: absolute;
  top: 0;
  right: 100px;
  width: 350px;
  z-index: 200;
  pointer-events: none;
  transform-origin: top center;
  animation: swing 4s ease-in-out infinite;
  left: 92px;
}

/* ============================== */
/* Everything behind the castle */
/*  swinging */
/* - 15s = how long it takes to drift across (lower = faster)
/* - 300px = how far it drifts right (increase for more movement)
/* ============================== */

/* clouds */

.clouds {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  animation: drift 25s ease-in-out infinite;
}

.cloud-1 { animation-duration: 18s; }
.cloud-2 { animation-duration: 22s; }
.cloud-3 { animation-duration: 17s; }
.cloud-4 { animation-duration: 25s; }
.cloud-5 { animation-duration: 19s; }

/* 1. the left cloud */
.cloud-4 {
  top: 45%;
  left: -140px;
  width: 340px;
  transform: scaleX(-1);
}

/* 2. the middle left cloud */
.cloud-1 {
  top: 5%;
  left: 13%;
  width: 300px;
}

/* 3. the middle cloud */
.cloud-3 {
  top: 28%;
  left: 32%;
  width: 350px;
}

/* 4. the middle right cloud */
.cloud-2{
  top: 15%;
  right: 11%;
  width: 350px;
}

/* 5. the right cloud */
.cloud-5 {
  top: 65%;
  right: -180px;
  width: 300px;
  transform: scaleX(-1);
}

/* ============================== */
/* CASTLE: the header image at the top */
/* ============================== */

.castle {
  text-align: center;
  padding-top: 0px;
  position: relative;
  margin-top: -60px;
}

.castle img:not(.clouds) {
  max-width: 1042px;
  width: 90%;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============================== */
/* SITE TITLE: text over the castle */
/* ============================== */

.site-title {
  position: absolute;
  top: 63%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cinzel Decorative', serif;
  font-size: 34px;
  font-weight: 400;
  color: #f0ead6;
  letter-spacing: 4px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6), 0 0 20px rgba(0,0,0,0.3);
  white-space: nowrap;
  z-index: 2;
}

/* ============================== */
/* SUBTITLE: smaller text under the title */
/* ============================== */

.site-subtitle {
  position: absolute;
  top: 69%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  color: #e0d8c8;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  white-space: nowrap;
  z-index: 2;
}

/* ============================== */
/* DRAGONS: the dragon transition between castle and pink box */
/* margin-top = pulls dragons closer to castle (use negative for overlap) */
/* margin-bottom = pulls pink box up behind dragons (use negative for overlap) */
/* ============================== */

.dragons {
  text-align: center;
  position: relative;
  z-index: 10;
  margin-top: -280px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 185px;
}

.dragons img {
  max-width: 1035px;
  width: 80%;
  display: block;
  margin: 0 auto;
  pointer-events: none;
}

/* ============================== */
/* LOCK: the lock in between the dragons */
/* ============================== */

.lock {
  text-align: center;
  position: relative;
  z-index: 10;
  margin-top: -380px;
  margin-bottom: -70px;
  display: block;
  pointer-events: none;
}

.lock img {
  max-width: 115px;
  width: 80%;
  display: block;
  margin: 0 auto;
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
}

.lock img:hover {
  filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* ============================== */
/* CONTENT: the pink box below the dragons */
/* make pink box longer: padding-bottom: 195px; /* increase this */
/* ============================== */

.content {
  max-width: 850px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f2e0e0, #eedbd5, #f0dde0);
  border-radius: 25px;
  padding: 80px 40px 0px 40px;
  position: relative;
  z-index: 5;
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
  margin-bottom: 60px;
  border: 4px dotted white;
  padding-bottom: 265px;
}

/* ============================== */
/* PATTERN OVER PINK BOX */
/* - opacity: 0.08 for how visible it is
/* - background-size: 100px for how big the pattern is
/* - 10px in the CSS pattern for the grid spacing
/* ============================== */

.content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background-image: url('images/x.png');
  background-repeat: repeat;
  background-size: 100px;
  opacity: 0.5;
  z-index: -10;
  pointer-events: none;
}

.content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background-image: url('images/bbg2.jpg');
  background-repeat: repeat;
  /* CHANGE LATER */ opacity: 0;
  z-index: 0;
  pointer-events: none;
  }

/* ============================== */
/* NAVIGATION: the menu links */
/* ============================== */

.nav {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #c4b5a0;
}

.nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: #8b7564;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: #3a3530;
  border-bottom: 1px solid #8b7564;
}

/* ============================== */                                                                                                  
/* SCATTERED LAYOUT: the whole pink box that holds all sections */
/* ajust min-height up to make pink box longer */
/* ajust margin-top to move everything below welcome text up */
/* ============================== */                                                                                                  

.scattered {
  position: relative;
  width: 100%;
  min-height: 900px;
  margin-top: 120px;
}

/* ============================== */
/* TEXT BOX */
/* ============================== */

.text-box {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid #c4b5a0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: -225px;
  margin-top: 40px; /* increase if you want more space */
}

/* ============================== */
/* SECTION BUBBLES: the big circles for art, photo, projects, video, collections (not clickable) */
/* ============================== */

.section-bubble {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  pointer-events: none;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 1)) drop-shadow(0 0 50px rgba(255, 255, 255, 0.6));
  }

.section-bubble.big {
  width: 180px;
  height: 180px;
}

.sub-bubble:hover::after {
  filter: brightness(1) drop-shadow(none);
}

.sub-bubble:hover img {
  transform: scale(1.15);
  filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* section bubble image */
.section-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

/* section bubble text overlay */

.section-bubble span {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  color: #f0ead6;
  font-family: 'Cinzel Decorative', serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.5);
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 15px;
  border-radius: 8px;
}

/* ============================== */
/* SUB BUBBLES: the small circles for sub-sections like portraits, nature, digital art etc (clickable) */
/* ============================== */

.sub-bubble {
  display: block;
  width: 160px;
  height: 160px;
  position: relative;
  text-decoration: none;
  border: none;
  background: none;
}

/* sub bubble hover effect */
.sub-bubble:hover img {
  filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 80, 130, 0.5)); 
}

/* sub bubble image */
.sub-bubble img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  filter: brightness(0.88);
  transition: all 0.3s ease;
  transform: rotate(-5deg);
}

/* sub bubble label: text that appears when you hover over a small circle */
.sub-label {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(58, 53, 48, 0.8);
  color: #f0ead6;
  font-family: 'Cinzel Decorative', serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* sub bubble label visible on hover */
.sub-bubble:hover .sub-label {
  opacity: 1;
}

/* ============================== */
/* POSITION EACH GROUP */
/* adjust top/left to scatter them around */
/* - top: 20px = how far down from the top*/
/* - left: 50px = how far from the left edge (or use right for the right edge)*/
/* - width: 150px = how big the image is*/
/* For example, to move the art section image to the center-left and make it bigger:*/
/* .art-group .section-img { top: 100px; left: 200px; width: 200px; }*/
/* ============================== */

.section-group {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* ====== ART ====== */
.art-group .section-bubble { top:115px; left: -120px; } /* ====== ART ====== */
.art-group .sub-bubble:nth-child(2) { top: -70px; left: -550px; } /* ====== digital art ====== */
.art-group .sub-bubble:nth-child(3) { top: 330px; left: -660px; } /* ====== traditional art ====== */

/* ====== PHOTOGRAPHY ====== */
.photo-group .section-bubble { top: 130px; right: -680px; } /* ====== PHOTOGRAPHY ====== */
.photo-group .sub-bubble:nth-child(2) { top: 300px; right: -560px; } /* ====== portrait photography ====== */
.photo-group .sub-bubble:nth-child(3) { top: 0px; right: -470px; } /* ====== nature photography ====== */

/* ====== PROJECTS ====== */
.projects-group .section-bubble { top: 370px; left: 250px; } /* ====== PROJECTS ====== */
.projects-group .sub-bubble:nth-child(2) { top: 160px; left: 220px; } /* ====== poetry ====== */
.projects-group .sub-bubble:nth-child(3) { top: 150px; left: -170px; } /* ====== books ====== */
.projects-group .sub-bubble:nth-child(4) { top: 360px; left: -60px; } /* ====== movies ====== */
.projects-group .sub-bubble:nth-child(5) { top: 110px; left: 20px; } /* ====== series ====== */
.projects-group .sub-bubble:nth-child(6) { top: 310px; left: -100px; } /* ====== games ====== */
.projects-group .sub-bubble:nth-child(7) { top: 360px; left: 100px; } /* ====== music ====== */
.projects-group .sub-bubble:nth-child(8) { top: 410px; left: -250px; } /* ====== school ====== */

/* ====== VIDEO ====== */
.video-group .section-bubble { top: 650px; left: -150px; } /* ====== VIDEO ====== */
.video-group .sub-bubble:nth-child(2) { top: 630px; left: -630px; } /* ====== weddings ====== */
.video-group .sub-bubble:nth-child(3) { top: 850px; left: -700px; } /* ====== nature ====== */

/* ====== COLLECTIONS ====== */
.collections-group .section-bubble { top: 700px; right: -700px; } /* ====== EXTRA'S
====== */
.collections-group .sub-bubble:nth-child(2) { top: 725px; right: -760px; } /* ====== shrine ====== */
.collections-group .sub-bubble:nth-child(3) { top: 860px; right: -480px; } /* ====== sitemap ====== */
.collections-group .sub-bubble:nth-child(4) { top: 470px; right: -280px; } /* ====== credits ====== */  

.collections-group .section-bubble {
width: 180px;                                         
height: 180px;
}

/* ====== MAKING SPECIFIC SUB PICS BIGGER ====== */

/* ====== PHOTO GROUP ====== */

.photo-group .sub-bubble:nth-child(2) img {
  width: 200px;
  height: 200px;
}

/* ====== COLLECTIONS GROUP ====== */

.collections-group .sub-bubble:nth-child(4) img {
  width: 230px;
  height: 230px;
}

.collections-group .sub-bubble:nth-child(3) img {
  width: 220px;
  height: 220px;
}

.collections-group .sub-bubble:nth-child(2) img {
  width: 120px;
  height: 120px;
}

/* ====== PROJECTS GROUP ====== */

.projects-group .sub-bubble:nth-child(2) img {
  width: 200px;
  height: 200px;
}

.projects-group .sub-bubble:nth-child(4) img {
  width: 200px;
  height: 200px;
}

.projects-group .sub-bubble:nth-child(5) img {
  width: 200px;
  height: 200px;
}

.projects-group .sub-bubble:nth-child(6) img {
  width: 200px;
  height: 200px;
}

/* ============================== */
/* CONNECTING LINES from sub-bubbles to their section */
/* - height = how long the line is
/* - top/left = where the line starts
/* - rotate = the angle of the line
/* Change one line at a time, save, refresh, and adjust until it connects properly. 
/* If you want the lines to be dashed instead of solid, add border-left: 2px dashed #c4b5a0 and remove background.
/* ============================== LATER KLEUR WEER c4b5a0 MAKEN*/

.sub-bubble::after {
  content: '';
  position: absolute;
  border-left: 2px dashed #000000;
  z-index: -1;
  pointer-events: none;
}

/* ====== ART LINES ====== */

/* ====== traditional line ====== */
.art-group .sub-bubble:nth-child(2)::after {
  width: 2px;
  height: 80px;
  top: 340px;
  left: 180px;
  transform: rotate(30deg);
}

/* ====== digital line ====== */
.art-group .sub-bubble:nth-child(3)::after {
  width: 2px;
  height: 80px;
  top: -275px;
  left: 90px;
  transform: rotate(-30deg);
}

/* ====== PHOTOGRAPHY LINES ====== */

/* ====== portraits photography line ====== */
.photo-group .sub-bubble:nth-child(2)::after {
  width: 2px;
  height: 60px;
  top: -16px;
  left: 30px;
  transform: rotate(-30deg);
}

/* ====== nature photography line ====== */
.photo-group .sub-bubble:nth-child(3)::after {
  width: 2px;
  height: 70px;
  top: 90px;
  left: -20px;
  transform: rotate(40deg);
}

/* ====== PROJECTS LINES ====== */

/* ====== poetry line ====== */
.projects-group .sub-bubble:nth-child(2)::after {
  width: 2px;
  height: 70px;
  top: 150px;
  left: 20px;
  transform: rotate(40deg);
}

/* ====== series line ====== */
.projects-group .sub-bubble:nth-child(3)::after {
  width: 2px;
  height: 70px;
  top: 250px;
  left: -37px;
  transform: rotate(-75deg);
}

/* ====== movies line ====== */
.projects-group .sub-bubble:nth-child(4)::after {
  width: 2px;
  height: 70px;
  top: 60px;
  left: -10px;
  transform: rotate(-90deg);
}

/* ====== x line ====== */
.projects-group .sub-bubble:nth-child(5)::after {
  width: 2px;
  height: 80px;
  top: -40px;
  left: 315px;
  transform: rotate(-10deg);
}

/* ====== games line ====== */
.projects-group .sub-bubble:nth-child(6)::after {
  width: 2px;
  height: 75px;
  top: -25px;
  left: 165px;
  transform: rotate(40deg);
}

/* ====== music line ====== */
.projects-group .sub-bubble:nth-child(7)::after {
  width: 2px;
  height: 80px;
  top: -60px;
  left: 50px;
  transform: rotate(-30deg);
}

/* ====== school line ====== */
.projects-group .sub-bubble:nth-child(8)::after {
  width: 2px;
  height: 80px;
  top: -70px;
  left: 90px;
  transform: rotate(5deg);
}

/* ====== VIDEO LINES ====== */

/* ====== nature line ====== */
.video-group .sub-bubble:nth-child(2)::after {
  width: 2px;
  height: 80px;
  top: 160px;
  left: 270px;
  transform: rotate(25deg);
}

/* ====== wedding line ====== */
.video-group .sub-bubble:nth-child(3)::after {
  width: 2px;
  height: 100px;
  top: -190px;
  left: 100px;
  transform: rotate(85deg);
}

/* ====== COLLECTIONS LINES ====== */

/* ====== credits line ====== */
.collections-group .sub-bubble:nth-child(2)::after {
  width: 2px;
  height: 70px;
  top: -100px;
  left: -100px;
  transform: rotate(50deg);
}

/* ====== map line ====== */
.collections-group .sub-bubble:nth-child(3)::after {
  width: 2px;
  height: 80px;
  top: -45px;
  left: 35px;
  transform: rotate(-40deg);
}

/* ====== shrine line ====== */
.collections-group .sub-bubble:nth-child(4)::after {
  width: 2px;
  height: 60px;
  top: 285px;
  left: 115px;
  transform: rotate(100deg);
}

/* ============================== */
/* TRINKETS */
/* ============================== */

.trinket {
  display: block;
  pointer-events: none;
  width: 220px;
}

.deco {
  position: absolute;
  z-index: 100;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255,0.6));
  }
  

.deco-1 {   /* DUCK GIF */
  top: 1364px;
  left: 480px;
  width: 300px;
}

.deco-2 {
  top: 90px;
  right: 8px;
  width: 100px;
  transform: rotate(-35deg);
}

.deco-3 {
  top: 1500px;
  left: 200px;
  width: 70px;
  transform: rotate(5deg);
}

/* ============================== */
/* FOOTER */
/* ============================== */

.footer {
  text-align: center;
  padding: 20px;
  color: #8b7564;
  font-size: 14px;
  letter-spacing: 2px;
  border-top: 1px dashed #c4b5a0;
  margin-top: auto;
}

/* ============================== */
/* LINKS */
/* ============================== */

a {
  color: #8b7564;
  transition: all 0.3s ease;
}

a:hover {
  color: #3a3530;
}

  
/* ============================== */
/* SPOTIFY */
/* ============================== */
  .spotify-player {
      margin: 20px 0;
      border-radius: 12px;
      overflow: hidden;
      position: relative;
      z-index: 3;
  }
  
/* ============================== */
/* SCROLLBAR */
/* ============================== */

  ::-webkit-scrollbar {
      width: 12px;
  }

  ::-webkit-scrollbar-track {
      background: #f0ead6;
  }

  ::-webkit-scrollbar-thumb {
      background: #6b8f71;
      border-radius: 5px;
  }

  ::-webkit-scrollbar-thumb:hover {
      background: #4a7050;
  }

/* ============================== */
/* MOBILE: makes it work on phones */
/* ============================== */

@media (max-width: 800px) {
  .vine { width: 80px; }
  .castle img { max-width: 95%; }
  .site-title { font-size: 18px; }
  .content { margin: 0 10px; padding: 60px 20px 30px 20px; }
  .fox { display: none; }
  .hands img { max-width: 90%; }
}

/* ============================== */
/* ANIMATIONS */
/* ============================== */

/* SWINGING STOPWATCH AND LAMPS */

@keyframes swing {
  0% { transform: rotate(2deg); }
  50% { transform: rotate(-2deg); }
  100% { transform: rotate(2deg); }
}

/* DRIFTING CLOUDS */

@keyframes drift {
  0% { opacity: 0; transform: translateX(0); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  90% { opacity: 0; }
  100% { opacity: 0; transform: translateX(300px); }
}

/* DRIFTING CLOUDS */

@keyframes breathe {
  0%, 100% { box-shadow: 0 14px 30px rgba(0,0,0,0.10); }
  50%      { box-shadow: 0 18px 40px rgba(0,0,0,0.14); }
}

