/* Space Grotesk - Light (300) */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300;
  src: url(https://fonts.gstatic.com/s/spacegrotesk/v16/V8mQoQDjQSkFtoMM3T6r8E7mF71Q-gOoraIAEj62UUsjNsFjTDJK.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300;
  src: url(https://fonts.gstatic.com/s/spacegrotesk/v16/V8mQoQDjQSkFtoMM3T6r8E7mF71Q-gOoraIAEj7oUUsjNsFjTDJK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Grotesk - Regular (400) */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/spacegrotesk/v16/V8mQoQDjQSkFtoMM3T6r8E7mF71Q-gOoraIAEj62UUsjNsFjTDJK.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/spacegrotesk/v16/V8mQoQDjQSkFtoMM3T6r8E7mF71Q-gOoraIAEj7oUUsjNsFjTDJK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Grotesk - Bold (700) */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/spacegrotesk/v16/V8mQoQDjQSkFtoMM3T6r8E7mF71Q-gOoraIAEj7aVksjNsFjTDJK.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/spacegrotesk/v16/V8mQoQDjQSkFtoMM3T6r8E7mF71Q-gOoraIAEj7QVksjNsFjTDJK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a {
  color: #1772d0;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

/* Animated underline for links in paragraphs */
p a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #f09228;
  transition: width 0.3s ease;
}

p a:hover::after {
  width: 100%;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Space Grotesk', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

strong {
  font-family: 'Space Grotesk', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

b {
  font-family: 'Space Grotesk', Verdana, Helvetica, sans-serif;
  font-weight: 700;
}

b a {
  font-weight: 700;
}

strong a {
  font-weight: 700;
}

h2 {
  margin: 0;
  font-weight: 400;
  font-family: 'Space Grotesk', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

.papertitle {
  font-family: 'Space Grotesk', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: 'Space Grotesk', Verdana, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 400;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

/* Research paper and experience card styles */
tr {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Add subtle shadow and hover effect to research/experience rows */
table[width="100%"] tbody tr:has(td[style*="width:25%"]):has(td[style*="width:75%"]) {
  display: block;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

table[width="100%"] tbody tr:has(td[style*="width:25%"]):has(td[style*="width:75%"]):hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

table[width="100%"] tbody tr:has(td[style*="width:25%"]):has(td[style*="width:75%"]) td {
  display: inline-block;
  vertical-align: middle;
}

/* Section background alternation */
table[border="0"][cellspacing="0"] {
  background: #fafbfc;
  border-radius: 6px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Better spacing for section headings */
h2 {
  margin: 0;
  padding-bottom: 10px;
  font-weight: 400;
  font-family: 'Space Grotesk', Verdana, Helvetica, sans-serif;
  font-size: 24px;
  letter-spacing: 0.02em;
}

/* Profile image subtle shadow */
img[alt="profile photo"] {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img[alt="profile photo"]:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}