/* BEGIN: Home */
div.home section.intro .portrait-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 2rem 0;
}
div.home section.intro .portrait-container .wrapper {
  position: relative;
  display: inline-block;
  padding: 5px;
  border-radius: 22px;
  background: linear-gradient(45deg, var(--dark-pink), var(--medium-pink), var(--light-pink), var(--very-light-pink));
  outline: 5px solid var(--light-orange); 
  outline-offset: 0.3rem;
}
div.home section.intro .portrait-container .wrapper img {
  max-width: 220px;
  border-radius: 16px;
  border: 2px solid #000000;
}
div.home section.intro .portrait-container .wrapper .name-overlay {
  position: absolute;
  bottom: 12px;
  left: 16px;
  color: #FFFFFF;
  font-size: 1.2rem;
  font-family: var(--heading-font);
  font-weight: 100;
}
div.home section.intro div.text h1 {
  font-size: 3.5rem;
  margin: 0 0 1rem 0;
  font-weight: 500;
}
div.home section.intro div.text h2 {
  font-size: 1.3rem;
} 
div.home section.intro div.text h3 {
  margin: 0;
  padding: 4rem 0;
  font-family: var(--special-font);
  font-size: 1.1rem;
}
div.home section.intro div.text h3.tagline {
  line-height: 1.15;
  margin: 0;
}
div.home section.intro div.text h3.chroma-flicker {
  color: #000;
  white-space: pre;
}
div.home section.intro div.text h3.chroma-flicker .char {
  transition: color 500ms ease;
  will-change: color;
}
div.home section.intro div.text h3.chroma-flicker .char.on {
  color: var(--flash-color, var(--dark-pink));
}
div.home section.intro div.text .button {
  margin: 0 1rem;
}
div.home section.intro div.about {
  margin: 4rem 0;
  font-size: 1rem;
}
div.home section.skills h2 {
  text-align: center;
  font-family: var(--heading-font);
  font-size: 3rem;
  padding: 0 0 2rem 0;
}
div.home section.skills h2::after {
  display: none;
}
div.home section.skills .technologies-container {
  margin: 0 0 2.5rem 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
div.home section.skills .technologies-container .technologies {
  display: inline;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  border: 2px solid #000000;
  border-radius: 0.5rem;
  background: var(--light-grey);
  padding: 0.3rem;
}
div.home section.skills p.button-container {
  text-align: center;
  margin: 3rem 0 0 0;
}
div.home section.skills div.columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
div.home section.skills div.columns article.column {
  border: 2px solid #000000;
  border-radius: 0.5rem;
  background: var(--light-grey);
  padding: 1rem;
}
div.home section.skills h3 {
  margin: 0.25rem 0 1rem 0;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}
div.home section.skills p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}
@media (min-width: 720px) {
  div.home section.skills div.columns {
    grid-template-columns: repeat(3, 1fr);
  }
}
div.home section.contact {
  padding: 8rem 0 0 0;
}
div.home section.contact h2 {
  font-family: var(--heading-font);
  font-size: 1.7rem;
  display: inline;
}
div.home section.contact h2::after {
  display: none;
}
.bounce-wave span {
  display: inline-block;
  animation: bounce 5s infinite;
}
.bounce-wave span:nth-child(1)  { animation-delay: 0s;   }
.bounce-wave span:nth-child(2)  { animation-delay: 0.15s;}
.bounce-wave span:nth-child(3)  { animation-delay: 0.3s; }
.bounce-wave span:nth-child(4)  { animation-delay: 0.45s;}
.bounce-wave span:nth-child(5)  { animation-delay: 0.6s; }
.bounce-wave span:nth-child(6)  { animation-delay: 0.75s;}
.bounce-wave span:nth-child(7)  { animation-delay: 0.9s; }
.bounce-wave span:nth-child(8)  { animation-delay: 1.05s;}
.bounce-wave span:nth-child(9)  { animation-delay: 1.2s; }
.bounce-wave span:nth-child(10) { animation-delay: 1.35s;}
.bounce-wave span:nth-child(11) { animation-delay: 1.5s; }
.bounce-wave span:nth-child(12) { animation-delay: 1.65s;}
.bounce-wave span:nth-child(13) { animation-delay: 1.8s; }
.bounce-wave span:nth-child(14) { animation-delay: 1.95s;}
.bounce-wave span:nth-child(15) { animation-delay: 2.1s; }
.bounce-wave span:nth-child(16) { animation-delay: 2.25s;}
.bounce-wave span:nth-child(17) { animation-delay: 2.4s; }
.bounce-wave span:nth-child(18) { animation-delay: 2.55s;}
.bounce-wave span:nth-child(19) { animation-delay: 2.7s; }
.bounce-wave span:nth-child(20) { animation-delay: 2.85s;}
.bounce-wave span:nth-child(21) { animation-delay: 3s;   }
.bounce-wave span:nth-child(22) { animation-delay: 3.15s;}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
div.home section.contact .fa-star {
  font-size: 1rem;
  color: var(--dark-orange);
  position: relative;
  top: -8px;
}
div.home section.contact p {
  padding: 1rem 0;
}
@media (min-width: 576px) {
  div.home section.intro .portrait-container .wrapper img {
    max-width: 350px;
  }
  div.home section.intro div.text h1 {
    font-size: 5rem;
    font-weight: 300;
  } 
  div.home section.intro div.text h2 {
    font-size: 1.8rem;
  }
  div.home section.intro div.text h3 {
    font-size: 1.8rem;
  }
  div.home section.intro div.text h3.tagline {
    line-height: 1.15;
    margin: 0;
  }
  div.home section.intro div.about {
    font-size: 1.2rem;
  }
  div.home section.contact h2 {
    font-size: 3rem;
  }
  div.home section.contact .fa-star {
    font-size: 2rem;
  }
}
/* END: Home */



/* BEGIN: Notebook */
div.notebook .fa-solid {
  font-size: 2.2rem;
  position: relative;
  top: -3px;
}
div.notebook section.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
}
div.notebook section.legend .category {
  position: relative;
  font-weight: 600;
  padding: 0 4px;
  z-index: 0;
}
div.notebook section.legend .category::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 70%;
  transform: translateY(-50%);
  opacity: 0.4;
  z-index: -1;
  border-radius: 0.2rem;
}
div.notebook section.legend .category.experiment::before { 
  background: var(--blue); 
}
div.notebook section.legend .category.project::before { 
  background: var(--dark-orange); 
}
div.notebook section.legend .category.comment::before { 
  background: var(--medium-pink);
}
div.notebook section.legend .category.discovery::before { 
  background: var(--yellow); 
}
div.notebook section.legend .category.to-do::before { 
  background: var(--green);
}
div.notebook section.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  width: 100%;
}
div.notebook section.grid article.note {
  grid-column: span 12;
  border: 2px solid #000000;
  border-radius: 0.5rem;
  padding: 0 0 0.2rem 0;
  background: var(--light-grey);
  background-image: repeating-linear-gradient(to bottom, transparent 0px, transparent 22px,rgba(0,0,0,0.1) 23px );
  background-size: 100% 23px;
  position: relative;
}
div.notebook section.grid article.note:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 22px;
  width: 1px;
  background: rgba(255,0,0,0.3);
  pointer-events: none;
}
div.notebook section.grid article.note:hover {
  border: 2px solid var(--dark-orange);
}
div.notebook section.grid article.note .number-date-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
div.notebook section.grid article.note .number-date-container .number {
  width: 23px;
  text-align: center;
}
div.notebook section.grid article.note .number-date-container .date {
  padding: 0 0.3rem;
  margin: 0.2rem;
  font-size: 0.7rem;
  border-radius: 0.2rem;
}
div.notebook section.grid article.note.category-experiment .date {
  background: color-mix(in srgb, var(--blue) 30%, transparent); 
}
div.notebook section.grid article.note.category-project .date {
  background: color-mix(in srgb, var(--dark-orange) 30%, transparent); 
}
div.notebook section.grid article.note.category-comment .date { 
  background: color-mix(in srgb, var(--medium-pink) 30%, transparent); 
}
div.notebook section.grid article.note.category-discovery .date { 
  background: color-mix(in srgb, var(--yellow) 30%, transparent); 
}
div.notebook section.grid article.note.category-to-do .date { 
  background: color-mix(in srgb, var(--green) 30%, transparent); 
}
div.notebook section.grid article.note .title {
  margin: 0 0.5rem 0 1.6rem;
  font-size: 1.1rem;
}
div.notebook section.grid article.note .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0.4rem 0 0 1.6rem;
}
div.notebook section.grid article.note .meta .tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #FFFFFF;
  border:1px solid #000000;
}
div.notebook section.grid article.note .text {
  margin: .6rem 0 0 1.6rem;
}
@media (min-width: 720px) {
  div.notebook form.controls input[type="search"], 
  div.notebook form.controls select {
    inline-size: 25ch !important;
  }
  div.notebook section.grid > article.note {
    grid-column: span 6;
  }
}
@media (min-width: 768px) {
  div.notebook form.controls input[type="search"], 
  div.notebook form.controls select {
    inline-size: 36ch !important;
  }
}
@media (min-width: 1024px) {
  div.notebook form.controls input[type="search"], 
  div.notebook form.controls select {
      inline-size: 22ch !important;
    }
  div.notebook section.grid > article.note {
    grid-column: span 4;
  }
}
div.notebook form.controls {
  padding: 1rem 1.5rem; 
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; 
  align-items: center;
  border: 2px solid #000000;
  border-radius: 0.5rem;
  justify-content: space-between;
  background-color: var(--light-grey);
}
div.notebook form.controls .control { 
  display:inline-flex; 
  gap:.5rem; 
  align-items:center; 
}
div.notebook form.controls input[type="search"],
div.notebook form.controls select {
  border: 1px solid #000000; 
  border-radius: 0.35rem; 
  padding: 0.35rem 0.5rem;
  inline-size: 32ch;
}
div.notebook section.grid article.note .number-date-container .date {
  padding: 0 0.3rem;
  margin: 0.2rem;
  font-size: 0.7rem;
  border-radius: 0.2rem;
  line-height: 1.6;
  display: inline-block;
  background: #FFFFFF;
}
div.notebook section.grid article.note.category-experiment .date,
div.notebook section.grid article.note.cat-experiment .date {
  /* Fallback for older browsers */
  background: rgba(0, 102, 255, 0.30); /* replace with your blue if needed */
  /* Preferred if supported */
  background: color-mix(in srgb, var(--blue) 30%, transparent);
}
div.notebook section.grid article.note.category-project .date,
div.notebook section.grid article.note.cat-project .date {
  background: rgba(255, 102, 0, 0.30);
  background: color-mix(in srgb, var(--dark-orange) 30%, transparent);
}
div.notebook section.grid article.note.category-comment .date,
div.notebook section.grid article.note.cat-comment .date {
  background: rgba(255, 105, 180, 0.30);
  background: color-mix(in srgb, var(--medium-pink) 30%, transparent);
}
div.notebook section.grid article.note.category-discovery .date,
div.notebook section.grid article.note.cat-discovery .date {
  background: rgba(255, 221, 0, 0.30);
  background: color-mix(in srgb, var(--yellow) 30%, transparent);
}
div.notebook section.grid article.note.category-to-do .date,
div.notebook section.grid article.note.cat-to-do .date {
  background: rgba(0, 170, 0, 0.30);
  background: color-mix(in srgb, var(--green) 30%, transparent);
}
/* END: Notebook */


/* BEGIN: Skills */
div.skills .intro {
  font-size: 1.5rem;
}
div.skills .technologies {
  font-weight: bold;
}
div.skills section {
  margin: 2rem 0;
}
div.skills section .emoji {
  display: inline;
  font-size: 1.6rem;
  display: none;
}
div.skills section ul {
  padding-left: 1rem;
}
/* END: Skills */


/* BEGIN: Toolkit */
div.toolkit .sources-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1.5rem;
}
div.toolkit .sources-container .source {
  border-radius: 0.5rem;
  width: 99px;
  border: 2px solid #000000;
  background-color: var(--light-grey);
}
div.toolkit .sources-container .source:hover{
  border: 2px solid var(--dark-orange);
  outline: 2px solid var(--medium-pink);
  outline-offset: 0.3rem;
}
div.toolkit .sources-container .source img {
  width: 100%;
  border-radius: 0.3rem 0.3rem 0 0;
}
div.toolkit .sources-container .source .text {
  padding: 0.4rem 0.2rem;
}
div.toolkit .sources-container .source .text .star-rating {
  color: var(--dark-pink);
  margin: 0;
  display: none;
}
div.toolkit .sources-container .source .text .title {
  font-size: 0.9rem;
  margin: 0;
}
div.toolkit .sources-container .source .text .description {
  font-size: 0.7rem;
  margin: 0.2rem 0 0 0;
}
@media (min-width: 576px) {
  div.toolkit .sources-container .source {
    width: 150px;
  }
  div.toolkit .sources-container .source .text {
    padding: 0.4rem 0.8rem;
  }
  div.toolkit .sources-container .source .text .title {
    font-size: 1.2rem;
  }
  div.toolkit .sources-container .source .text .description {
    font-size: 0.7rem;
  }
}
/* END: Toolkit */