/**

 *  Template Name: Resume
 *  Description: Resume HTML Template
 *  Author: Jincheng Li
 *  Date: 2025-01-31
 *  Version: 1.0

**/

@font-face {
  font-family: "Nunito Regular";
  src: url("../font/Nunito-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Nunito Bold";
  src: url("../font/Nunito-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
html {
  font-size: 16px;
}
body {
  font-family: "Nunito Regular", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  color: #121314;
}
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #0078d7, #1e90ff);
  color: #fff;
  padding: 5px 10%;
}
.language-switcher {
  display: flex;
  gap: 10px;
}
.language-switcher a {
  color: #fff;
  font-size: 1.1em;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid #fff;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}
.language-switcher a:hover {
  background-color: #fff;
  color: #0078d7;
}
.profile-container {
  width: 80%;
  margin: 0 auto;
  text-align: left;
}
.profile-container img {
  max-width: 140px;
  max-height: 140px;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .profile-container > div:first-child {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profile-container img {
    width: 50%;
    height: 50%;
    margin-bottom: 20px;
  }
  .social-links {
    justify-content: center;
    margin-top: 20px;
  }
}
.profile-container h1 {
  margin: 0;
  font-size: 1.8em;
}
.profile-container p {
  font-size: 1.15em;
  margin: 5px 0;
}
.profile-container a {
  color: #0078d7;
  text-decoration: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.profile-container a:hover {
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.social-links a {
  text-decoration: none;
  font-size: 1.5em;
}
hr {
  border: none;
  height: 1px;
  background-color: #ddd;
  margin: 20px 0;
}
p {
  font-family: "Nunito Regular";
  font-weight: normal;
}
b {
  font-family: "Nunito Bold";
  font-weight: bold;
}
h4 {
  font-size: 0.9em;
  margin: 0;
  font-weight: bold;
}
.content-section {
  text-align: left;
  font-family: "Nunito Regular";
  font-weight: normal;
}
.section {
  font-family: "Nunito Regular";
  font-weight: normal;
}
footer {
  text-align: center;
}
