html, body {
  margin: 0;
  padding: 0;
  height: 100dvh;
  overflow-x: auto;
  overflow-y: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;

  background-color: rgba(0, 0, 0, 0.75);

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

  padding: 0 40px;
  box-sizing: border-box;

  z-index: 10;
}

.nav-name {
  color: white;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.room {
  position: relative;
  height: 100dvh;

  /* 3840 / 2160 = 16 / 9 */
  width: max(100vw, calc(100dvh * 16 / 9));

  overflow: hidden;
}

.room-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.glow-dot {
  position: absolute;

  /* Move the dot by changing these */
  left: 92%;
  top: 37%;

  width: 18px;
  height: 18px;
  border-radius: 50%;

  background-color: white;
  box-shadow: 0 0 10px white, 0 0 20px white, 0 0 35px white;

  transform: translate(-50%, -50%);
  z-index: 5;

  cursor: pointer;
}


/* New computer room dot */
.computer-dot {
  left: 77%;
  top: 94%;
}






.nav-name a {
  color: white;
  text-decoration: none;
}

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

/* Bio page */
.bio-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f3f0eb;
  color: #111;
}

.bio-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 130px 30px 80px;
}

.bio-card {
  background: rgba(255, 255, 255, 0.92);
  padding: 55px 65px;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.bio-card h1 {
  margin: 0 0 35px;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bio-card p {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 24px;
}

@media (max-width: 700px) {
  .bio-container {
    padding: 110px 18px 50px;
  }

  .bio-card {
    padding: 35px 25px;
  }

  .bio-card h1 {
    font-size: 32px;
  }

  .bio-card p {
    font-size: 16px;
    line-height: 1.7;
  }

  .navbar {
    padding: 0 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
  }
}






.bio-title-img {
  display: block;
  width: 50px;
  height: auto;
  margin: 0 0 35px;
}







/* css for cv page */

/* CV Page */
.cv-card {
  max-width: 850px;
}

.cv-section {
  margin-bottom: 45px;
}

.cv-section:last-child {
  margin-bottom: 0;
}

.cv-section h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #111;
}

.cv-section p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.cv-section span {
  font-weight: 700;
  margin-right: 12px;
}

.bio-title-img {
  display: block;
  width: 110px;
  height: auto;
  margin: 0 auto 45px;
}

@media (max-width: 700px) {
  .cv-section h2 {
    font-size: 17px;
  }

  .cv-section p {
    font-size: 15px;
  }

  .bio-title-img {
    width: 90px;
    margin-bottom: 35px;
  }
}






/* contact page css */


/* Contact Page */
.contact-card {
  text-align: center;
  max-width: 700px;
}

.contact-card h1 {
  margin: 0 0 25px;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-text {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.email-link {
  display: inline-block;
  color: #111;
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid #111;
  margin-bottom: 40px;
}

.email-link:hover {
  opacity: 0.65;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 0.5px;
}

.instagram-link:hover {
  opacity: 0.65;
}

.instagram-icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #111;
  stroke-width: 1.8;
}

@media (max-width: 700px) {
  .contact-card h1 {
    font-size: 30px;
  }

  .contact-text,
  .email-link,
  .instagram-link {
    font-size: 16px;
  }

  .instagram-icon {
    width: 28px;
    height: 28px;
  }
}





/* computer.html css */

.room {
  position: relative;
  height: 100dvh;
  width: max(100vw, calc(100dvh * 16 / 9));
  overflow: hidden;
}

.room-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}






/* windows image viewer */


/* Windows Photo Viewer style */
.photo-viewer {
  position: absolute;
  left: 8%;
  top: 16%;

  width: 900px;
  height: 620px;

  background: #dcecf8;
  border: 1px solid #4a8fc4;
  border-radius: 8px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);

  font-family: "Segoe UI", Arial, sans-serif;
  overflow: hidden;
  z-index: 5;
}

.photo-titlebar {
  height: 38px;
  background: linear-gradient(#50c4f0, #1d8fce);
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 10px;
  box-sizing: border-box;

  color: #111;
  font-size: 14px;
  font-weight: 600;
}

.photo-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.small-image-icon {
  width: 16px;
  height: 14px;
  display: inline-block;
  background: linear-gradient(135deg, #ffffff, #9fd6ff);
  border: 1px solid #267aad;
}

.photo-window-buttons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.photo-window-buttons span {
  width: 38px;
  height: 26px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.25);

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

  font-size: 14px;
}

.photo-window-buttons span:last-child {
  background: linear-gradient(#e58d7d, #b84737);
  color: white;
}

.photo-menubar {
  height: 42px;
  background: linear-gradient(#f5fbff, #d8eaf8);
  border-bottom: 1px solid #aac7dc;

  display: flex;
  align-items: center;
  gap: 38px;

  padding: 0 34px;
  box-sizing: border-box;

  font-size: 15px;
  color: #1f3f5d;
}

.photo-image-area {
  height: 450px;
  background: #eef6fc;
  border-left: 10px solid #d7e8f6;
  border-right: 10px solid #d7e8f6;

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

.photo-image-area img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.photo-bottom-bar {
  height: 90px;
  background: linear-gradient(#49b8ed, #1593d1);

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

  position: relative;
}

.photo-btn,
.photo-main-btn {
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: linear-gradient(#ffffff, #9ed7f6);
  color: #1d4f72;

  width: 70px;
  height: 42px;

  border-radius: 12px;
  font-size: 34px;
  line-height: 1;

  cursor: pointer;
  text-decoration: none;

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

.photo-main-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  font-size: 30px;
  background: radial-gradient(circle, #ffffff, #72c7f5);
}

.photo-btn:hover,
.photo-main-btn:hover {
  filter: brightness(1.08);
}

.photo-counter {
  position: absolute;
  right: 24px;
  bottom: 16px;

  color: white;
  font-size: 14px;
  font-weight: 600;
}

/* Smaller screens */
@media (max-width: 900px) {
  .photo-viewer {
    width: 760px;
    height: 560px;
    left: 5%;
    top: 16%;
  }

  .photo-image-area {
    height: 400px;
  }
}