* {
    margin: 0;
padding: 0;
box-sizing: border-box;
}
@font-face {
font-family: "Keroine";
src: url("../fonts/KeroinePRO2023-IntenseLegere.otf");
}
@font-face {
font-family: "arial-narrow";
src: url("../fonts/arial-narrow.woff");
}
body {
font-family: Arial, sans-serif;
background-color: #fff1fa8d;
color: #000;
min-height: 100vh;
position: relative;
}
/* Custom Cursor */
.custom-cursor {
position: fixed;
width: 40px;
height: 40px;
border-radius: 50%;
background: radial-gradient(circle, rgba(147, 112, 219, 0.4) 0%, rgba(147, 112, 219, 0.15) 40%, transparent 70%);
pointer-events: none;
z-index: 10000;
transform: translate(-50%, -50%);
filter: blur(3px);
}
.go-back {
position: fixed;
top: 30px;
left: 30px;
z-index: 1000;
transition: transform 0.3s ease;
}
.go-back img {
width: 100px;
height: auto;
display: block;
}
.go-back:hover {
transform: scale(1.1);
}
.nav-arrow {
position: fixed;
top: 50%;
transform: translateY(-50%);
z-index: 100;
transition: transform 0.3s ease;
cursor: pointer;
}
.nav-arrow img {
width: 50px;
height: auto;
display: block;
}
.nav-arrow:hover {
transform: translateY(-50%) scale(1.5);
}
.arrow-left {
left: 30px;
}
.arrow-right {
right: 30px;
}
.content {
max-width: 900px;
margin: 0 auto;
padding: 20px 60px 60px;
margin-bottom: 0.5em;
}
h1 {
font-family: 'Keroine', sans-serif;
font-size: 1.8em;
font-weight: normal;
margin-bottom: 8px;
margin-top: 10px;
line-height: 1.2;
text-align: center;
}
h2 {
font-family: 'Keroine', sans-serif;
font-size: 0.8em;
font-weight: normal;
margin-bottom: 5px;
opacity: 0.8;
text-align:center
}
.main-image {
width: 100%;
max-width: 450px;
height: auto;
margin-bottom: 50px;
display: block;
margin: 20px auto 10px;
}
p {
font-family: 'Keroine', sans-serif;
font-size: 0.8em;
line-height: 1.8;
margin-bottom: 5px;
color: #000;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 10px;
  justify-content: center;
  overflow: visible;
}

.gallery img {
  width: calc(33.33% - 20px);
  max-width: 400px;
  height: auto;
  display: block;
}

.portrait-image {
  width: calc(33.33% - 20px) !important; /* Same as other images */
  max-width: 600px !important;
  height: auto !important;
  object-fit: contain !important;
}

.gallery-touching {
gap: 0 !important;
}
.gallery-touching img {
width: 33.33%;
max-width: none;
}

.blank-space {
  width: calc(33.33% - 20px);
  height: 0;
}

.full-width {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  flex-basis: 100% !important;
}

video.portrait-image {
  width: calc(33.33% - 20px) !important;
  max-width: 400px !important;
  height: auto !important;
  display: block;
}

/* link for toucheverythingarchivenothing*/
a {
color: #db34b4;
text-decoration: none;
}
a:hover {
color: #2fff00;
text-decoration: underline;
}

.gallery img:hover {
opacity: 0.7;
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox #lightboxImage {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #ffa3fa;
}

/* Lightbox arrow navigation */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;  /* Set specific width */
  height: 50px; /* Set specific height */
  max-width: 50px;  /* Prevent growing */
  max-height: 50px; /* Prevent growing */
  cursor: pointer;
  user-select: none;
  z-index: 10001;
  transition: transform 0.3s ease;
  opacity: 0.7;
  object-fit: contain; /* Keep aspect ratio */
}

.lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.2);
  opacity: 1;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Hide arrows when at boundaries */
.lightbox-arrow[style*="display: none"] {
  display: none !important;
}

/* Media query for mobile */
@media (max-width: 768px) {
.content {
padding: 80px 40px 60px;
    }
h1 {
font-size: 1.8em;
    }
.nav-arrow {
width: 35px;
    }
.arrow-left {
left: 10px;
    }
.arrow-right {
right: 10px;
    }
.go-back {
width: 90px;
top: 15px;
left: 15px;
    }
body {
padding: 20px;
    }
.go-back {
top: 20px;
left: 20px;
    }
.go-back img {
width: 70px;
    }
}