
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.video-background {
  position: fixed;    
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;        
  overflow: hidden;
  pointer-events: none; 
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 60%;
  filter: blur(6px);
}


.content-overlay {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: white;
  text-align: center;
  padding: 20px;
}


body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: black;
  color: #333;
  min-height: 100vh;
  transition: background-color 0.7s ease-in-out;
}

header {
  background: rgba(0, 30, 70, 0);
  color: #fff;
  padding: 20px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95vw;
  max-width: 1300px;
  margin: 0 auto;
}

.gallery-grid h3{
    text-align: left;
}

header h1 {
  margin-top: 70px;

}

header span {
  font-size: 120px;
  max-width: 100px;
  text-shadow: -0.08em 0.04em 0.08em rgba(0, 0, 0, 0.5);
}

header span:not(:first-child) {
  margin-left: -15px;
}

nav {
  align-self: stretch;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 40px;
  margin-top: 100px;
  max-width: 400px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

nav:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}
i{
    transition: transform 0.3s ease, box-shadow 0.2s ease;
}
i:hover {
  transform: scale(1.25);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}


.titleDiv {
  position: relative;
  margin-top: -60px;
  max-height: 150px;

}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: auto;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

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

main {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.hero {
  background: #eee;
  padding: 40px;
  text-align: center;
  margin-bottom: 20px;
}

.content {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer {

  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

.header-flex {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.header-image {
  width: 40%;
  max-width: 400px;
  min-width: 100px;
  height: auto;
  align-self: flex-start;
}


@media (max-width: 1100px) {
  .header-flex {
    justify-content: center;
  }

  .spline-container {
    margin: 0 auto;
  }
}

.titledivcontainer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: -40px;
}

.spline-container {
  opacity: 0;
  margin-top: 20px;
  margin-right: 20px;
  width: 400px;
  height: 400px;
  overflow: hidden;
  flex-shrink: 0;
  z-index: -2;
  
}

spline-viewer {
  width: 600px !important;
  height: 600px !important;
  display: block;
  transform-origin: top left;
  
  transform: scale(1) translate(-530px, -580px);

}
H3{
    font-size: 15px;
    font-weight: 500;
}
.description {
  width: 55%;
  margin-left: 20px;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 100px;
}

#webContent .description {
  width: 95%;
}

.description-image {
  width: 40%;      /* image takes 40% */
  height: 200px;   
  object-fit: cover;
  object-position: center;
  margin-left: 20px; /* spacing from text */
  /* remove float */
  float: none;
}
.hidden {
  display: none;
}

.visible {
  display: block;
}

#musicContent h1, #webContent h1{
    color: white;
    text-align: center;
    font-size:80px;
}

#musicContent, #webContent {
  background: rgba(255, 255, 255, 0.3);
  margin: 20px auto;
  max-width: 1100px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0.5, 0.5, 0.5, 0.5);
  color: #333;
}
#musicContent {
  transition: transform 0.3s ease;
}

h2 {
  color: #001e46;
  text-align: center;
}

#musicContent {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease;
}

#musicContent.visible {
  max-height: 3500px; /* Set high enough for your content */
  opacity: 1;
}

@media (max-width: 1100px) {
  .header-flex {
    justify-content: center;
  }

  .spline-container {
    margin: auto;
  }

  spline-viewer {
    display: block; /* Ensure it's displayed */
    margin: auto;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.spline-container {
  animation-name: fadeIn;
  animation-duration: 2s;
  animation-delay: 0.7s;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}

.grid-wrapper2 {
  display: flex;
  align-items: center; /* vertical align */
  justify-content: space-between; /* spread items */
  padding: 60px 30px;
  background-color: #ffffffee;
  margin-bottom: 20px;
  border-radius: 0;
  max-width: 1200px; /* optional */
  margin-left: auto;
  margin-right: auto;
}

.grid-wrapper{
    border-radius: 0px;
    padding: 60px 30px;
    background-color: #ffffffee;
    margin-bottom:20px;

}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  grid-gap: 24px; /* space between cards */
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.gallery-grid > div {
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 16px;
  text-align: center;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  margin-bottom: 12px;
}









#webContent .gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 3 columns */
  grid-gap: 24px; /* space between cards */
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

#webContent .gallery-grid > div {
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 16px;
  text-align: center;
}

#webContent .gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  margin-bottom: 12px;
}







.ProjectTitle {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 8px 0 4px;
}

.UiArtDrection {
  font-size: 0.9rem;
  color: #666;
}

.ProjectTitle-codigma-project-title, .band-name{
    text-align: left;
}

.music-card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

a {
  color: inherit;       
  text-decoration: none; 
}

.video-container {
  width: 100%;
  max-width: 1000px;
  margin: auto; /* centers the video container */
  text-align: center;
  padding-top: 30px;
}

.video-title {
  font-size: 20px;
  margin-bottom: 10px;
}









