
/* ========================================== document properties ========================================== */
body {
  margin: 0;
  height: auto;

  transition: background-color 0.6s ease, color 0.5s ease;
  background-color: #ffffff;
  color: #000;
}



header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-inline: 6px;
  padding-top: 20px;
  box-sizing: border-box;
  background-color: #ffffff00;
  transition: transform 0.2s ease;
  z-index: 1000;
}

main {
  margin-top: 110px;
  position: relative;
  padding: 0.2rem;
  background-color: rgba(255, 0, 0, 0);
}


/* ========================================== global animations ========================================== */
body.scrolled {
  background-color: rgb(20, 20, 20);
  color: #fff;
}

body.play{
  background-color: #000000;
  color: rgb(255, 255, 255);
}

h1,
h2,
p,
a {
  transition: color 0.01s ease;
}


/* ========================================== text styles ========================================== */

.crayonette-font {
  font-family: "crayonette-djr", sans-serif;
  font-weight: 400;
  font-style: normal;
}

#bio-text-container p {
  margin: 0 0 1rem;
  /* Space between paragraphs */
  font-family: 'Helvetica-Neue-Light', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

#awards h2,
#bio-content h2,
.project-description h2 {
  margin-top: 0;
  /* Align titles to the top */
  margin-bottom: 1rem;
  /* Consistent spacing below the titles */
  font-family: "degular", sans-serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.2;
}

#awards p {
  font-family: 'Helvetica-Neue-Light', sans-serif;
  margin: 0.5rem 0;
  font-size: 1rem;
  line-height: 1.2;
}

p {
  font-family: 'Helvetica-Neue-Light';
}

.project-description h2{
  font-size: 2.8rem;
}

/* ========================================== header stuff ========================================== */
.left,
.right {
  
  font-family: "degular", sans-serif;
  user-select: none;
  font-weight: 100;
  font-size: 22px;
  padding-inline: 2%;
  width: 100px;
  /* Fixed width to prevent shifting */
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease;
  color: inherit;
  padding-top: 10px;


  /* Allows JS to dynamically change color */

}
.center{
  padding-inline: 2%;
}

.right::before {
  content: '';
  position: absolute;
  top: -30px;
  /* Expand hover area upwards */
  bottom: -30px;
  /* Expand hover area downwards */
  left: -30px;
  /* Expand hover area left */
  right: -30px;
  /* Expand hover area right */
  pointer-events: none;
  /* Avoid interfering with clicks */
}

.right:hover,
.left:hover {
  color: #001fff;
  /* Transition to blue when hovered */
  transition: color 0.2s ease;
}

.right span {
  display: inline-block;
  /* Ensure spans align properly */
  transition: font-family 0.1s ease;
  /* Smooth font switching */
}

.center {
  font-family: "degular", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 54px;
  text-align: center;
  user-select: none;
  transition: transform 1.5s ease;
  position: relative;
  cursor: pointer;
  letter-spacing: -2px;

}

#intro-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* Matches the width of #intro-text */
  height: 100%;
  /* Matches the height of #intro-text */
  z-index: 101;
  /* Places it above other elements */
  cursor: pointer;
  /* Indicates interactivity */
  background-color: rgba(255, 255, 255, 0);
  /* Fully transparent */
}

#arrow-button {
  display: flex;
  /* Center the image if needed */
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  /* Add some spacing above #bio */
}

#arrow-button img {
  transform: rotate(180deg);
  /* Rotate 180 degrees */
  filter: invert(1);
  /* Turn the image white */
  width: 50px;
  /* Adjust the size as needed */
  height: auto;
  /* Maintain aspect ratio */
  cursor: pointer;
  /* Indicate that the image is clickable */
  transition: transform 0.3s ease;
  /* Add a smooth hover animation */
}

