/* Load Fonts */
@font-face {
  font-family: "LETS Type";
  font-weight: 40 800;
  font-display: auto;
  src: url(../assets/fonts/LETSTypeVF.woff2) format("woff2 supports variations"),
       url(../assets/fonts/LETSTypeVF.woff2) format("woff2-variations");
}

/* Global Properties */
html {
  --color-background-page: #fff;
  --color-primary-text: black;
  --color-background-hover: #f0ff8c;
  --color-link-hover: var(--color-primary-text);
  --motion-curve-easeOut: cubic-bezier(0, 0, 0.3, 1);
  --motion-curve-easeIn: cubic-bezier(0.4, 0.14, 1, 1);
  --motion-curve-easeInOut: cubic-bezier(0.4, 0.14, 0.3, 1);
  --motion-time-xslow: 1200ms;
  --motion-time-slow: 600ms;
  --motion-time-normal: 300ms;
  --motion-time-fast: 100ms;

  --font-weight-thin: 100;
  --font-weight-extralight: 200;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;
  --font-weight-default: 400;

  --font-size-min: 1rem;
  --font-size-max: 2rem;
  --font-scaling-factor-a: 1.2vw;
  --font-scaling-factor-b: 0.6rem;
  --line-height-normal: 1.5em;
  --viewport-inline-size-min: 320px;
  --viewport-inline-size-max: 2560px;
}

/* Layout */
em, i {
  font-variation-settings: "slnt" -8;
}

body {
  margin: 0;
}

main {
  padding: 1em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1em;
}

section#intro {
  grid-column-start: 1;
}

/* Typography */
body {
  font-family: "LETS Type", sans-serif;
  font-feature-settings: "dlig" 1, "ss03" 0, "cv01" 0;
  font-variation-settings: "TGHT" 200, "XHGT" 800, "slnt" 0;
  font-weight: var(--font-weight-default);
  -webkit-font-feature-settings: "dlig" 1, "ss03" 0, "cv01" 0;
  -moz-font-feature-settings: "dlig" 1, "ss03" 0, "cv01" 0;
}

section#intro p,
section#bio p,
address,
section#intro h1,
section#bio h2 {
  font-size: clamp(var(--font-size-min),
      calc(var(--font-scaling-factor-a) + var(--font-scaling-factor-b)),
      var(--font-size-max));
  font-weight: 415;
  font-style: normal;
  line-height: var(--line-height-normal);
  min-height: 1vw; /* Safari fix */
}

p, h1 {
  margin-block-start: 0;
}

h2 {
  margin: 0;
}

/* Color */
body {
  background-color: var(--color-background-page);
  color: var(--color-primary-text);
}

a {
  color: var(--color-primary-text);
  background-color: none;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.13em;
}

/* Hover Effects */
a:hover,
a:focus,
a:active {
  color: var(--color-link-hover);
  background-color: var(--color-background-hover);
  transition: all var(--motion-time-normal) var(--motion-curve-easeOut);
  -webkit-transition: all var(--motion-time-normal) var(--motion-curve-easeOut);
  -moz-transition: all var(--motion-time-normal) var(--motion-curve-easeOut);
  -ms-transition: all var(--motion-time-normal) var(--motion-curve-easeOut);
  -o-transition: all var(--motion-time-normal) var(--motion-curve-easeOut);
}

::selection {
  background-color: var(--color-background-hover);
  color: var(--color-primary-text);
}

a:hover::selection,
a:focus::selection,
a:active::selection {
  color: var(--color-link-hover);
}

/* Footer */
.footer-center p2 {
  padding-bottom: 1rem;
  font-size: 1.5rem;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;
}

.highlight-blue {
  background-color: lightblue;
  padding: 2px 4px; /* Optional: Add some padding for better effect */
  border-radius: 3px; /* Optional: Rounded edges */
}

.highlight-red {
  background-color: rgb(230, 173, 173);
  padding: 2px 4px; /* Optional: Add some padding for better effect */
  border-radius: 3px; /* Optional: Rounded edges */
}

.highlight-glow {
  font-size: 40px;
  font-weight: bold;
  color: #333; /* Text color */
  background-color: #00fff7; /* Highlighter background color */
  padding-bottom: 5px;
  border-radius: 3px;
  text-shadow: 
      0 0 5px rgb(191, 255, 0),  /* Glow effect */
      0 0 10px rgba(191, 255, 0, 0.8), 
      0 0 15px rgba(191, 255, 0, 0.6);
}

.image-section {
  margin: 0px auto;
  font-size: 115%;
  padding: 5px;
  max-width: 800px;
  text-align: right;
  margin-right: 2%;
  padding-right: 0%;
  padding-bottom: 1%;
}

.image-section .year {
  margin-right: auto; /* Push other links to the right */
  text-align: left;
}

.image-section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

body {
  font-family: "LETS Type";
  margin: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
}
th {
  background-color: #f4f4f4;
}