/* Ubuntu, Ubuntu */
@import url(https://fonts.googleapis.com/css?family=Ubuntu);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono);
@import url(https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&display=swap);

body {
  font-family: "Ubuntu", sans-serif;
  font-weight: 350;
  color: #333;
  line-height: 1.5;
  font-size: 16px;
}

a,
a:hover {
  /* color: #a00; */
  color: #388;
  text-decoration: none;
}

html,
button,
input,
select,
textarea {
  color: #222;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: none;
  height: 1px;
  border: 0;
  /* border-top: 1px solid #ccc; */
  margin: 1rem 0;
  padding: 0;
}

audio,
canvas,
img,
video {
  width: 100%;
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

blockquote {
  margin-left: 1rem;
  font-style: italic;
  font-size: 1.4rem;
  font-family: Georgia, bitstream charter, serif;
  border-left: 3px solid;
  border-color: #a00;
  padding-left: 20px;
}

blockquote cite {
  font-size: 70%;
  opacity: 0.8;
}
span {
    display: block;
}


a:hover {
  text-decoration: underline;
}

h1,
h3,
h4,
h5,
h6 {
  font-family: Ubuntu, raleway, sans-serif;
  line-height: 1.2;
  color: #330;
  font-weight: 100;
  margin-bottom: 15px;
  margin-top: 20px;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: 2rem;
  line-height: 2;
  color: #330;
  font-weight: 100;
  margin-bottom: 15px;
  margin-top: 20px;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

h5 {
  font-weight: 300;
  font-size: 1rem;
}

h6 {
  font-weight: 300;
  font-size: 0.9rem;
}

.container {
  max-width: 800px;
}

ul {
  padding-left: 0px;
}

ul.flat {
  margin: 0px;
  padding: 0px;
}

ul.flat li {
  display: inline-block;
  list-style: none;
  margin-left: 0;
  /* margin-bottom: 10px; */
}
.introduction ul.flat li {
  display: inline-block;
  list-style: none;
  margin-top: 5px;
  margin-left: 0;
  margin-bottom: 10px;

  border-bottom: 0.5px solid #ccc; 
  padding-bottom: 5px; /* Optional: Add some padding at the bottom of each item */
  width: 100%; /* Make the list items take the full width of the container */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.prevent-collapse {
  min-height: 0.1rem;
}

.page-title {
  margin: 0;
}

.smaller {
  font-size: 70%;
}

ul {
  list-style: disc inside;
}



.highlight pre {
  margin-bottom: 0;
  margin-top: 0;
  padding: 20px;
  background-color: #fafafa !important;
}

.highlight {
  background: 0 0;
}

.wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.container {
  margin-top: 50px;
}

.header {
  margin-bottom: 20px;
  /* padding-bottom: 20px; */
}

.header .profile_image {
  display: block;
  margin-left: auto;
  margin-right: 5px;
  margin-bottom: 10px; 
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  float: right;
}
.nav.social {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column; /* Arrange items vertically */
  align-items: flex-end;  /* Align items to the right */
  padding-right: 20px;    /* Optional: Add padding to the right */
}
.social-icons {
  display: flex;
  flex-direction: row; /* Arrange icons horizontally */
  /* justify-content: flex-end;  */
  width: 100%;
  margin-top: 5px; /* Optional: Add space between image and icons */
}
.header h1,
.header h2 {
  margin: 0;
  padding: 0;
  font-size: 2rem;
  line-height: 1.3em;
}

.header h2 {
  font-size: 1.125rem;
}

.header nav {
  margin-top: 20px;
  /* font-size: 5pt; */
  /* border-top: 1px solid #f4f4f4; */
}

.header nav ul,
.header nav li {
  margin: 0px;
}

.header nav ul.flat {
  padding: 0;
  /* margin-left: 50px; */
}

/* .header nav ul.flat li {
  display: inline-block;
  list-style: none;
  margin-left: 0;
  margin-right: 10px;
  margin-top: 10px;
  text-transform: capitalize;
} */

.header .site-affilation {
  display: flex;
  /* justify-content: space-between; */
  align-items: center; 
}

.header .site-affilation .email {
   /*color: #a00; */
  /* margin-top: 2%; */
  font-size: 15px;
  /* display: block; */
  font-family: "Ubuntu Mono";
  font-weight: lighter;
  display: flex;
  align-items: center; 
  /* Align items vertically */
}

.header .site-affilation .feather-14{
  padding-right: 5px;
  vertical-align: middle; 
  /* color: #a00; */
  width: 14px;
  height: 14px;
}

.header .site-affilation .position {
  /* color: #a00; */
  /* font-size: 14px; */
  /* display: block; */
  font-family: Ubuntu;
  font-weight: 350;
}
.header .site-affilation .affilation {
  align-self: flex-start;
  flex: 1 1 50%;
}

.header .site-affilation nav {
  margin: 0;
  padding: 0;
  border: none;
}

.header .link-icon {
  margin-right: 5px; /* Adjust this value to control the space */
  text-decoration: none; /* Optional: Remove underline if you want */
  display: inline-block; /* Ensure they are treated as inline-blocks */
}

.header .site-affilation nav ul svg {
  max-height: 15px;
}

/* header for projects */
.header .logo {
  display: block;
  margin-top: 2%;
  margin-bottom: -2%;
  margin-left: auto;
  margin-right: auto;
  max-width: 10%;
  height: auto;
}

.page_title {
  font-family: Ubuntu;
  font-weight: bolder;
  font-size: 1.5em;
  margin-top: 10%;
  display: block;
}

.page_meta {
  display: block;
  font-family: "Ubuntu Mono";
  font-size: 14px;
}

.page_meta_icon {
  font-weight: .5em;
}



.collaborators {
  font-size: 15px;
  margin-left: .9em;
  margin-top: .1em;
  font-weight: 200;
}
.conference {
  font-size: 15px;
  font-style: italic;
  margin-left: .9em;
  margin-top: .1em;
  font-weight: 200;
}

.year {
  font-size: 20px;
  margin-bottom: -.6em;
}

.project {
  margin: .5em -.5em 0em;
}

.publications {
  margin-left: 0em;
  font-weight: 800;
}

.code_blog {
    font-family: "Ubuntu Mono";
    font-size: 14px;
    /* margin: 0em .9em 0em; */
}

.blog_cv {
    font-family: "Ubuntu Mono";
    font-size: 17px;
    /* margin: 0em .9em 0em; */
}

.project_description {
 margin: .5em .9em 0em;
}

.section .section-header {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.recent-posts .posts .introduction {
  margin-bottom: 30px;
}

.recent-posts .posts .introduction .meta,
.introduction .introduction-header .meta,
.list .posts .introduction .meta {
  font-size: 0.725rem;
  color: #999;
  margin-bottom: 4px;
}

.introduction .introduction-header {
  margin-bottom: 30px;
}

.introduction .introduction-header .title {
  margin: 0;
}

.introduction .introduction-header .meta {
  padding-left: 5px;
  margin-top: 10px;
}

.list .posts .introduction .meta {
  margin-bottom: 0;
  margin-left: 5px;
}

.footer {
  text-align: right;
  font-size: 0.75em;
  color: #999;
  border-top: 1px solid #f4f4f4;
  padding: 20px 0;
  margin-top: 40px;
}

.page-title {
  margin-bottom: 0;
}

.tag-cloud {
  margin-top: 20px;
}

.tag-cloud a {
  margin-right: 15px;
}



@media (max-width: 767px) {
  body {
    padding: 20px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1rem;
  }

  .container {
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px; 
  }
}

/* Education */
/* .introduction ul li {
  margin-bottom: 20px;
} */

.introduction ul li p {
  display: inline;
}

.education-list {
  list-style: none;
  padding: 0;
}

.education-item {
  margin-bottom: 10px; 
  border-bottom: 0px solid #ccc; /* Optional: Add a separator line between items */
  padding-bottom: 5px; /* Optional: Add some padding at the bottom of each item */
  /* display: flex;
  justify-content: space-between;
  align-items: flex-start; */
}
.education-item h5 {
  margin: 0;
  font-size: 12pt; /* Adjust the font size as needed */
  /* font-weight: 400; */
  font-style: oblique; 
}

.education-details {
  font-size: 11pt; /* Adjust the font size for the details */
  color: #5c5c5c; /* Adjust the color as needed */
}
.date-range {
  float: right; /* Align the date range to the right */
}

.miscs {
  font-size: 11pt; /* Adjust the font size for the details */
  color: #5c5c5c; /* Adjust the color as needed */
}