html,
body {
  height: 100%;
  margin: 0;
  /*
    https://css-pattern.com/
  */
  --s: 194px;
  /* control the size*/
  --c1: #5e412f;
  --c2: #fcebb6;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0) 18.75%, var(--c1) 0 31.25%, rgba(0, 0, 0, 0) 0), repeating-linear-gradient(45deg, var(--c1) -6.25% 6.25%, var(--c2) 0 18.75%);
  background-size: var(--s) var(--s);
}

body {
  font-family: system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  color: #FFFFFF;
  padding: 0.5rem 1rem;
}
.site-header .header-container {
  padding: 1rem;
  background-color: #714d33;
  border-radius: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 70ch;
  margin: 0 auto;
  box-shadow: 0.5rem 0.5rem rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .site-header .header-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.5rem;
  }
  .site-header .site-title {
    text-align: center;
    margin-bottom: 0.5rem;
  }
  .site-header .site-title img {
    height: 40px;
  }
  .site-header .main-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .site-header .main-nav ul li a {
    padding: 0.5rem;
    text-align: center;
  }
}
.site-header .site-title img {
  height: 50px;
  width: auto;
  margin-left: 10px;
}
.site-header .site-title a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  display: block;
  transition: opacity 0.2s;
}
.site-header .site-title a:hover, .site-header .site-title a:focus {
  opacity: 0.9;
  outline: none;
}
.site-header .site-title a:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}
.site-header .main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}
.site-header .main-nav ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s;
}
.site-header .main-nav ul li a:hover, .site-header .main-nav ul li a:focus {
  background-color: #94735c;
  outline-offset: 2px;
}

.site-content {
  padding: 0.5rem 1rem;
  flex: 1;
  display: flex;
}
.site-content .content-container {
  max-width: 70ch;
  margin: 0 auto;
  padding: 1rem;
  background-color: #714d33;
  border-radius: 1rem;
  box-shadow: 0.5rem 0.5rem rgba(0, 0, 0, 0.2);
  flex: 1;
}

.site-footer {
  padding: 0.5rem 1rem;
}
.site-footer .footer-content {
  max-width: 70ch;
  margin: 0 auto;
  padding: 1rem;
  background-color: #714d33;
  color: #FFFFFF;
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0.5rem 0.5rem rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.site-footer .footer-content .footer-section p {
  margin: 0;
  font-size: 0.95rem;
}
.site-footer .footer-content .social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
.site-footer .footer-content .social-links a {
  color: #FFFFFF;
  transition: opacity 0.2s;
}
.site-footer .footer-content .social-links a:hover, .site-footer .footer-content .social-links a:focus {
  opacity: 0.7;
  outline: none;
}
.site-footer .footer-content .social-links a:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}
.site-footer .footer-content .social-links a svg {
  display: block;
}
.site-footer .footer-content .footer-tagline {
  margin-top: 1rem;
}
.site-footer .footer-content .footer-tagline p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.8;
}
.site-footer .footer-content .footer-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.site-footer .footer-content .footer-credit p {
  margin: 0;
}

.page-home .home-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.page-home .home-intro > h1 {
  color: #FFB366;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.page-home .home-intro .tagline {
  color: #E8E8E8;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.page-home .home-intro .education-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.page-home .home-intro .education-cards .education-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  transition: all 0.2s;
  text-decoration: none;
}
.page-home .home-intro .education-cards .education-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #FFB366;
}
.page-home .home-intro .education-cards .education-card .education-logo {
  height: 128px;
  width: 128px;
  object-fit: contain;
  flex-shrink: 0;
}
.page-home .home-intro .education-cards .education-card .education-info {
  flex: 1;
}
.page-home .home-intro .education-cards .education-card .education-info h3 {
  color: #FFB366;
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}
.page-home .home-intro .education-cards .education-card .education-info p {
  color: #E8E8E8;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}
.page-home .home-intro .main-projects {
  margin-top: 4rem;
}
.page-home .home-intro .main-projects h2 {
  color: #FFB366;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.page-home .home-intro .main-projects .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.page-home .home-intro .main-projects .projects-grid .project-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.5rem;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.2s;
}
.page-home .home-intro .main-projects .projects-grid .project-card:hover, .page-home .home-intro .main-projects .projects-grid .project-card:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #FFB366;
  text-decoration: none;
}
.page-home .home-intro .main-projects .projects-grid .project-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}
.page-home .home-intro .main-projects .projects-grid .project-card .project-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.page-home .home-intro .main-projects .projects-grid .project-card .project-content .project-title {
  color: #FFB366;
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
}
.page-home .home-intro .main-projects .projects-grid .project-card .project-content .project-desc {
  color: #E8E8E8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.page-about > h1, .page-about h2, .page-about h3, .page-about h4, .page-about h5, .page-about h6 {
  color: #FFB366;
}
.page-about > h2 {
  border-bottom: 2px solid #FFB366;
}
.page-about > p {
  line-height: 1.8;
  color: #FFFFFF;
}
.page-about > a {
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.2s;
}
.page-about > a:hover, .page-about > a:focus {
  opacity: 0.7;
  text-decoration: underline;
}

.project-tag {
  display: inline-block;
  background: #FFFFFF;
  color: #714d33;
  font-size: 0.85em;
  padding: 0.2em 0.5em;
  margin: 0.1em 0.2em 0.2em 0;
  border-radius: 1em;
  white-space: nowrap;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  color: #FFFFFF;
}
.project-container .project-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.2s;
}
.project-container .project-card h3,
.project-container .project-card p {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.project-container .project-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}
.project-container .project-card .project-content {
  display: flex;
  flex-direction: column;
}
.project-container .project-card .project-content .project-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-container .project-card:hover, .project-container .project-card:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #FFB366;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

@media (max-width: 700px) {
  .project-container {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .project-container .project-card {
    padding: 0.5rem;
  }
  .project-container .project-card img {
    height: 110px;
  }
}
.project-detail h1, .project-detail h2, .project-detail h3, .project-detail h4, .project-detail h5, .project-detail h6 {
  color: #FFB366;
}
.project-detail header {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  position: relative;
}
.project-detail header h1 {
  color: #FFFFFF;
  margin-bottom: 0.3em;
}
.project-detail header .project-github-link-corner {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #FFFFFF;
}
.project-detail header .project-subtitle {
  font-size: 1.1em;
  color: #E8E8E8;
  margin-top: 0;
  margin-bottom: 0.5em;
}
.project-detail header .project-banner {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}
.project-detail header .project-date {
  font-size: 0.9em;
  color: #E8E8E8;
  margin-top: 0.5em;
}
.project-detail .project-images {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
}
.project-detail .project-images::-webkit-scrollbar {
  height: 8px;
}
.project-detail .project-images::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.project-detail .project-images {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) #FFB366;
}
.project-detail .project-images a {
  flex-shrink: 0;
  display: block;
}
.project-detail .project-images .project-additional-image {
  height: 250px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}
.project-detail .project-description {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  line-height: 1.6;
  color: #FFFFFF;
}
.project-detail .project-description h1, .project-detail .project-description h2, .project-detail .project-description h3 {
  color: #FFB366;
}
.project-detail .project-description p {
  margin: 0;
  color: #E8E8E8;
}
.project-detail .project-content {
  margin-bottom: 1rem;
  line-height: 1.6;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #FFFFFF;
}
.project-detail .project-content h1, .project-detail .project-content h2, .project-detail .project-content h3 {
  color: #FFB366;
}
.project-detail .project-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 0.5rem 0;
}
.project-detail .project-links {
  margin-bottom: 1rem;
}
.project-detail .project-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
}
.project-detail .project-links li {
  display: inline-block;
}
.project-detail .project-links a {
  color: #FFB366;
  text-decoration: none;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
}
.project-detail .project-links a:hover {
  opacity: 0.7;
}
.project-detail .project-links a svg {
  display: block;
}
.project-detail .project-tags {
  margin-top: 1rem;
}
.project-detail .project-tags h3 {
  margin-bottom: 0.5em;
}
.project-detail .project-tags ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.project-detail .project-tags li {
  display: inline-block;
  background: #FFFFFF;
  color: #714d33;
  font-size: 0.85em;
  font-weight: 500;
  padding: 0.3em 0.7em;
  margin: 0.2em 0.3em 0.2em 0;
  border-radius: 1em;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

/*# sourceMappingURL=main.css.map */