/* Smooth, modern crossfade between index.html and about.html */
@view-transition {
    navigation: auto;
}
 
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.45s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
 
@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}

/* Fallback for browsers without native cross-document View Transitions
   (Safari, Firefox) — see transition.js. Only applied when html.js-fade
   is present, so Chromium browsers are unaffected. */
html.js-fade body {
    opacity: 0;
    transition: opacity 0.38s ease;
}
 
html.js-fade body.is-visible {
    opacity: 1;
}
 
@media (prefers-reduced-motion: reduce) {
    html.js-fade body {
        transition: none;
        opacity: 1;
    }
}


html, body {
  margin: 0;
  height: 100%;
  background-color: #02254E; 
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;                      /* scroll is hijacked by script.js */
  overscroll-behavior: none;
}

body {
  display: grid;
  place-items: center; /* Centers both horizontally and vertically */
  align-content: center; /* Centers vertically */
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px;
  pointer-events: none;
  color: #ffffff;
  font-family: "Geist", sans-serif;
}

.header a { pointer-events: auto; }

.nav {
  display: flex;
  gap: clamp(32px, 7vw, 100px);
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
}

.nav a:hover {

  transition: opacity 0.3s var(--ease);
  opacity: 0.8;
}

  

.nav--right { justify-content: flex-end; gap: clamp(24px, 3vw, 56px); }

.nav a {
  position: relative;
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}


.icon-button {
    width: 12px;
    height: 12px;
    display: block;
    
    /* Added this line */
    position: fixed; 
    
    /* Positioning and Centering */
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
}

a { color: inherit; text-decoration: none; }

.icon-button:hover {
    opacity: 0.6;
}



.about-body {
    color: #ffffff;
    font-size: 14px;
    font-family: "Geist", sans-serif;
    font-weight: 300;
    width: 400px;
    text-align: center;
    padding-bottom: 100px;

}


h1 {
    color: #ffffff;
    font-size: 16px;
    font-family: "Geist", sans-serif;
    font-weight: 450;
    text-align: center;
    margin-bottom: 20px;
}

@media (max-width: 768px) {

    .header {
        padding: 0px;
        color: #cecece;
    }
    .about-body {
        width: 300px;
    }
}