/* -----------------------------
   MAIN PAGE BASE
----------------------------- */

html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: white;
  color: #111;
}

canvas#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.ui {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  color: black;
  mix-blend-mode: multiply;
}

.name{
  position: fixed;
  top: 5vh;
  right: 12vw;
  font-size: 60px;
  letter-spacing: 0.02em;
  font-weight: 600;
  z-index: 10;
  color: rgb(205, 205, 205);
}

.carousel-name,
.contact-name,
.highlights-name,
.ds-name {
  position: fixed;
  bottom: 5vh;
  right: 12vw;
  font-size: 60px;
  letter-spacing: 0.02em;
  font-weight: 600;
  z-index: 10;
  color: rgb(205, 205, 205);
}

.highlights-content, 
.ds-content,
.contact-content {
  position: fixed;
  top: 25vh;
  left: 10vw;
  right: 10vw;
  bottom: 0;
  overflow-y: auto;
  padding-bottom: 20vh;
  scrollbar-width: none;
}

.menu {
  position: absolute;
  top: 80vh;
  left: 12vw;
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: auto;
}

.menu-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: black;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-link:hover {
  transform: translateX(6px);
  opacity: 0.7;
}

.carousel-nav,
.contact-nav,
.highlights-nav,
.ds-nav,
.ds-work-nav {
  position: fixed;
  top: 10vh;
  left: 10vw;
  display: flex;
  gap: 40px;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.carousel-nav a,
.contact-nav a,
.highlights-nav a,
.ds-nav a,
.ds-work-nav a {
  text-decoration: none;
  color: #111;
  opacity: 0.5;
}

.carousel-nav a.active,
.carousel-nav a:hover,
.contact-nav a:active,
.contact-nav a:hover,
.contact-content a:hover,
.highlights-nav a.active,
.highlights-nav a:hover,
.highlight-row img:hover,
.ds-nav a.active,
.ds-nav a:hover,
.ds-work-nav a.active,
.ds-wokr-nav a:hover,
.ds-project-media img:hover {
  opacity: 1;
}

/* -----------------------------
   CAROUSEL PAGE
----------------------------- */

.carousel-wrapper {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  transform: translate(0%, -50%);

  display: flex;
  align-items: center;
  overflow: hidden;
}

.carousel {
  display: flex;
  align-items: center; 
  gap: 5px;
  padding: 0 20vw;
  overflow-x: auto;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel::before,
.carousel::after {
  content: "";
  flex: 0 0 20vw;
}

.carousel img {
  height: 28vh;
  width: auto;
  object-fit: contain;

  opacity: 0.4;
  flex-shrink: 0;

  transition:
    height 0.45s ease,
    opacity 0.3s ease;
}

.carousel img.active {
  height: 45vh;
  opacity: 1;
}

.image-focus {
  position: fixed;
  inset: 0;
  background: rgba(247, 246, 242, 0.96);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;

  z-index: 100;
}

.image-focus img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
}

.image-focus.active {
  opacity: 1;
  pointer-events: auto;
}

/* -----------------------------
   CONTACT PAGE
----------------------------- */
.contact-content {
  top: 18vh
}

.contact-content h2 {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.6;
  margin-top: 40px;
}

.contact-content p {
  margin: 1vh 0;
  letter-spacing: 0.05em;
}

.contact-content a {
  text-decoration: none;
  color: #111;
  opacity: 0.85;
}


/* -----------------------------
   HIGHLIGHTS PAGE
----------------------------- */

.highlights-content::-webkit-scrollbar {
  display: none;
}

.highlight h2 {
  font-size: 13px;
  letter-spacing: 0.3em;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 0.5vh;
}

.highlight .meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.5;
}

.highlight-row {
  display: flex;
  gap: 5px;

  overflow-x: auto;
  scrollbar-width: none;

  padding: 3vh 0;
  margin-bottom: 7vh;
}

.highlight-row::-webkit-scrollbar {
  display: none;
}

.highlight-row img {
  height: 26vh;
  width: auto;
  object-fit: contain;

  flex-shrink: 0;
  cursor: pointer;

  opacity: 0.85;
  transition: opacity 0.2s ease;
}

/* -----------------------------
   DATA SCIENCE PAGE
----------------------------- */

.ds-content::-webkit-scrollbar {
  display: none;
}

.ds-intro {
  margin-bottom: 2vh;
  font-size: 14px;
  line-height: 1.7;
}

.ds-content a.link-pg {
  display: inline;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
  opacity: 1;
  text-decoration: underline;
}

.ds-cv {
  margin-bottom: 10vh;
}



/* -----------------------------
   PROJECTS PAGE
----------------------------- */

.ds-projects {
  display: flex;
  flex-direction: column;
  gap: 10vh;
}

.ds-project h3 {
  font-size: 20px;
  font-weight: 500;
}

.ds-project p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

.ds-content a {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: #111;

  opacity: 0.6;
}

.ds-project-media {
  display: flex;
  gap: 5px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 2vh 0;
  scrollbar-width: none;
}

.ds-project-media::-webkit-scrollbar {
  display: none;
}

.ds-project-media img {
  height: 24vh;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  cursor: pointer;

  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.ds-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(247, 246, 242, 0.96);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;

  z-index: 9999;
}

.ds-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.ds-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

@media (max-width: 490px) {
  .name {
    font-size: 80px;
    position: fixed;
    top: 3vh;
    left: 12vw;
  }

  .carousel-name,
  .contact-name,
  .highlights-name,
  .ds-name {
    font-size: 65px;
    position: fixed;
    bottom: 3vh;
    text-align: right;
    right: 10vw;
  }

  .carousel-nav,
  .contact-nav,
  .highlights-nav,
  .ds-nav,
  .ds-work-nav {
    position: fixed;
    top: 12vh;
    left: 10vw;
    gap: 35px;
    font-size: 13px;
  }

  .ds-content {
    top: 18vh
  }


}
