
/* webpage base */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=BBH+Sans+Hegarty&family=Space+Grotesk:wght@300..700&display=swap');

html {
  scroll-behavior: smooth;
}

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


body, html {
  height: 100vh;
  overflow-y: hidden; /* no vertical scroll */
  overflow-x: auto;   /* horizontal scroll */
  white-space: nowrap; /* force horizontal stacking */
}

section {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  font-size: 1.3rem;
  color: white;
}

section:not(:first-child) {
  margin-left: -1.0vw;
}

.section-title {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'BBH Sans Hegarty', sans-serif;
  font-size: 1.3rem;
  color: white;
  letter-spacing: 0.1em;
  z-index: 20;
}

.one, 
.eleven {
  width: 100vw;   /* each section full screen width */
  height: 710px;
  background: url("Metal_Background_03.png") no-repeat center center;
  background-size: cover;
}

.two,
.three,
.four,
.five,
.six,
.seven,
.eight,
.nine,
.ten {
  width: 1400px;  /* fixed width */
  height: 710px;  /* fixed height */
  background: url("Metal_Background_03.png") no-repeat top left;
  background-size: cover;  /* or specific px value */
  flex-shrink: 0;  /* important if inside flex container */
}

h1, h2, h3 {
  font-family: "BBH Sans Hegarty", sans-serif;
}

p, li, span {
  font-family: "Space Grotesk", sans-serif;
}

/* home page */

.world {
  position: relative;
  display: flex;
  width: 480vw;
  height: 100vh;
  overflow: visible;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.logo-gif {
  height: 50%;
  width: auto;
  max-width: 500px;
}

.scroll-right-sign {
  position: absolute;
  top: 55%;
  right: 5%;
  width: 50px;
  opacity: 0;
  animation: fade-slide-in 2s ease-out 7s forwards;
}

.display-container-ss {
  position: relative;
  width: 70%;
  height: 1600vh;
  margin: 0 auto;
  top: 5%;
}

.spaceshift-prev, 
.display-window {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.spaceshift-prev {
  z-index: 10;
}

.display-window {
  z-index: 11;
}

.portfolio-container {
  position: relative;
  width: 70%;
  height: 1600vh;
  margin: 0 auto;
  top: 5%;
}

.portfolio-prev {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 10;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 100%;
}
    
.instagram, 
.email,
.links {
  width: 7%;
  height: auto;
  margin: 10px;
  object-fit: contain;
}

.about-me-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  top: 5%;
}

.about-author, 
.brand-manifesto {
  position: absolute;
  top: 15px;
  width: 40%;
  /* font-family: "agee";
  font-size: 1.7rem;
  line-height: 1.2;
  filter: invert(1) brightness(2); */
}

.about-author {
  left: 10%;
  text-align: left;
  z-index: 12;
}

.brand-manifesto {
  right: 13%;
  text-align: left;
  z-index: 13;
}

.walking-boy {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 120px;
  z-index: 22;
  animation: walkThrough 200s linear infinite;
  pointer-events: none;
}

@keyframes fade-slide-in {
  from {
    opacity: 0;
    transform: translateX(0px);
  }
  to {
    opacity: 1;
    transform: translateX(30px);
  }
}

@keyframes walkThrough {
  0% {
    left: 0;
    transform: scaleX(1);
  }
  49% {
    left: var(--path-width); 
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(-1);
  }
  99% {
    left: 0;
    transform: scaleX(-1);
  }
  100% {
    transform: scaleX(1);
  }
}

@font-face {
  font-family: "agee";
  src: url("Font-agee/agee-Regular-SVG.ttf") format("truetype"); 
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "agee";
  src: url("Font-agee/agee-Italic-SVG.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "agee";
  src: url("Font-agee/agee-bold-SVG.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}




/* spaceshift020 page */

.spaceshift-intro-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.studio-logo-link a {
  position: relative;
  top: 50%;
  display: flex;
  height: 10%;
  width: auto;
  cursor: pointer;
}

.spaceshift020-logo {
  position: absolute;
  height: 16%;
  width: auto;
  top: 55%;
  opacity: 1;
  animation: blinkAndFadeIn 10s ease;
  transform: translate(-50%, -50%);
  transition: opacity 1.2s ease;
  /* z-index: 2; */
}

/* --- Studio Logo (hidden at first) --- */
.studio-logo-still {
  position: absolute;
  height: 50%;
  width: auto;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 1.2s ease;
  /* z-index: 1; */
  pointer-events: none;
}

/* when hovering on SpaceShift020 logo, show studio logo */
.studio-logo-link:hover .spaceshift020-logo {
  opacity: 0;
}

/* optional: add a subtle fade on hover */
.studio-logo-link:hover .studio-logo-still {
  opacity: 1; 
  pointer-events: auto;
}

.ss-product-video {
  position: relative;
  width: 70%;
  height: 1600vh;
  margin: 0 auto;
  top: 5%;
}

.spaceshift-video, 
.display-window-ss-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.spaceshift-video {
  z-index: 10;
}

.display-window-ss-video {
  z-index: 11;
  pointer-events: none;
}

.ss-productbg-container {
  position: relative;
  width: 70%;
  height: 1600vh;
  margin: 0 auto;
  top: 5%;
}

.ssproductbg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 10;
}

.ss-product-des-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  top: 5%;
}

.ss-product-bg, 
.ss-product-info {
  position: absolute;
  top: 15px;
  width: 40%;
  /* font-family: "Space Grotesk", sans-serif;
  font-size: 1.0rem;
  line-height: 1.2;
  filter: invert(1) brightness(2);
  color: white; */
}

.ss-product-bg {
  left: 10%;
  text-align: left;
  z-index: 12;
}

.ss-product-info {
  /* color: black; */
  right: 10%;
  text-align: left;
  z-index: 13;
}

.ss-features-container {
  position: relative;
  width: 70%;
  height: 1600vh;
  margin: 0 auto;
  top: 5%;
}

.ss-product-features {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 10;
}

.ss-instruc-container-01 {
  position: relative;
  width: 70%;
  height: 1600vh;
  margin: 0 auto;
  top: 5%;
}

.ss-product-instruc-01 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 10;
}

.ss-instruc-container-02 {
  position: relative;
  width: 70%;
  height: 1600vh;
  margin: 0 auto;
  top: 5%;
}

.ss-product-instruc-02 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 10;
}

.ss-history-container {
  position: relative;
  width: 70%;
  height: 1600vh;
  margin: 0 auto;
  top: 5%;
}

.ss-history {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 10;
}

.ss-now-container {
  position: relative;
  width: 70%;
  height: 1600vh;
  margin: 0 auto;
  top: 5%;
}

.ss-now {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 10;
}

.ss-thesis {
  position: relative;
  width: 70%;
  height: 850%;
  margin: 0 auto;
  top: 5%;
}

.read-more-link {
  text-decoration: none;
}

@keyframes blinkAndFadeIn {
  0%, 15%, 30% { opacity: 0;}
  7%, 22% { opacity:1; }
  40% { opacity: 0; }
  100% { opacity: 1; }
}