/* latin-ext */
@font-face {
  font-family: 'CMUSerif-Roman';
  font-style: normal;
  font-weight: 400;
  src: local('CMUSerif-Roman'), url("fonts/cmunrm.ttf") format('truetype');
}

/* CMU Serif Roman Bold */
@font-face {
  font-family: 'CMUSerif-Bold';
  font-style: normal;
  font-weight: 700;
  src: local('CMUSerif-Bold'), url("fonts/cmunbx.ttf") format('truetype');
}

/* CMU Sans Serif */
@font-face {
  font-family: 'CMUSans';
  font-style: normal;
  font-weight: 400;
  src: local('CMUSans'), url("fonts/cmunss.ttf") format('truetype');
}

/* CMU Sans Serif Bold */
@font-face {
  font-family: 'CMUSans-Bold';
  font-style: normal;
  font-weight: 700;
  src: local('CMUSans-Bold'), url("fonts/cmunsx.ttf") format('truetype');
}

@font-face {
  font-family: 'Avenir';
  font-style: normal;
  font-weight: 700;
  src: local('Avenir'), url("https://db.onlinewebfonts.com/t/116af611cbcd9e4bada60b4e700430c1.woff2") format('truetype');
}

@font-face {
  font-family: 'Coquette';
  font-style: normal;
  font-weight: 1000;
  src: local('Coquette'), url("https://db.onlinewebfonts.com/t/1b0c7b704d6b55a79e7882dd555839b0.woff2") format('woff');
}

@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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;
}

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

body,
td,
th,
tr,
p,
a {
  font-family: 'CMUSerif-Roman', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

strong {
  font-family: 'CMUSerif-Bold', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

h1 {
  font-weight: normal;
  font-family: 'CMUSans-Bold', Verdana, Helvetica, sans-serif;
  font-size: 38px;
}

h2 {
  margin: 0;
  font-weight: normal;
  font-family: 'CMUSans-Bold', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

h3 {
  margin: 0;
  font-weight: normal;
  font-family: 'CMUSans-Bold', Verdana, Helvetica, sans-serif;
  font-size: 20px;
}

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

.name {
  padding-top: 20px;
  margin: 0;
  font-family: 'CMUSans-Bold', Verdana, Helvetica, sans-serif;
  font-size: 32px;
}

.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;
}

.model-gallery {
  display: flex;
  justify-content: space-between; /* spread evenly */
  gap: 10px;
  max-width: 900px;
  margin: 20px auto;
}

.model-gallery figure {
  flex: 1 1 0;
  min-width: 0;
}

.model-gallery model-viewer {
  width: 100%;
  height: 250px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  display: block; /* ensure it behaves like an image */
}

.model-gallery figcaption {
  margin-top: 6px;
  font-size: 0.9em;
  color: #444;
  text-align: center; /* <--- force captions centered */
}

.banner {
            width: 100%;
            max-width: 900px;
            margin: 20px auto;
            border-radius: 10px;
            display: block;
        }
        
.link-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.link-buttons a {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: 500;
  color: white;
  background: #444;           /* default background */
  transition: background 0.3s ease;
}

.link-buttons a:hover {
  background: #666;           /* hover color */
}
