
/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');


/* GLOBAL SETTINGS */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  background: #10172b;
}


/* HOME PAGE */
.home-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1878 / 1056;
  overflow: hidden;

  background-image: url("https://i.ibb.co/4RVzR3qr/Samiukta-Acharya.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}


/* DECORATIVE ELEMENTS */
.decorations {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}


/* MAIN AVATAR */
.avatar {
  position: absolute;
  width: 27%;
  height: auto;
  left: 50%;
  top: 28%;
  transform: translateX(-50%);
  image-rendering: pixelated;
  object-fit: contain;
  z-index: 2;
}


/* EYE PUPILS */
.pupil {
  position: absolute;
  width: 3.5%;
  height: auto;
  z-index: 3;
  pointer-events: none;
  image-rendering: pixelated;
  transform: translate(-50%, -50%);
  transition: transform 80ms ease-out;
}

.pupil-left {
  left: 47.3%;
  top: 53%;
}

.pupil-right {
  left: 52.8%;
  top: 53%;
}



/* RESPONSIVE SHARED NAVIGATION */
.main-navigation {
  position: absolute;
  top: 3.5%;
  left: 0;
  width: 100%;
  height: 11%;
  z-index: 100;
}

/* NAVIGATION BUTTONS */
.main-navigation a {
  position: absolute;
  top: 55%;
  width: 12%;
  height: 90%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3vw;

  transform: translate(-50%, -50%);
  text-decoration: none;
  white-space: nowrap;
}

/* RESPONSIVE ICON SIZE */
.main-navigation a img {
  width: clamp(20px, 2.4vw, 45px);
  height: clamp(20px, 2.4vw, 45px);
  object-fit: contain;
  image-rendering: pixelated;
  flex-shrink: 0;
}

/* RESPONSIVE BUTTON TEXT */
.main-navigation a span {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(5px, 0.65vw, 10px);
  color: #ffe36b;
  text-shadow: 2px 2px #342044;
  text-align: center;
}

/* HOVER EFFECT */
.main-navigation a:hover {
  transform: translate(-50%, calc(-50% - 3px));
}

.main-navigation a:hover span {
  color: #ffffff;
}

/* BUTTON POSITIONS */
.main-navigation a:nth-child(1) { left: 12.5%; }
.main-navigation a:nth-child(2) { left: 30.7%; }
.main-navigation a:nth-child(3) { left: 49.5%; }
.main-navigation a:nth-child(4) { left: 69%; }
.main-navigation a:nth-child(5) { left: 87.5%; }


/* SMALL SCREEN ADJUSTMENTS */
@media (max-width: 600px) {
  .main-navigation a {
    width: 17%;
  }

  .main-navigation a span {
    font-size: 5px;
  }
}

/* NAVIGATION BUTTONS */
.main-navigation a {
  position: absolute;
  top: 55%;
  width: 12%;
  height: 90%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3vw;

  transform: translate(-50%, -50%);
  text-decoration: none;
  white-space: nowrap;
}

/* RESPONSIVE ICON SIZE */
.main-navigation a img {
  width: clamp(20px, 2.4vw, 45px);
  height: clamp(20px, 2.4vw, 45px);
  object-fit: contain;
  image-rendering: pixelated;
  flex-shrink: 0;
}

/* RESPONSIVE BUTTON TEXT */
.main-navigation a span {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(5px, 0.65vw, 10px);
  color: #ffe36b;
  text-shadow: 2px 2px #342044;
  text-align: center;
}

/* HOVER EFFECT */
.main-navigation a:hover {
  transform: translate(-50%, calc(-50% - 3px));
}

.main-navigation a:hover span {
  color: #ffffff;
}

/* BUTTON POSITIONS */
.main-navigation a:nth-child(1) { left: 12.5%; }
.main-navigation a:nth-child(2) { left: 30.7%; }
.main-navigation a:nth-child(3) { left: 49.5%; }
.main-navigation a:nth-child(4) { left: 69%; }
.main-navigation a:nth-child(5) { left: 87.5%; }


/* SMALL SCREEN ADJUSTMENTS */
@media (max-width: 600px) {
  .main-navigation a {
    width: 17%;
  }

  .main-navigation a span {
    font-size: 5px;
  }
}



/* NAVIGATION BUTTONS */
.main-navigation a {
  position: absolute;
  top: 75%;
  width: 9%;
  height: 90%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;

  transform: translate(-50%, -50%);
  text-decoration: none;
  white-space: nowrap;
}


/* NAVIGATION ICONS */
.main-navigation a img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  image-rendering: pixelated;
  flex-shrink: 0;
}


/* NAVIGATION TEXT */
.main-navigation a span {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(7px, 0.65vw, 10px);
  color: #ffe36b;
  text-shadow: 2px 2px #342044;
}


/* HOVER EFFECT */
.main-navigation a:hover {
  transform: translate(-50%, calc(-50% - 3px));
}

.main-navigation a:hover span {
  color: #ffffff;
}


/* INDIVIDUAL BUTTON POSITIONS */
.main-navigation a:nth-child(1) {
  left: 12.5%;
}

.main-navigation a:nth-child(2) {
  left: 30.8%;
}

.main-navigation a:nth-child(3) {
  left: 49.5%;
}

.main-navigation a:nth-child(4) {
  left: 69%;
}

.main-navigation a:nth-child(5) {
  left: 87.5%;
}


/* SHARED BACKGROUND FOR ALL OTHER PAGES */
.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;

  background-color: #10172b;
  background-image: url("https://i.ibb.co/4RVzR3qr/Samiukta-Acharya.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* PAGE VISIBILITY */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* PREVENT HOME BACKGROUND FROM REPEATING */
.home-page {
  min-height: 0;
  background: none;
}

/* Keep the home artwork at its original proportions */
.home-stage {
  display: block;
  width: 100%;
  aspect-ratio: 1878 / 1056;
}

/* =====================================
   RESPONSIVE WEBSITE FRAME
===================================== */

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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #10172b;
}

/* The complete website scales as one unit */
.site-shell {
  position: relative;
  width: min(100vw, 177.84vh);
  aspect-ratio: 1878 / 1056;
  flex-shrink: 0;
  overflow: hidden;

  background-image: url("https://i.ibb.co/4RVzR3qr/Samiukta-Acharya.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* All page views occupy the same frame */
.page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  background: none;
}

/* Show only the selected page */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* Home artwork fills the common frame */
.home-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  background: none;
}

/* Navigation stays attached to the frame */
.main-navigation {
  position: absolute;
  top: 3.5%;
  left: 0;
  width: 100%;
  height: 11%;
  z-index: 100;
}

/* Navigation buttons */
.main-navigation a {
  position: absolute;
  top: 55%;
  width: 12%;
  height: 90%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;

  transform: translate(-50%, -50%);
  text-decoration: none;
  white-space: nowrap;
}

.main-navigation a img {
  width: 40%;
  height: auto;
  max-height: 45px;
  object-fit: contain;
  image-rendering: pixelated;
  flex-shrink: 0;
}

.main-navigation a span {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(7px, 0.65vw, 10px);
  color: #ffe36b;
  text-shadow: 2px 2px #342044;
  text-align: center;
}

.main-navigation a:hover {
  transform: translate(-50%, calc(-50% - 3px));
}

.main-navigation a:hover span {
  color: #ffffff;
}

/* PORTFOLIO CARD CONTAINER */
.portfolio-cards {
  position: absolute;
  top: 30%;
  left: 5%;
  width: 90%;
  height: 69%;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
}

/* PORTFOLIO CARD IMAGES */
.portfolio-card {
  width: 20%;
  height: 80%;
  object-fit: contain;
  image-rendering: pixelated;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* SUBTLE HOVER EFFECT */
.portfolio-card:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 0 10px rgba(190, 130, 255, 0.55));
}

/* PORTFOLIO PAGE TITLE */
.portfolio-title {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;

  margin: 0;
  text-align: center;

  font-family: 'Press Start 2P', cursive;
  font-size: clamp(15px, 1.5vw, 24px);
  line-height: 1.6;

  color: #ffe36b;
  text-shadow:
    3px 3px #342044,
    4px 4px #120d28;

  white-space: nowrap;
  z-index: 2;
}

/* INDIVIDUAL PORTFOLIO ITEMS */
.portfolio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24%;
  height: 100%;
}

/* CARD IMAGE */
.portfolio-item .portfolio-card {
  width: 100%;
  height: 85%;
  object-fit: contain;
  image-rendering: pixelated;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* CARD HOVER */
.portfolio-item .portfolio-card:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 0 10px rgba(190, 130, 255, 0.55));
}

/* LABEL BELOW CARD */
.portfolio-label {
  margin-top: -1%;
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(7px, 0.75vw, 12px);
  color: #ffe36b;
  text-shadow: 2px 2px #342044;
  text-align: center;
  white-space: nowrap;
}

/* =================================
   CHARACTER PROFILE / RESUME PAGE
================================= */

.resume-heading {
  position: absolute;
  top: 23%;
  left: 51.5%;
  transform: translateX(-50%);
  width: 90%;
  margin: 0;

  text-align: center;
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(12px, 1.35vw, 21px);
  line-height: 1.5;
  color: #ffe36b;
  text-shadow: 3px 3px #342044;

  white-space: nowrap;
  z-index: 5;
}

/* Canva book illustration */
.resume-book {
  position: absolute;
  top: 25%;
  left: 52%;
  transform: translateX(-50%);

  width: 80%;
  height: 70%;
  object-fit: contain;
  object-position: center;

  z-index: 2;
  pointer-events: none;
}

/* Download button */
.resume-download {
  position: absolute;
  bottom: 5.5%;
  left: 52%;
  transform: translateX(-50%);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 20px;
  background: #392253;
  border: 2px solid #e9b957;
  border-radius: 3px;

  color: #ffe36b;
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(7px, 0.65vw, 10px);
  text-decoration: none;
  white-space: nowrap;

  z-index: 10;
  transition: transform 0.2s ease, background 0.2s ease;
}

.resume-download:hover {
  background: #593477;
  transform: translate(-50%, -3px);
}








