html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* Features */
@media (max-width: 1023px) {
  div.column {
    max-width: 90vw; /* Keeps it from ballooning instantly */
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .project {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    aspect-ratio: 16/9;
    transform: none !important;
  }
  
  .project-content {
    transform: translateY(0);
    opacity: 1;
    padding: 1rem;
  }
  
  .project-title {
    font-size: 1rem;
  }
  
  .project-desc {
    display: none;
  }
  
  .filters {
    gap: 0.5rem;
  }
  
  .filter-btn {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
  }
}

h1 {
  font-family: 'Kanit';
  color: #dd2a89;
  font-size: 4em;
  font-style: italic;
  font-weight: 800;
  line-height: 1.0;
  display: flex;
  justify-content: center;
}

h2 {
  font-family: 'Kanit';
  margin: auto;
  font-style: italic;
  text-align: center;
  font-size: 9vw;
  font-weight: 800;
  line-height: 1.2;
  color: hsl(230, 100%, 95%);
  animation: city-lights 5s 750ms linear infinite;
}

h4 {
  font-family: 'Kanit';
  color: #ffffff;
  font-size: 2em;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
}

.column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

hr {
  border: none;
  border-top: 3px solid #bbb; /* Thickness, Style, and Color */
  margin: 20px 0; /* Spacing above and below */
}

/* Mobile Popout */
.sidemenu {
  display: none;
}

.mobile-header {
  display: none;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #0b1118d3;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav_links a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 2.5rem;
  color: #dd2a89;
  display: block;
  transition: 0.3s;
  font-family: 'Kanit-BoldItalic', Impact;
}

.sidenav_icons a {
  font-size: 3rem;
  transition: 0.3s;
}

.steam, .patreon, .tumblr, .bluesky {
  color: #dd2a89;
}

.sidenav_icons li {
  padding-top: 1rem;
}

.sidenav a:hover {
  color: #ffffff;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  font-size: 4rem;
}

/* Video Player */
video {
  width: 100%;
  height: auto;
}

.vid_container {
  width: 90%;
  display: inline-block;
  margin-left: 2.5vw;
  margin-top: 7vh;
  margin-bottom: 7vh;
  padding: 5px;
  border: 2px solid purple;
  border-radius: 10px;
  box-shadow: 0 0 20px 5px rgba(128, 0, 128, 0.7);
}

/* Steam Link */
#steam_img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 7vh;
  margin-bottom: 7vh;
}

/* Copy */
.summary {
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  font-size: 2em;
  font-weight: 500;
  justify-content: center;
  margin-top: 10vh;
  margin-bottom: 8vh;
  margin-left: 5vw;
  margin-left: 2vw;
}

/* Features */
:root {
  --accent-1: #FF3366;
  --accent-2: #33CCFF;
  --accent-3: #FFCC00;
  --accent-4: #66FF99;
  --dark: #1A1A2E;
  --light: #F7F7F9;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --ink: currentColor; 
  --ink-2: #910000; 
  --ink-3: #ff4f4f;
}

.holographic-card img {
  display: block;
  height: auto;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.holographic-card ul {
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  font-size: 2em;
  font-weight: 500;
  justify-content: center;
  margin-top: 10vh;
  margin-bottom: 8vh;
  margin-left: 5vw;
  margin-left: 2vw;
}

.holographic-card:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(255, 18, 184, 0.952));
}

.holographic-card.raath-logo:hover img {
  filter: drop-shadow(0 0 20px rgba(73, 2, 2, 0.952));
}

.holographic-card:hover::before {
  transform: translateX(100%);
  opacity: 1;
}

.hex-container {
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  max-width: 1111px;
  margin: 0 auto;
  margin-top: 6vh;
  padding: 1rem;
  position: relative;
  overflow-y: hidden;
  overflow-x: hidden;
  z-index: 0;
}

.filters {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  opacity: 0.6;
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0.5rem;
}

.filter-btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transition: var(--transition);
}

.filter-btn:hover {
  opacity: 1;
}

.filter-btn:hover::after {
  width: 100%;
}

.filter-btn.active {
  opacity: 1;
}

.filter-btn.active::after {
  width: 100%;
  background-color: var(--accent-1);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.project {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  opacity: 1;
  transform: translateY(0);
  cursor: pointer;
  box-shadow: 3px 8px 12px rgba(255, 86, 170, 0.473);
}

.project.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.project-1 {
  grid-column: 1 / 9;
  grid-row: 1 / 3;
  transform: rotate(-2deg);
}

.project-2 {
  grid-column: 8 / 13;
  grid-row: 1 / 4;
  transform: rotate(2deg);
  z-index: 2;
}

.project-3 {
  grid-column: 1 / 6;
  grid-row: 3 / 6;
  transform: rotate(1deg);
}

.project-4 {
  grid-column: 5 / 13;
  grid-row: 4 / 7;
  transform: rotate(-1deg);
  z-index: 1;
}

.project-5 {
  grid-column: 1 / 8;
  grid-row: 6 / 9;
  transform: rotate(-1.5deg);
  z-index: 3;
}

.project-6 {
  grid-column: 7 / 13;
  grid-row: 6 / 10;
  transform: rotate(1.5deg);
}

.project-7 {
  grid-column: 1 / 13;
  grid-row: 9 / 10;
  transform: rotate(1.5deg);
}

.project-8 {
  grid-column: 5 / 13;
  grid-row: 10 / 10;
  transform: rotate(1.5deg);
}

.project:hover {
  transform: scale(1.02) rotate(0);
  z-index: 10;
  box-shadow: 0 12px 32px rgba(52, 174, 255, 0.267);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project:hover .project-img {
  transform: scale(1.05);
}

.project-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 50%,
    rgba(0, 0, 0, 0.8) 70%,
    rgba(0, 0, 0, 0.0) 100%
  );
  color: white;
  transform: translateY(30%);
  opacity: 0;
  transition: var(--transition);
}

.project:hover .project-content {
  transform: translateY(0);
  opacity: 1;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #fff, var(--accent-4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.project-category {
  font-weight: 600;
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.project-desc {
  max-width: 90%;
  opacity: 0.9;
}

.digital .project-category {
  background-color: var(--accent-1);
  color: white;
}

.branding .project-category {
  background-color: var(--accent-2);
  color: var(--dark);
}

.print .project-category {
  background-color: var(--accent-3);
  color: var(--dark);
}

.motion .project-category {
  background-color: var(--accent-4);
  color: var(--dark);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 6px;
  background: var(--accent-1);
  bottom: -10px;
  left: 0;
  border-radius: 3px;
}

/* Testimonial Cards */
.testimonial-section {
  text-align: center;
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.testimonial-card {
  background: linear-gradient(90deg, #080a0c 0%, #2d3036 100%);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(214, 214, 214, 0.589);
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-text {
  font-style: bold;
  margin-bottom: 20px;
  color: white;
  font-family:Arial, Helvetica, sans-serif;
}

.testimonial-source {
  font-weight: bold;
  color: #ffffff;
  margin-top: auto;
}

/* Store Gallery */
#mz-gallery-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

#mz-gallery {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: calc(100% - 70px);
  height: calc(100% - 50px);
  max-height: 670px;
  max-width: 1900px;
  margin: 35px 0px;
  background-image: radial-gradient(#dd2a89 1px, rgba(0, 0, 0, 0.014) 1px);
  background-size: 40px 40px;
  border: 1px dotted rgb(188, 11, 112);
  outline: 1px dotted rgb(188, 11, 112);
  outline-offset: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 0 0 55px;
  scroll-behavior: smooth;
  /* firefox scrollbar */
  scrollbar-color: #bc0b70 #700743;
  scrollbar-width: auto;
  animation: background 300s linear infinite;
  font-family: 'Kanit-BoldItalic', Impact;
}

#mz-gallery::-webkit-scrollbar {
  height: 25px;
}

#mz-gallery::-webkit-scrollbar-track {
  background: transparent;
}

#mz-gallery::-webkit-scrollbar-thumb {
  background: #666;
}

#mz-gallery::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#mz-gallery::-webkit-scrollbar-thumb:active {
  background: #444;
}

#mz-gallery::-webkit-scrollbar-button:single-button:horizontal:decrement {
  height: 25px;
  width: 80px;
  background-color: #700743;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-box-arrow-left' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6 12.5a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5v2a.5.5 0 0 1-1 0v-2A1.5 1.5 0 0 1 6.5 2h8A1.5 1.5 0 0 1 16 3.5v9a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 5 12.5v-2a.5.5 0 0 1 1 0v2z'/%3E%3Cpath fill-rule='evenodd' d='M.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L1.707 7.5H10.5a.5.5 0 0 1 0 1H1.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z'/%3E%3C/svg%3E");
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
}

#mz-gallery::-webkit-scrollbar-button:single-button:horizontal:increment {
  height: 25px;
  width: 80px;
  background-color: #700743;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-box-arrow-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0v2z'/%3E%3Cpath fill-rule='evenodd' d='M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z'/%3E%3C/svg%3E");
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
}

#mz-gallery::-webkit-scrollbar-button:single-button:horizontal:decrement:hover,
#mz-gallery::-webkit-scrollbar-button:single-button:horizontal:increment:hover {
  background-color: #bc0b70
}

#mz-gallery::-webkit-scrollbar-button:single-button:horizontal:decrement:active,
#mz-gallery::-webkit-scrollbar-button:single-button:horizontal:increment:active {
  background-color: #bc0b70
}

#mz-gallery figure {
  position: relative;
  margin: unset;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 80%;
  width: auto;
  min-height: 100px;
  margin-right: 60px;
  scroll-snap-align: start;
  transition: all 0.3s ease-in-out;
}

#mz-gallery figure:nth-child(1) {
  margin-left: 60px;
}

#mz-gallery figure div {
  position: absolute;
  width: 1%;
  height: 1%;
  background: transparent;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

#mz-gallery figure div:nth-child(3) {
  top: 0;
  left: 0;
  border-left: 1px dotted #700743;
  border-top: 1px solid #700743;
  border-radius: 15px 0px 0px 0px;
}

#mz-gallery figure div:nth-child(4) {
  top: 0;
  right: 0;
  border-top: 1px solid #dd2a89;
  border-right: 1px solid #dd2a89;
  border-radius: 0px 15px 0px 0px;
}

#mz-gallery figure div:nth-child(5) {
  bottom: 0;
  right: 0;
  border-right: 1px dotted #700743;
  border-bottom: 1px solid #700743;
  border-radius: 0px 0px 15px 0px;
}

#mz-gallery figure div:nth-child(6) {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #dd2a89;
  border-left: 1px solid #dd2a89;
  border-radius: 0px 0px 0px 15px;
}

#mz-gallery figure img {
  height: 100%;
  width: auto;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px,
    rgba(0, 0, 0, 0.22) 0px 10px 10px;
  border-radius: 5px;
  opacity: 0.9;
  filter: brightness(1);
  outline: 1px solid transparent;
  outline-offset: -40px;
  transition: all 0.3s ease-in-out;
}

#mz-gallery figure figcaption {
  position: absolute;
  color: transparent;
  font-size: 18pt;
  line-height: 24pt;
  font-weight: 500;
  padding: 0px 20px;
  text-align: center;
  width: 80%;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    rgb(188, 11, 112) 1px,
    rgba(0, 0, 0, 0.9) 1px
  );
  outline: 2px dotted transparent;
  outline-offset: 0px;
  background-size: 40px 40px;
  opacity: 0;
  border-radius: 100%;
  pointer-events: none;
  animation: background 100s linear infinite;
  transition: all 0.3s ease-in-out;
}

#mz-gallery figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#mz-gallery figure a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
#mz-gallery figure a img {
  height: 100%;
  width: auto;
  display: block;
}

#mz-gallery figure:hover img, #mz-gallery figure:hover a img {
  height: calc(100% - 40px);
  filter: brightness(1.5);
  border-radius: 10px;
  outline: 1px solid rgba(255, 46, 138, 0.8);
  outline-offset: 5px;
  transition: all 0.3s ease-in-out;
}

#mz-gallery figure:hover {
  padding: 0px 20px;
}

#mz-gallery figure:hover figcaption {
  opacity: 0.8;
  color: white;
  outline: 1px solid 700743;
  outline-offset: -20px;
  text-shadow: 1px 1px 3px black, 0px 0px 5px black;
  transition: all 0.3s ease-in-out;
}

#mz-gallery figure:hover div {
  width: 25%;
  height: 25%;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

div.gallery img {
  width: 100%;
  height: auto;
  padding-right: 10px;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  margin-left:5dvw;
  margin-top: 3dvh;
  gap: 12px;
  justify-content: center;
}

div.desc {
  padding: 15px;
  text-align: center;
}

.caption-display {
  margin: 16px auto 0 auto;
  padding: 10px;
  min-height: 50px;
  text-align: center;
  max-width: 1000px;
  width: 100%;
  box-sizing: border-box;
}

.responsive {
  flex: 1 1 24%;
  max-width: 24%;
  padding: 6px;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.container_hover {
  position: relative;
  width: 100%;
  padding-top: 177%;
  transform: rotate(-30deg) skew(25deg) scale(0.8);
  transition: 0.5s;
}

.container_hover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: 0.5s;
}

.container_hover:hover img:nth-child(4) {
  transform: translate(160px, -160px);
  opacity: 1;
}
.container_hover:hover img:nth-child(3) {
  transform: translate(120px, -120px);
  opacity: 0.8;
}
.container_hover:hover img:nth-child(2) {
  transform: translate(80px, -80px);
  opacity: 0.6;
}
.container_hover:hover img:nth-child(1) {
  transform: translate(40px, -40px);
  opacity: 0.4;
}

.container_hover:hover {
  z-index: 10;
}

#dynamic-caption {
  font-family: 'Kanit-BoldItalic', Impact;
  color: #dd2a89;
  font-size: 2em;
  font-weight: 500;
  justify-content: center;
  margin-top: 1dvh;
  margin-bottom: 20vh;
  margin-left: 5vw;
  margin-left: 2vw;
}

div.page_links a {
  color: #ffffff;
}

div.page_links a:hover {
  color: #ffbc5e;
}

div#betas {
  padding-top: 10dvh;
}

div#starsigns {
  padding-top: 10dvh;
}

div#library {
  padding-top: 10dvh;
}

div#fanart {
  padding-top: 10dvh;
}

div.f-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 3dvh;
}

div.f-gallery-item {
  border: 1px solid rgba(121, 4, 72, 0.459);
  margin: 5px;
  width: 215px;
}

div.f-gallery-item:hover {
  border: 1px solid #777;
}

div.f-gallery-item img {
  width: 100%;
  height: auto;
}

div.desc a {
  color: #fff;
}

div.f-gallery-item div.desc {
  padding: 15px;
  text-align: center;
  font-family: 'Kanit-BoldItalic', Impact;
  color: #dd2a89;
}

.f-gallery img {
  transition: filter .3s ease-in-out;
  filter: grayscale(100%);
}

.f-gallery img:hover {
  filter: none;
}

.page_links {
  font-family: 'Kanit-BoldItalic', Impact;
  color: #dd2a89;
  font-size: 1.5em;
  font-weight: 500;
  text-align: center;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 20px;
  border: none;
  outline: none;
  background-color: rgb(112, 6, 67);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 15px;
}

#myBtn:hover {
  background-color: #555;
}

div.star-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 5dvh;
}

div.star-gallery-item {
  margin: 10px;
  width: 180px;
  
}

div.star-gallery-item img {
  width: 100%;
  height: auto;
  cursor: pointer;
}

div.star-gallery-item div.desc {
  padding: 15px;
  text-align: center;
}

.star-gallery-item img {
  display: block;
  height: auto;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.star-gallery-item:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(255, 18, 184, 0.952));
}

.star-gallery-item:hover::before {
  transform: translateX(100%);
  opacity: 1;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

div.modal-box h3 {
  font-family: 'Kanit-BoldItalic', Impact;
  color: #dd2a89;
  font-size: 3em;;
}

/* Centered popup box */
.modal-box {
  position: absolute;
  font-family: Arial, Helvetica, sans-serif;
  top: 50%;
  left: 50dvw;
  height: 75dvh;
  overflow: auto;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at bottom, navy 0, black 100%);
  color: white;
  padding: 20px;
  border-radius: 8px;
  min-width: 50dvw;
  max-width: 80%;
}

.space {
  background: rgba(128, 0, 128, 0.1) center / 200px 200px round;
  border: 1px dashed purple;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.stars1 {
  animation: space 180s ease-in-out infinite;
  background-image:
    radial-gradient(
      1px 1px at 25px 5px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      1px 1px at 50px 25px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      1px 1px at 125px 20px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      1.5px 1.5px at 50px 75px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      2px 2px at 15px 125px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      2.5px 2.5px at 110px 80px, 
      white, 
      rgba(255, 255, 255, 0)
    );
}

.stars2 {
  animation: space 240s ease-in-out infinite;
  background-image:
    radial-gradient(
      1px 1px at 75px 125px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      1px 1px at 100px 75px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      1.5px 1.5px at 199px 100px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      2px 2px at 20px 50px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      2.5px 2.5px at 100px 5px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      2.5px 2.5px at 5px 5px, 
      white, 
      rgba(255, 255, 255, 0)
    );
}

.stars3 {
  animation: space 300s ease-in-out infinite;
  background-image:
    radial-gradient(
      1px 1px at 10px 10px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      1px 1px at 150px 150px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      1.5px 1.5px at 60px 170px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      1.5px 1.5px at 175px 180px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      2px 2px at 195px 95px, 
      white, 
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      2.5px 2.5px at 95px 145px, 
      white, 
      rgba(255, 255, 255, 0)
    );
}

span.close {
  z-index: 99;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

div.modal-box h4 {
  margin-top: -1.75em;
}

/* Example table styling */
.modal-box table {
  width: 100%;
  border-collapse: collapse;
}
.modal-box th, .modal-box td {
  border: 1px solid white;
  padding: 8px;
  text-align: center;
}

div.lib-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 3dvh;
}

div.lib-gallery-item {
  margin: 5px;
  width: 45dvw;
}

div.lib-gallery-item img {
  width: 100%;
  height: auto;
}

div.lib-gallery-item_head {
  margin: 5px;
  width: 45dvw;
}

div.lib-gallery-item_head img {
  width: 100%;
  height: auto;
}

.lib-gallery-item img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(255, 18, 184, 0.952));
  transition: all 0.3s ease; /* Added for a smooth effect! */
}

.lib-gallery-item:hover::before {
  transform: translateX(100%);
  opacity: 1;
}

div#betas p {
  color: #fff;
  font-size: 2dvw;
  font-family: Arial, Helvetica, sans-serif
}

div#betas ul li {
  color: #fff;
  font-size: 2dvw;
  font-family: Arial, Helvetica, sans-serif
}

div.ws-guide {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 3dvh;
}

div.ws-guide-item {
  margin: 5px;
  width: 45dvw;
}

div.ws-guide-item img {
  width: 100%;
  height: auto;
}

div.ws-guide-item_head {
  margin: 5px;
  width: 45dvw;
}

div.ws-guide-item_head img {
  width: 100%;
  height: auto;
}

code {
  background-color: #312c2d;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  white-space: pre-wrap; 
  word-break: normal;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box; 
}

div.ws-guide-item.smaller-size {
  width: 75%;
  height: auto;
}

/* general styling */
.footer {
margin-top: auto;
padding: 1rem;
text-align: center;
font-size: 0.8rem;
opacity: 0.7;
background: rgba(0,0,0,0.4);
}

/* Large Screens */
@media (min-width: 1024px) {
  body {
    background-image: url('/static/images/bg.webp');
    background-repeat: no-repeat, no-repeat;
    background-position: left top;
    background-size: cover, cover;
  }

  h2 {
  font-size: 9vh;
  }
  
  .top-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 65%;
    height: 135px;
    background-image: url('/static/images/bg.webp');
    z-index: 1;
  }

  div.container {
    margin-top: 20px;
    padding-top: 80px;
    box-sizing: border-box;
  }

  img#mobile_header {
    display: none;
  }
  
  #lg-socials-ul {
    position: fixed;
    z-index: 2;
  }

  div.column {
    height: 95%;
    display: block;
    margin-left: 5%;
    max-width: 60vw;
  }

  div.column_navbuttons {
    position: fixed;
    margin-top:12rem;
  }

  .scrollbox {
    margin-top: 20px;
    width: 100%;
  }

  #mz-gallery-container {
    height: 50vh;
  }

  .hex-containerM {
      display: none;
  }

  .Mgallery {
    display:none;
  }

  .footer > p{
    text-align: center;
  }

  @media (max-width: 1145px) {
    #mz-gallery figure {
      scroll-snap-align: center;
    }
    #mz-gallery {
      scroll-padding: 0px 0px 0px 0px !important;
    }
  }
}

/* Small Screens */
@media (max-width: 1023px) {

  div#socials {
    display: none;
  }

  div.column_navbuttons {
    display: none;
  }

  .sidemenu {
    display: block;
  }

  .navbar_wrapper {
    position: fixed;
    width: 100%;
  }

  img#mobile_header {
    height: auto;
  }

  .mobile-header {
    float:none;
    display: flex;
    align-items: left;
    animation: fadeInlogo ease 5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }

  .heading2{
    float: none;
    display: flex;
    align-items: center;
  }

  .active {
    background: #952963;
    background: linear-gradient(-90deg,rgba(149, 41, 99, 1) 0%, rgba(64, 38, 69, 1) 50%, rgba(23, 38, 53, 1) 100%);
    color: #e0bd24;
    padding: 0px;
  }
  
  .scrollbox {
    padding: 2rem;
    margin-top: 20px;
    width: 100%;
    scroll-padding-top: 60px;
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    margin: 0; 
    }

  .project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 50%,
      rgba(0, 0, 0, 0.8) 70%,
      rgba(0, 0, 0, 0.0) 100%
    );
    color: white;
    transform: translateY(0); 
    opacity: 1;             
  }
  
  @media (max-width: 1000px) {
    .responsive {
      flex: 1 1 48%;
      max-width: 48%;
    }
  }

  @media (max-width: 700px) {
    .responsive {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }

  @media (max-width: 1023px) {
    #mz-gallery {
      flex-direction: column;
      overflow-y: auto;
      overflow-x: hidden;
      scroll-snap-type: y mandatory; 
      max-height: none;  
      height: auto;
    }

    div#mz-gallery-container {
      min-height: 100dvh;
    }

    #mz-gallery figure {
      margin: 20px 0;  
      width: 100%;     
      height: auto;    
    }

    #mz-gallery figure img {
      width: 100%;
      height: auto;
    }
  }

  @media (max-height: 165px) {
    #mz-gallery {
      scroll-padding: 0 0 0 18px;
      margin: 0px;
    }
    #mz-gallery figure {
      margin-right: 20px;
    }
    #mz-gallery figure:nth-child(1) {
      margin-left: 20px;
    }
  }

  @media (max-width: 610px) {
  #mz-gallery {
    max-height: 320px;
  }
  #mz-gallery figure {
    margin-right: 20px;
  }
  #mz-gallery figure:nth-child(1) {
    margin-left: 20px;
  }
}

@media (max-height: 425px) {
  #mz-gallery figure figcaption {
    font-size: 14pt;
    line-height: 20pt;
  }
}

@media (max-height: 340px) {
  #mz-gallery {
    background-size: 30px 30px;
    scroll-padding: 0 0 0 28px;
  }
  #mz-gallery figure {
    margin-right: 30px;
  }
  #mz-gallery figure:nth-child(1) {
    margin-left: 30px;
  }
  #mz-gallery figure figcaption {
    font-size: 12pt;
    line-height: 18pt;
    font-weight: 400;
    background-size: 30px 30px;
  }
}

  @media (max-height: 280px) {
    #mz-gallery::-webkit-scrollbar {
      height: 20px;
    }
    #mz-gallery::-webkit-scrollbar-button:single-button:horizontal:decrement,
    #mz-gallery::-webkit-scrollbar-button:single-button:horizontal:increment {
      width: 80px;
      height: 20px;
      background-size: 15px;
    }
  }

  @media (max-height: 230px) {
    #mz-gallery figure figcaption {
      font-size: 10pt;
      line-height: 12pt;
    }
    #mz-gallery figure:hover figcaption {
      outline-offset: -10px;
    }
    #mz-gallery figure:hover img {
      outline-offset: 10px;
    }
  }

  span.sidemenu {
    background: linear-gradient(135deg, #ffffff, #5E5E5E, #ffffff);
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: shimmer 5s linear infinite;
  }

  .gallery-container {
    display: none;
  }

  div.Mgallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  div.Mgallery-item {
    margin: 55px;
    width: 180px;
    
  }

  div.Mgallery-item img {
    width: 100%;
    height: auto;
  }

  div.Mgallery-item div.desc {
    padding: 15px;
    text-align: center;
  }
}

  @keyframes city-lights {
  0% {
    color: hsl(230, 40%, 80%);
    text-shadow:
      0 0 1em hsla(320, 100%, 50%, 0.2),
      0 0 0.125em hsla(320, 100%, 60%, 0.3),
      -1em -0.125em 0.5em hsla(40, 100%, 60%, 0),
      1em 0.125em 0.5em hsla(200, 100%, 60%, 0);
  }
  
  30% { 
    color: hsl(230, 80%, 90%);
    text-shadow:
      0 0 1em hsla(320, 100%, 50%, 0.5),
      0 0 0.125em hsla(320, 100%, 60%, 0.5),
      -0.5em -0.125em 0.25em hsla(40, 100%, 60%, 0.2),
      0.5em 0.125em 0.25em hsla(200, 100%, 60%, 0.4);
  }
  
  40% { 
    color: hsl(230, 100%, 95%);
    text-shadow:
      0 0 1em hsla(320, 100%, 50%, 0.5),
      0 0 0.125em hsla(320, 100%, 90%, 0.5),
      -0.25em -0.125em 0.125em hsla(40, 100%, 60%, 0.2),
      0.25em 0.125em 0.125em hsla(200, 100%, 60%, 0.4);
  }
  
  70% {
    color: hsl(230, 80%, 90%);
    text-shadow:
      0 0 1em hsla(320, 100%, 50%, 0.5),
      0 0 0.125em hsla(320, 100%, 60%, 0.5),
      0.5em -0.125em 0.25em hsla(40, 100%, 60%, 0.2),
      -0.5em 0.125em 0.25em hsla(200, 100%, 60%, 0.4);
  }
  
  100% {
    color: hsl(230, 40%, 80%);
    text-shadow:
      0 0 1em hsla(320, 100%, 50%, 0.2),
      0 0 0.125em hsla(320, 100%, 60%, 0.3),
      1em -0.125em 0.5em hsla(40, 100%, 60%, 0),
      -1em 0.125em 0.5em hsla(200, 100%, 60%, 0);
  }  
}

@keyframes shimmer {
  0%{
    background-position: 200% 0;
  }
  100%{
    background-position: -200% 0;
  }
}

@keyframes background {
  0% {
    background-position: -300% 100%;
  }
  100% {
    background-position: 100% -300%;
  }
}

@keyframes space {
  40% {
    opacity: 0.75;
  }
  50% {
    opacity: 0.25;
  }
  60% {
    opacity: 0.75;
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes zoom {
  from {transform: scale(0.5)} 
  to {transform: scale(1)}
}

@media (pointer: coarse) {
  #mz-gallery * {
    pointer-events: none;
  }
  #mz-gallery::-webkit-scrollbar {
    height: 35px;
  }
  #mz-gallery {
    scroll-snap-type: unset;
    scroll-padding: unset;
    scroll-behavior: unset;
  }
  #mz-gallery figure {
    scroll-snap-align: unset;
  }
  #mz-gallery figure figcaption {
    width: 100%;
    height: 30%;
    bottom: 0;
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    animation: unset;
    border-radius: 0;
    padding: 0px 15px;
    border-top: 1px solid #700743;
  }
}

.workshop ul li {
  margin-bottom: 24px; /* Adjust this value for desired spacing */
}

.workshop ul li:last-child {
  margin-bottom: 15px; /* Prevents unwanted extra space at the bottom of the list */
}

.raath_header {
  display: grid;
  place-items:center;
}

.fx-eclipse {
  position: relative;
  margin: auto;
  display: inline-block;
  text-align: center;
  font-size: 13vw;
  letter-spacing: .2em;
  font-family: "Metal Mania", system-ui;
  background: #5f0707;
  background: linear-gradient(to top, #b10404 0%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Genuine Outer Glow that renders underneath the transparent text fill mask */
  filter: drop-shadow(0 0 10px rgba(255, 68, 68, 0.55)) 
          drop-shadow(0 0 25px rgba(177, 4, 4, 0.3));
}

.fx-eclipse h4 {
  position: relative;
  margin: 0;
  letter-spacing: .14em;
  color: var(--ink);
  text-shadow:
    0 0 10px color-mix(in srgb, var(--ink-2) 70%, transparent),
    0 0 26px color-mix(in srgb, var(--ink-2) 40%, transparent);
  animation: fx-eclipse-dim 5s cubic-bezier(0.4, 0.0, 0.6, 1.0) infinite alternate;
}

.fx-eclipse::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.5em;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  
  /* solid dark red circle with black eclipse on it */
  background: radial-gradient(
    circle at 85% 50%,             /* Shifts center of black */
    #000000 0%,                    /* Core of black */
    #000000 64%,                   /* edge of black  */
    #5f0707 65%,                   /* snap to dark red */
    #5f0707 100%                   /* Dark red remaining shape */
  );

  box-shadow: 0 0 80px 8px color-mix(in srgb, var(--ink-2) 85%, transparent);
  
  transform: translateY(-50%);
  z-index: 2;
  animation: fx-eclipse 5s ease-in-out infinite alternate;
}

@keyframes fx-eclipse {
  0%   { left: -1.0em; }
  50%  { left: calc(50% - .65em); }
  100% { left: calc(100% - .5em); }
}

@keyframes fx-eclipse-dim {
  0%, 28%, 72%, 100% { filter: brightness(1); }
  50%                { filter: brightness(.4); }
}


/* Colour tokens — override to re-skin the effect:
    --ink    main text colour (defaults to currentColor)
   --ink-2  primary accent   --ink-3  secondary accent */
:root { --hilite: currentColor; --hilite-2: #ff0062; --hilite-3: #4FF8FF; }

.fx-marker {
  letter-spacing: .08em;
  color: var(--hilite);
  padding: .1em .2em;
  background: linear-gradient(100deg,
      color-mix(in srgb, var(--hilite-2) 85%, transparent),
      color-mix(in srgb, var(--hilite-2) 60%, transparent)
    ) no-repeat 0 62%;
  background-size: 0% 46%;
  animation: fx-marker 3s ease-in-out infinite;
  position: relative;
  top: -6px;
}

@keyframes fx-marker {
  0%        { background-size: 0% 46%;   background-position: 0 62%; }
  38%, 62%  { background-size: 100% 46%; background-position: 0 62%; }
  100%      { background-size: 0% 46%;   background-position: 100% 62%; }
}

.logo-stack {
  display: grid;
  width: 90%;
  margin: 0 auto;
}

.layer {
  grid-area: 1 / 1; 
  width: 90%;
  height: auto;
  opacity: 0;
  animation: fadeIn 0.8s ease-in forwards;
}

.emblem {
  animation-delay: 0.3s;
}
.text {
  animation-delay: 0.7s;
}
.subtitle {
  animation-delay: 0.10s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.merch-header {
  font-size: 3vw
}

@media (max-width: 1010px) {
  .merch-header {
    font-size: 5vw
  }
}

@media (max-width: 682px) {
  .merch-header {
    font-size: 4vw
  }
}