/* =========================
   Feature row: shrink ONLY datascience2 image
   ========================= */
img[src*="datascience2.png"] {
  max-width: 70%;
  margin: 0 auto;
  display: block;
}


/* =========================
   Projects page: full-screen hero header
   ========================= */
.page--projects .page__hero--overlay {
  min-height: 100vh;              /* full screen */
  background-size: contain;       /* show entire image */
  background-repeat: no-repeat;
  background-position: center;
}


/* =========================
   Fix masthead logo stretching (ALL devices)
   ========================= */
.masthead .site-logo {
  flex: 0 0 auto;                 /* stop flex stretching */
}

.masthead .site-logo img {
  height: 60px;                   /* lock height */
  width: auto;                    /* preserve aspect ratio */
  max-height: 70px;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

/* Smaller logo on phones */
@media (max-width: 480px) {
  .masthead .site-logo img {
    height: 40px;
    max-height: 40px;
    max-width: 140px;
  }
}

/* =========================
created logo animation
   ========================= */

#intro-overlay {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  background: black;     /* can change to transparent */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  pointer-events: all;
  overflow: hidden;
}

#intro-overlay img {
  width: 100vw;        /* FULL screen width */
  height: 100vh;       /* FULL screen height */
  object-fit: contain; /* keep aspect ratio */
}
