@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');
body {
  font-family: 'Inter', Arial, sans-serif;
}
h1, h2, h3, .title {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.bio {
  font-family: "Sora", sans-serif;
}

.banner {
      width: 100%;
      height: 6dvh !important;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 2.5rem;
      font-weight: bold;
      letter-spacing: 2px;
      padding: 0 40px;
      box-sizing: border-box;
      padding: 0em 1em 0em;
    }

    .banner-title {
      flex: 1;
      text-align: left;
    }

    .banner-nav {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .banner-nav > .dropdown,
    .banner-nav > a {
      height: 100%;
      display: flex;
      align-items: center;
    }

    .dropbtn {
      text-decoration: none;
      color: black;
      font-size: 1.3rem;
      font-weight: 400;
      margin-left: 10px;
      margin-right: 10px;
      padding: 0 0 5px;
      border-radius: 4px;
      box-shadow: none;
      transition: color .2s, box-shadow .2s;
      background: none;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      height: 100%;
    }


    .banner-nav a {
      text-decoration: none;
      color: black;
      font-size: 1.3rem;
      font-weight: 400;
      margin-left: 10px;
      margin-right: 10px;
      padding: 0 0 5px;
      border-radius: 4px;
      box-shadow: none;
      transition: color .2s, box-shadow .2s;
      position: relative;
    }

    .banner-nav a::after {
      content: "";
      display: block;
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 2px;
      background: #333;
      border-radius: 1px;
      opacity: 0;
      transform: scaleX(0);
      transition: opacity 0.2s, transform 0.2s;
    }

    .banner-nav a:hover::after {
      opacity: 1;
      transform: scaleX(1);
    }

.title {
  position: relative;
  width: 90vw;
  margin: 0 auto;
  font-size: 9vh;
  line-height: 1.2;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
     /* Solid background hides what's under */
}

.title span {
  opacity: 0;
  display: block;
  transform: translateY(40px);
  animation: fadeInUp .5s forwards;
  animation-fill-mode: forwards;
}

.title .fade-in-1 {
  animation-delay: 0.5s;
  z-index: 1; /* Ensure it appears above other elements */
    padding-top: 25vh;
    background: #fff;
    width:100%; 
}

.title .fade-in-2 {
  animation-delay: 1s;
  animation-name: fadeInDown;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

  .bio {
    width: 60dvi;
    position: absolute;
    left: 5vw;
    margin-top: 5dvh;
    font-weight: 400;
    font-size: 2.7rem;
    text-align: left;
    animation-name: fadeInDown;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp .5s forwards;
    animation-delay: 2s; /* pops after the title */
    animation-fill-mode: forwards;
  }


  .site-footer {
      width: 100%;
    padding: 24px 0;
    background: #fff;
    text-align: center;
    font-size: 1.5rem;
    color: #333;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
  }

  .footer-links a {
    color: #1976d2;
    text-decoration: none;
    margin: 0 8px;
    font-weight: 500;
    transition: color 0.2s;
  }

  .footer-links a:hover {
    color: #0d47a1;
    text-decoration: underline;
  }

  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropbtn {
    text-decoration: none;
    color: black;
    font-size: 1.3rem;
    font-weight: 400;
    margin-left: 10px;
    margin-right: 10px;
    padding: 0 0 5px;
    border-radius: 4px;
    box-shadow: none;
    transition: color .2s, box-shadow .2s;
    background: none;
    border: none;
    cursor: pointer;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fafafa;
    min-width: 220px !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    z-index: 100;
    border-radius: 8px;
    padding: 8px 0;
    top: 100%;
    left: 0;
        min-width: 200px;
  }

  .dropdown-content a {
    color: #1976d2;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
  }

  .dropdown-content a:hover {
    background-color: #e3f2fd;
    color: #0d47a1;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown:hover .dropbtn {
    color: #1976d2;
  }

  @media(max-width: 1500px) {
    .title{
      font-size: 7vh;
    }
    .title .fade-in-1 {
      padding-top: 25vh;
    }
    .bio {
      width: 80dvi;
      font-size: 2.2rem;
      left: 5vw;
    }
  }

   @media(max-width: 1200px) {
    .title{
      font-size: 6vh;
    }
    .title .fade-in-1 {
      padding-top: 25vh;
    }
    .bio {
      width: 80dvi;
      font-size: 2rem;
      left: 5vw;
      margin-top: 4dvh;
    }
  }

  @media (max-width: 750px) {
    .title{
      font-size: 5vh;
    }
    .title .fade-in-1 {
      padding-top: 12vh;
    }
    .bio {
      width: 90dvi;
      font-size: 1.8rem;
      left: 5vw;
      margin-top: 4dvh;
    }
    .site-footer {
        padding:10px 0px;
        font-size: 1.2rem;
      }
  }

  @media(max-height: 700px) {
    .banner {
      height: 12dvh !important;
    }
    .title{
        font-size: 9vh;
      }
    .title .fade-in-1 {
      padding-top: 7vh;
    }
    .bio {
      font-size: 1.5rem;
      width: 90dvi;
      margin-top: 3dvh;
    }

      .site-footer {
        padding:10px 0px;
        font-size: 1.2rem;
      }
  }

  @media(max-height: 400px) {
    .banner {
      height: 12dvh !important;
    }
    .title{
        font-size: 8vh !important;
      }
    .title .fade-in-1 {
      padding-top: 7vh;
    }
    .bio {
      font-size: 1.4rem;
      width: 90dvi;
      margin-top: 3dvh;
    }

    .site-footer {
      padding:10px 0px;
      font-size: 0.9rem;
    }
  }

 @media (max-width: 700px) {
    .banner-nav a {
      font-size: 1.2rem;
      padding: 0 0 5px;
    }
  }

  @media (max-width: 400px) {
    .banner-nav a {
      font-size: 0.9rem;
      padding: 0 0 5px;
    }
  }
  @media (max-width: 450px) {
    .title{
      font-size: 4vh;
    }
    .title .fade-in-1 {
      padding-top: 15vh;
    }
    .bio {
      width: 90dvi;
      font-size: 1.4rem;
      left: 5vw;
      margin-top: 4dvh;
    }
    .site-footer {
        padding:8px 0px;
        font-size: 1rem;
      }
  }

  @media (max-width: 1000px) {
  .banner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    text-align: center;
    padding-bottom: 2vh;
  }
  .banner-title {
    text-align: center;
    width: 100%;
    margin-bottom: 0.5em;
  }
  .banner-nav {
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 16px;
  }
}

.reset-link {
  all: unset;
  cursor: pointer;
  color: #646496;
}