/* grid layout */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
   
  html, body {
    height: 100%;
  }
  body {
    display: flex;
    flex-direction: column;
    cursor: url('IMPORT/cursor.svg') 0 0, auto;
  }

  a, a:hover {
    cursor: url('IMPORT/hover-cursor.svg') 0 0, auto;
  }

  .page {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 15px 10px 15px; /* top right bottom left */
  }
  .container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    align-items: start; /* Ensures natural stacking */
  }
  
  /* Typography */
  body {
    background: white;
    color: black;
    font-size: smaller;
    line-height: 1;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-style: medium;
  }
  
  span {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: bold;
    color: slategrey;
  }
  
  small {
    font-size: xx-small;
    color: black;
  }


 /* Grid columns */
.column {
    grid-column: span 1;
  }
/* INDEX */ 
  .bio { grid-column: 1 / 2; }
  .misc { grid-column: 2 / 3; }
  .education { grid-column: 3 / 4; position: relative; }
  .experience { grid-column: 4 / 6; position: relative; }
  .column-image { grid-column: 6 / 7;}

  .grid-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
  }
  .project-name { grid-column: 2 / 5; } 
/* Hover reveal content */
.hidden-content {
    display: none;
    position: absolute;
    top: 0.75rem;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1;
  }
  
  .education:hover .hidden-content,
  .experience:hover .hidden-content {
    display: block;
  }
  
  /* Projects */
  .projects {
    grid-column: 1 / -1;
    margin-top: -12rem;
    margin-bottom: 0;
  }
  
  .projects h2 {
    margin-bottom: 0;
  }
  
  .projects ul {
    list-style: none;
    padding-left: 0;
    text-align: center;
  }
  
  .projects li {
    margin: 0px 0;
  }
  
  /* Footer */
  footer {
    font-size: xx-small;
    text-align: right;
  }
  
   /* Base link style */
 .highlight-link {
    text-decoration: none; /* Removes underline */
    color: black; /* Default link color */
  }
   /* Hover style */
  .highlight-link:hover {
    background-color: black; /* Adds black highlight */
    color: white; /* Changes text color to white */
    padding: 0px 0px; /* Adds some space inside the highlight */
    text-decoration: none; /* Removes underline */
  }
  .highlight {
    background-color: black; /* Adds black highlight */
    color: white; /* Changes text color to white */
    padding: 0px 0px; /* Adds some space inside the highlight */
}
.color-buttons {
  margin: 1px 0;
  display: flex;
  gap: 0rem;
}

.color-buttons button {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 0%;
  cursor: pointer;
}

.external-link {
  color: black;
  text-decoration: underline;
}

.external-link:hover {
  color: blue;
}

.shiny-text {
  background: linear-gradient(90deg, #fff, #000, #fff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 0.8s linear infinite;
}

@keyframes shine {
  0% { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}
