body{
font-family: Arial, Helvetica, sans-serif;
margin:0;
background:#678F6A;
color:black;
}


.logo img{
height:50px;
width:auto;
}

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:40px;
}

header h1{
font-size:22px;
font-weight:normal;
}
/* Fix the site name link color and remove underline */
header h1 a {
    color: black;           /* Changes blue link to black */
    text-decoration: none;  /* Removes underline */
}

/* Optional: keep hover clean */
header h1 a:hover {
    color: black;           /* Prevent blue on hover */
    text-decoration: none;
}
nav a{
margin-left:20px;
text-decoration:none;
color:black;
font-size:14px;
}

main{
padding:40px;
max-width:900px;
}
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* THIS is the key */
main {
  flex: 1;
}

.projects{
display:flex;
flex-direction:column;
gap:25px;
}

.project{
text-decoration:none;
color:black;
border-bottom:3px solid #105057;
padding-bottom:10px;
}

.project h2{
margin:0;
font-size:22px;
}

.project p{
margin:5px 0 0 0;
font-size:14px;
color:#7E5057;
}

.project-page video{
margin-top:20px;
max-width:100%;
}

.description{
margin-top:20px;
max-width:600px;
}

.credits{
margin-top:20px;
font-size:14px;
}

.overlay {
  position: absolute;
  bottom: 20px;
  color: white;
  font-family: monospace;
  opacity: 0.7;
}
#fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;

  opacity: 1;
  transform: scale(1.03);

  pointer-events: none;

  transition:
    opacity 2.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}
footer{
margin-top:auto;
padding:40px;
font-size:12px;
color:#8C1F28;
}

body{
font-family: Arial, Helvetica, sans-serif;
margin:0;
background:#678F6A;
color:black;
}

.logo img{
height:50px;
width:auto;
}

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:40px;
}

header h1{
font-size:22px;
font-weight:normal;
}
/* Fix the site name link color and remove underline */
header h1 a {
    color: black;           /* Changes blue link to black */
    text-decoration: none;  /* Removes underline */
}

/* Optional: keep hover clean */
header h1 a:hover {
    color: black;           /* Prevent blue on hover */
    text-decoration: none;
}
nav a{
margin-left:20px;
text-decoration:none;
color:black;
font-size:14px;
}

main{
padding:40px;
max-width:900px;
}

.projects{
display:flex;
flex-direction:column;
gap:25px;
}

.project{
text-decoration:none;
color:black;
border-bottom:3px solid #105057;
padding-bottom:10px;
}

.project h2{
margin:0;
font-size:22px;
}

.project p{
margin:5px 0 0 0;
font-size:14px;
color:#7E5057;
}

.project-page video{
margin-top:20px;
max-width:100%;
}

.description{
margin-top:20px;
max-width:600px;
}

.credits{
margin-top:20px;
font-size:14px;
}

.overlay {
  position: absolute;
  bottom: 20px;
  color: white;
  font-family: monospace;
  opacity: 0.7;
}
#fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;

  opacity: 1;
  transform: scale(1.03);

  pointer-events: none;

  transition:
    opacity 2.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}
footer{
margin-top:60px;
padding:40px;
font-size:12px;
color:#8C1F28;
}
/* === FULL BLEED PROJECT CAROUSEL - this is for the project pages === */

.project-media.fullbleed {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 20px;
  overflow: hidden;
}

/* horizontal scroll strip */
.media-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 40px; /* aligns visually with your header padding */
}

/* each image block */
.media-item {
  flex: 0 0 70%; /* desktop size */
}

/* image styling */
.media-item img {
  width: 100%;
  height: 45vh;          /* keeps your visual scale */
  object-fit: contain;   /* 🔥 KEY FIX: no cropping */
  background: #00000010; /* subtle frame so empty space is visible */
  display: block;
}

/* === RESPONSIVE (PHONE) === */
@media (max-width: 768px) {

  .media-track {
    padding: 0 20px; /* tighter padding for mobile */
    gap: 10px;
  }

  .media-item {
    flex: 0 0 85%; /* more visible per slide on small screens */
  }

  .media-item img {
    height: 30vh;
  }
}

/* === HOME PAGE CAROUSEL (FULL WIDTH + AUTO SLIDE)  - this is for the home page only=== */

/* === HOME CAROUSEL BASE === */

.home-carousel {
  position: relative;
  overflow: hidden;
}

.home-track {
  display: flex;
  gap: 16px;
  padding: 0 60px;
  transition: transform 0.8s ease;
}

/* slides */
.slide {
  flex: 0 0 70%;
  text-decoration: none;
  color: black;
}

.slide img {
  width: 100%;
  height: 45vh;
  object-fit: cover;
  display: block;
}

/* text */
.slide-text h2 {
  margin: 0;
  font-size: 22px;
  font-weight: normal;
}

.slide-text p {
  margin: 5px 0 0 0;
  font-size: 14px;
  color: #7E5057;
}

/* === ARROWS === */

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  color: black;
  opacity: 0.6;
}

.carousel-arrow:hover {
  opacity: 1;
}

.carousel-arrow.left {
  left: 15px;
}

.carousel-arrow.right {
  right: 15px;
}

/* MOBILE */
@media (max-width: 768px) {

  .home-track {
    padding: 0 20px;
  }

  .slide {
    flex: 0 0 85%;
  }

  .slide img {
    height: 30vh;
  }
}

body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  background: #678F6A;
}

/* FULL SCREEN WRAPPER (THIS FIXES YOUR ISSUE) */
.splash-container {
  position: relative;
  width: 100vw;
  height: 100vh;
}

/* GIF fills screen properly */
.enter-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

/* TEXT OVERLAY FIXED */
.splash-text {
  position: absolute;
  z-index: 10;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  color: #FF81D0;
  opacity: 0.75;

  font-size: 89px;
  text-align: center;
  pointer-events: none;
}