/* latin-ext */
@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;
}

/* alex-brush */
@font-face {
  font-family: alex-brush;
  src: url(./fonts/alex-brush/AlexBrush-Regular.ttf);
}

/* kaushan-script */
@font-face {
  font-family: kaushan-script;
  src: url(./fonts/kaushan-script/KaushanScript-Regular.otf);
}

/* Space-Grotesk. reserved for labels */
@font-face {
  font-family: Space-Grotesk;
  src: url(./fonts/Space_Grotesk/SpaceGrotesk-VariableFont_wght.ttf);
}

/* Montserrat */
@font-face {
  font-family: Montserrat;
  src: url(./fonts/Montserrat/Montserrat-VariableFont_wght.ttf);
  font-weight: 100 900;
}

/* Lobster-Regular */
@font-face {
  font-family: Lobster;
  src: url(./fonts/Lobster/Lobster-Regular.ttf);
  font-weight: 100 900;
}

/* ShipporiMincho-Medium */
@font-face {
  font-family: ShipporiMincho;
  src: url(./fonts/Shippori_Mincho/ShipporiMincho-Medium.ttf);
  font-weight: 100 900;
}

a {
  color: #1772d0;
  text-decoration: none;
}

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

body,
td,
th,
tr,
p,
a {
  /* font-family: 'Lato', Verdana, Helvetica, sans-serif; */
  /* font-family: 'Montserrat', sans-serif; */
  font-family: 'Verdana', sans-serif;
  font-size: 15px;
  font-weight: 400;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
}

h2 {
  margin: 0;
  font-weight: normal;
  font-family: 'Montserrat', sans-serif;
  /* font-family: 'Lato', Verdana, Helvetica, sans-serif; */
  font-size: 22px;
  font-weight: 470;
}

.papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.name {
  padding-top: 20px;
  margin: 0;
  /* font-family: 'Lato', Verdana, Helvetica, sans-serif; */
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  /* Academic Font */
  /*font-family: Georgia, Helvetica, Arial, Verdana, san-serif, Times;*/
  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;
}

/* the next three format is for the map */
.footer-container {
  display: flex;
  align-items: flex-start; /* 垂直对齐方式 */
  margin-top: 20px; /* 上边距 */
}

/* 左侧地图大小 */
.clustrmap-container {
  width: 175px; /* 设置宽度 */
  height: 175px; /* 设置高度 */
  overflow: hidden; /* 隐藏溢出部分 */
  margin-right: 20px; /* 右边距 */
  margin-left: 90px; /* 左边距 */
}

/* 右侧文字 */
.right-content {
  flex-grow: 1; /* 占据剩余空间 */
}

/* "welcome to my website" */
.welcome-text {
  font-family: 'Georgia', serif;
  color: #ffce08;
  font-size: 25px;
  font-weight: bold;
  padding-left: 20px;
}

/* "clicks" */
.hit-counter-text {
  font-family: 'alex-brush';
  color: #18b95e;
  font-size: 22px;
  font-weight: bold;
  display: inline;
  padding-left: 300px;
  padding-right: 10px;
}

/* "have a nice day" */
.wish-text {
  font-family: 'kaushan-script';
  color: #28a3f0;
  font-size: 23px;
  font-weight: bold;
  padding-left: 50px;
}


/* Sidebar */
.sidebar {
  width: 200px;
  background-color: #f4f4f4;
  padding: 15px;
  position: fixed;
  height: 100%;
  overflow: auto;
}
.sidebar a {
  display: block;
  color: black;
  padding: 10px;
  text-decoration: none;
}
.sidebar a:hover {
  background-color: #ddd;
}


/* topbar */
.topbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 250, 240, 0.8); /* background */
  /* 玻璃模糊效果; Safari 支持 */
  /* backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);  */
  padding: 10px 0;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
  margin-bottom: 30px;
}

.topbar a {
  margin: 0 15px;
  padding: 5px 10px;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: black;
  position: relative;
}

.topbar a:hover {
  /* background-color: #ddd; */
  text-decoration: none;
  position: relative;
}

.topbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  background-color: #E6B980;  /* 下划线颜色 */
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.topbar a:hover::after {
  width: 85%;  /* 下划线长度 */
}

/* Home Link */
.topbar a.home-link {
  font-family: 'Space-Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 770;
}

/* used to locate relatively */
[id] {
  scroll-margin-top: 50px;
}


/* fonts */
.lobster {
  font-family: 'Lobster', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.ShipporiMincho-jp {
  font-family: "ShipporiMincho", sans-serif;
  /* font-optical-sizing: auto; */
  /* font-weight: 500; */
  font-style: normal;
}

.montserrat {
  /* font-family: 'Lato', Verdana, Helvetica, sans-serif; */
  font-family: 'Montserrat', sans-serif;
  /* Academic Font */
  /*font-family: Georgia, Helvetica, Arial, Verdana, san-serif, Times;*/
}
