/* Nav styling borrowed from index */

.filter-buttons {
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 6px 12px;
  }
  
  .filter-buttons button {
    background: #000;
    color: #eee;
    border: none;
    font-family: degular, sans-serif;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    margin: 0 5px;
  }
  
  .filter-buttons button:hover {
    color: #90ba9d;
    transform: scale(1.1);
    transition: all 0.3s ease;
  }
  
  .filter-buttons button.active {
    color: #90ba9d;
  }
  
  .nav-buttons a {
    background: #eee;
    color: #000;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 6px 12px;
    font-family: degular, sans-serif;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    margin-right: 12px;
  }
  
  .nav-buttons a:hover {
    background: #90ba9d;
    border-color: #90ba9d;
  }
  
  .nav-buttons a.active {
    background: #90ba9d;
    border-color: #90ba9d;
  }
  
  .filter-nav-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }  

html {
    background-color:black;
    font-family: degular, sans-serif;
    font-size: 42px;
    line-height: 1;
    color: #eeeeee;
}

.navbar {
    background-color: black;
    overflow: hidden;
    font-size: 18px;
    text-align: center;
    padding-left: 6vw;
    padding-right: 6vw;
    padding-top: 6vh;
}

.container {
    display: flex;
    flex-direction: row;
    padding-left: 6vw;
    cursor: default;
}


#headshot {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
    animation-delay: 0.1s;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  
  #headshot-container {
    flex-shrink: 0;
    flex: 0 1 300px;
    max-width: 300px;
  }
  
  #headshot {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
  }

.hl {
    position: relative;
    display: inline-block;
    color: black;
    background: linear-gradient(transparent 7%, #eeeeee 7%);
    z-index: 0;
}

.hl::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(transparent 7%, #99bb99 7%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.hl:hover::before {
    transform: scaleX(1);
}

.chunk {
    white-space:nowrap;
}

.underlined {
    position: relative;
    font-weight: 400;
    text-decoration: none;
    color:#eeeeee;
    white-space:nowrap;
}

.underlined:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.1vw;
    background-color: #99bb99;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.underlined:hover::after {
    transform: scaleX(1);
}

.underlined:hover {
    color:#99bb99;
}

#dingbat {
    display: inline-block;
    animation: spin 10s infinite;
}

#dingbat:hover {
    animation: spin 1s infinite;
    color:#99bb99;
}

#content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5vw;
    padding: 6vh 6vw 0;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
  }
  
  #left {
    flex: 1 1 500px;
    display: flex;
    justify-content: flex-start;
  }
  
  .text-wrapper {
    max-width: 500px;
    width: 100%;
  }
  
  #blurb {
    font-size: 36px;
    line-height: 1.25;
    margin-bottom: 2vh;
  }
  
  #subblurb {
    font-size: 18px;
    line-height: 1.5;
    padding-top: 2vh;
    font-family: degular, sans-serif;
    font-weight: 200;
    font-style: normal;
  }
  
  #headshot-container {
    flex-shrink: 0;
    width: 250px;
    max-width: 30vw;
  }
  
  #headshot {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    /* 25% { transform: rotate(180deg); }
    50% { transform: rotate(-180deg); }
    75% { transform: rotate(90deg); } */
    100% { transform: rotate(360deg); }
  }

@media screen and (max-width: 800px) {
    html {
        font-size: 32px;
    }
    #blurb {
        width: 80vw;
    }
    #subblurb {
        font-size: 16px;
        width: 70vw;
    }
    a {
        white-space:normal;
    }
}
@media screen and (max-width: 1000px) {
    #headshot-container {
        display: none;
      }
    
      #content {
        display: block; /* switch from flex to block */
        padding: 4vh 6vw;
      }
    
      #left {
        width: 100%;
        display: block;
        justify-content: center;
      }
    
      .text-wrapper {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
      }
    
      #blurb {
        font-size: 28px;
        line-height: 1.3;
      }
    
      #subblurb {
        font-size: 16px;
        line-height: 1.4;
      }
  }