/* ─── GLOBAL RESET ────────────────────────────────────────────────────────── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body {
    width: 100%;
    height: 100%;
    font-family: "Atkinson Hyperlegible Next", sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    flex-direction: column;
    min-height: 100vh;
}
  
/* ─── NAVIGATION ─────────────────────────────────────────────────────────── */
.horizontalNavBar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: clamp(0.5rem, 2vw, 1.5rem) clamp(3%, 5vw, 8%);
    position: relative;
    z-index: 1000;
}

.horizontalNavBar #logo {
    font-family: "Allison", cursive;
    font-weight: 300;
    font-size: clamp(2rem, 8vw, 6rem);
}

.horizontalNavBar #logo a {
    text-decoration: none;
    color: black;
    transition: text-shadow 0.5s ease, font-weight 0.5s ease;
}

.horizontalNavBar #logo a:hover {
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.horizontalNavBar ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 5vw, 3rem);
}

.horizontalNavBar li a {
    text-decoration: none;
    color: black;
    font-family: "Markazi Text", serif;
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 200;
    transition: text-shadow 0.5s ease, font-weight 0.5s ease;
}

.horizontalNavBar li a:hover {
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}
  
/* ─── HERO / PROFILE SECTION ─────────────────────────────────────────────── */
.imageAndDescription {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
    gap: clamp(1rem, 5vw, 2rem);
    margin-top: -10vh;
    min-height: calc(100vh - 10vh);
    flex: 1;                  /* push footer down */
    padding-top: 10vh;        /* or whatever spacing you need below your nav */
    margin-top: 0;
}
  
/* headshot always larger than description */
.headshot-container {
    position: relative;
    flex: 0 0 clamp(15rem, 30vw, 30rem);
    width: clamp(15rem, 30vw, 30rem);
    height: clamp(15rem, 30vw, 30rem);
}

.headshot-container::before {
    content: "";
    position: absolute;
    top: -0.3rem;
    left: -0.3rem;
    width: calc(100% + 0.6rem);
    height: calc(100% + 0.6rem);
    border-radius: 50%;
    background: conic-gradient(
      from 0deg,
      rgba(0,0,0,0.4) 0deg 40deg,
      rgba(0,0,0,0) 100deg
    );
    animation: spin 3s linear infinite;
    z-index: 0;
}

.headshot-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}
  
@keyframes spin {
    to { transform: rotate(360deg); }
}
  
#introAndDescription {
    flex: 1 1 clamp(12rem, 40vw, 60vw);
    max-width: clamp(12rem, 40vw, 60vw);
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin-top: clamp(.5rem, 1vw, 1rem);
}

#intro {
    font-size: clamp(1.5rem, 6vw, 4rem);
}

#typewriter {
    font-size: clamp(1rem, 4vw, 2.5rem);
}

#description {
    font-size: clamp(0.875rem, 2.5vw, 1.5rem);
}
  
/* ─── SOCIAL MEDIA ICONS ─────────────────────────────────────────────────── */
.mediaLinks {
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin-top: clamp(0.5rem, 2vw, 1rem);
}

.mediaLinks a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.5rem, 4vw, 4rem);
    color: black;
    transition: transform 0.3s ease, text-shadow 0.5s ease, font-weight 0.5s ease;
}

.mediaLinks a:hover {
    transform: scale(1.1);
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}
  
/* ─── RESPONSIVE TWEAKS ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Nav: stack logo above links */
    .horizontalNavBar {
      flex-direction: column;
      align-items: center;
      padding-bottom: clamp(0.5rem, 1vh, 1rem);
    }

    .horizontalNavBar ul {
      width: 100%;
      justify-content: center;
      margin-top: clamp(0.5rem, 1vh, 1rem);
    }

    /* Hero becomes column */
    .imageAndDescription {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 0;
      min-height: auto;
    }

    /* Center icons under headshot */
    .mediaLinks {
      justify-content: center;
      margin: clamp(1rem, 2vh, 2rem) auto 0;
    }

    /* Drop intro below icons */
    #introAndDescription {
      margin-top: clamp(2rem, 4vw, 5vh);
      text-align: center;
    }
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    color: white;
    padding: 2rem 0; /* increased vertical padding to lower text */
}

footer p {
    margin: 0;
    padding-top: 0.5rem; /* extra space above copyright text */
}
  