* {
  box-sizing: border-box;
}

body {
  background-color: #fff;
  font-family: "Maven Pro", sans-serif !important;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0 !important;
}

p {
  margin-bottom: 0 !important;
}

nav {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  /* border: 1px solid black; */
  align-items: center;
  font-size: 14px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
  margin-bottom: 0;
  font-weight: 500;
}

nav a {
  text-decoration: none;
  color: #000;
  /* font-size: 14px; */
}

.time {
  font-weight: 700;
}

.place {
  color: #989898;
  font-weight: 500;
}

.logo {
  font-size: 24px;
  background-color: #000;
  color: #fff;
  padding: 2px 10px;
  border-radius: 5px;
  font-weight: 600;
}

.bottom-nav {
  display: none;
  background-color: #ffff;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow at the top */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 5000;
}

.bottom-nav h4 {
  font-size: 18px;
  text-align: left;
}

.bottom-burger {
  background-color: #f5f5f0;
  color: #000;
  padding: 15px 25px;
  font-size: 18px;
  width: 80px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.action a {
  text-decoration: none;
  color: #000;
}

.hero {
  /* border: 1px solid #000; */
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 150px;
}

.hero img {
  width: 80px;
}

.hero h1 {
  font-size: 54px;
}

.hero h2 {
  font-size: 42px;
  font-weight: 400;
}

.hero p {
  font-size: 16px;
  color: #989898;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-right .buttons {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

#email-btn {
  border: none;
  background-color: #000;
  border-radius: 10px;
  color: #fff;
  padding: 10px 20px;
}

.hero-right .buttons button {
  border: none;
  background-color: #000;
  border-radius: 10px;
  color: #fff;
  padding: 10px 20px;
}

#publication-btn {
  border: 1px solid #e8e9df;
  background-color: transparent;
  color: #000;
}

/* experience section */

.experience-container {
  background-color: #f5f5f0;
}

.experience {
  padding-top: 100px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 60px;
}

.work i {
  background-color: #ffff;
  padding: 15px;
  border-radius: 10px;
  height: fit-content;
}

.work {
  display: flex;
  gap: 10px;
  /* align-items: center; */
}

.work h4 {
  font-size: 20px;
  font-weight: 400;
}

.work h4 span {
  font-weight: 600;
}

.work p {
  color: #989898;
  font-size: 14px;
}

.work-experience > h1 {
  font-weight: 400;
}

.line {
  height: 2px;
  background-color: #e6e8dd;
}

/* publications */
.publications {
  padding-top: 100px;
  padding-bottom: 100px;
}

.publication-container {
  background-color: #f5f5f0;
}

.publications > h1 {
  font-weight: 400;
}

.publication-list {
  margin-top: 60px;
}

.publication-list a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.publication-list i {
  font-size: 20px;
  background-color: #e6e8dd;
  padding: 20px;
  border-radius: 500px;
  transform: rotate(-45deg);
}

/* Add this CSS */
.publication-list tr:hover {
  background-color: #e6e8dd; /* Change this color as desired */
}

footer {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  background-color: #000;
  color: #fff;
}

footer button {
  margin-top: 40px;
  width: fit-content;
  border: none;
  /* background-color: #000; */
  background-color: #fff;
  border-radius: 10px;
  color: #000;
  padding: 10px 20px;
}

footer p:last-of-type {
  color: #989898;
}

footer span {
  color: #fff;
}

table tr {
  cursor: pointer;
}

footer i {
  font-size: 20px;
}

/* research area */
.research-area-container {
  padding-top: 100px;
  padding-bottom: 100px;
}

.research-area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.area {
  border: 1px solid #e6e8dd;
  border-radius: 12px;
  padding: 20px;
}

.research-area-container h1 {
  font-weight: 400;
}

.area i {
  background-color: #f5f5f0;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.area p {
  color: #989898;
  font-size: 14px;
  margin-top: 10px;
}

.area h4 {
  font-weight: 400;
}

.current-container {
  padding-bottom: 100px;
}

.current-container h1 {
  font-weight: 400;
}

.current-list {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.current p {
  color: #989898;
  font-size: 14px;
  margin-top: 10px;
}

.current {
  border: 1px solid #e6e8dd;
  border-radius: 12px;
  padding: 20px;
  font-size: 14px;
}

.current:last-of-type {
  /* background-color: #f5f5f0; */
  background-color: #000;
  color: #fff;
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.current:last-of-type button {
  border: none;
  background-color: #fff;
  border-radius: 10px;
  color: #000;
  padding: 10px 20px;
}

.current a {
  text-decoration: none;
  color: #000;
}

.current ul {
  margin-top: 10px;
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.current h4 {
  margin-bottom: 5px !important;
  font-weight: 400;
}

.current i {
  color: gray;
}

.keywords {
  display: flex;
  gap: 5px;
}

.keywords span {
  border: 1px solid #e6e8dd;
  padding: 5px 10px;
  border-radius: 10px;
}

/* teaching */
.teaching-container h1 {
  font-weight: 400;
}

.teaching {
  border: 1px solid #e6e8dd;
  border-radius: 12px;
  padding: 20px;
  font-size: 14px;
}

.teaching p {
  font-size: 14px;
  background-color: #f5f5f0;
  padding: 5px 20px;
  border-radius: 10px;
  width: fit-content;
  margin-bottom: 10px !important;
}

.teaching h4 {
  font-weight: 400;
  font-size: 16px;
}

.teaching-list {
  margin-top: 60px;
  margin-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.research-section {
  background-color: #f5f5f0;
}

.research-container {
  padding-top: 100px;
  padding-bottom: 100px;
  max-width: 1000px !important;
  margin: auto;
}

.research {
  /* background-color: #fff; */
  border: 2px solid #e6e8dd;
  border-radius: 12px;
  padding: 20px;
  font-size: 14px;
}

.research a {
  text-decoration: none;
}

.research p {
  text-align: justify;
}

.research-title a {
  color: #000;
  font-weight: 400;
}

.research-citation {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.research-link {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 500;
}

.research-item {
  position: relative;
  cursor: pointer;
}

.tldr {
  transition: all 0.3s ease;
}

.abstract {
  display: none;
  margin-top: 1rem;
}

.research-item:hover .abstract,
.research-item:focus-within .abstract {
  display: block;
}

.research-container h1 {
  font-weight: 400;
}

.research-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 60px;
}

.skills {
  margin-bottom: 100px;
}

.skills h1 {
  font-weight: 400;
}

.badge-large {
  font-size: 16px;
  border: 1px solid #e6e8dd;
  border-radius: 10px;
  padding: 0 10px;
  display: inline-block;
}

#mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background-color: #fff;
  color: #000;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

#mobile-nav.active {
  display: block;
  transform: translateY(0);
}

#close {
  display: none;
}

#close.icon-active {
  display: block;
}

.bottom-burger {
  display: flex;
  gap: 10px;
  align-items: center;
}

#burger {
  font-size: 24px;
  cursor: pointer;
}

#close {
  font-size: 26px;
  cursor: pointer;
}

.mobile-nav-container {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

#mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#mobile-nav .logo {
  width: fit-content;
}

.mobile-nav-container {
  padding: 30px;
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-header i {
  font-size: 24px;
}

.mobile-menu a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 28px;
}

.mobile-menu {
  margin-top: 60px;
}

.recent-update-container {
  max-width: 1000px;
  margin: auto;
}

.recent-update-container h1 {
  font-weight: 400;
}

.recent-update-container ul {
  margin-top: 60px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 0;
  padding-left: 0;
}

.recent-update {
  margin-top: 100px;
  margin-bottom: 100px;
}

.recent-update-container ul li {
  color: #989898;
}

@media only screen and (max-width: 600px) {
  header {
    padding: 0 10px;
  }

  section {
    padding: 0 10px;
  }

  .large-menu {
    display: none;
  }

  .bottom-nav {
    display: flex;
    justify-content: space-between;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .experience {
    grid-template-columns: 1fr;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero h2 {
    font-size: 22px;
  }

  .hero p {
    font-size: 14px;
  }

  .work h4 {
    font-size: 16px;
  }

  .work-list {
    gap: 15px;
    margin-top: 20px;
  }

  .line {
    height: 1px;
  }

  .publications {
    padding-top: 60px;
  }

  .publication-list td,
  .publication-list th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .publication-list td {
    max-width: 100px !important;
  }

  .publication-list th,
  .publication-list td {
    padding: 5px; /* Reduce padding for smaller screens */
  }

  footer {
    padding-bottom: 150px;
  }

  .research-area-container {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .research-area-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .current-container {
    padding-bottom: 50px;
  }

  .current-list {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .teaching-list {
    margin-top: 20px;
    margin-bottom: 50px;
    grid-template-columns: 1fr;
  }

  .skill-list {
    margin-top: 20px;
  }

  .mobile-timezone {
    text-align: center;
  }

  #mobile-nav ul {
    width: fit-content;
  }

  .mobile-menu {
    display: flex;
    justify-content: center;
  }

  .research-list {
    margin-top: 20px;
  }

  .recent-update-container ul {
    margin-top: 20px;
  }
}
