/* Resume Styles */

#resume div,
#resume span,
#resume p,
#resume a,
#resume h1,
#resume h2,
#resume h3,
#resume ul,
#resume li,
#resume blockquote,
#resume header,
#resume section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

#resume header,
#resume section {
  display: block;
}

#resume p {
  display: block;
}

#resume ul {
  list-style: none;
}

#resume blockquote {
  quotes: none;
}

#resume a {
  color: #0095ff;
  text-decoration: none;
}

#resume a:hover {
  color: #0c65a5;
  text-decoration: underline;
}

#resume li {
  list-style-type: square;
  list-style-position: outside;
  margin-left: 1.3em;
}

#resume h1 {
  font-size: 2rem;
}

#resume h2 {
  font-size: 1.67rem;
}

#resume h3 {
  font-size: 1.27rem;
}

#resume em {
  color: #757575;
}

#resume strong {
  font-weight: 700;
}

body {
  background-color: #ffffff;
  color: #40484f;
  font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.46153846;
  text-align: left;
}

html {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
}

.resume-container {
  padding: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.resume-header {
  line-height: 1.5;
}

.resume-header h1.name {
  font-size: 2.8rem;
  font-weight: 100;
  line-height: 100%;
  color: #40484f;
}

.resume-header h2.label {
  color: #202931;
  font-size: 1.47rem;
  font-weight: 300;
  margin-top: 0.2em;
}

.resume-header .avatar {
  width: 11em;
  height: auto;
  float: right;
  border-radius: 4px;
  margin-left: 1em;
}

.resume-header > div > div {
  margin-right: 1.2em;
}

.resume-header .contact,
.resume-header .profiles {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
}

.resume-header .contact > div,
.resume-header .profiles > div {
  margin-right: 1.2em;
}

.resume-summary {
  background: #f1f8ff;
  padding: 1.2em 1em;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.resume-summary p {
  margin: 0;
}

.section-heading {
  display: inline-block;
  background: #fff;
  padding: 0 1em 0.3em 0;
  color: #ff6d1f;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  font-size: 0.9rem;
  position: relative;
}

.section-heading-wrapper {
  position: relative;
  margin-bottom: 0.5em;
}

.section-heading-wrapper::after {
  position: absolute;
  left: 0;
  top: 0.7em;
  height: 1px;
  background: #ccc;
  content: '';
  width: 100%;
  z-index: -100;
  display: block;
}

.resume-item {
  overflow: hidden;
  margin-bottom: 1rem;
}

.resume-item-header {
  position: relative;
}

.resume-item .position,
.resume-item .company,
.resume-item .organization,
.resume-item .institution,
.resume-item .studyType,
.resume-item .title,
.resume-item .awarder,
.resume-item .language {
  font-weight: 600;
}

.resume-item .company,
.resume-item .institution,
.resume-item .organization,
.resume-item .awarder {
  color: #606d76;
  font-weight: 400;
}

.resume-item .company::before,
.resume-item .institution::before,
.resume-item .organization::before,
.resume-item .awarder::before {
  content: ' | ';
}

.resume-item .date {
  display: block;
  font-size: 1rem;
  padding: 0.1em 0;
  color: #606d76;
  font-weight: 400;
}

.resume-item .area {
  font-weight: 600;
}

.skill-item {
  width: 16em;
  padding: 0 0.5em 0.5em 0;
}

.skill-item .keywords {
  width: 15em;
}

.resume-skills {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.skill-level {
  margin-bottom: 0.5em;
}

.skill-level em {
  padding-left: 0.2em;
  font-style: normal;
}

.skill-bar {
  border: 1px solid #ddd;
  display: block;
  width: 10em;
  height: 5px;
  position: relative;
  margin-top: 2px;
}

.skill-bar::after {
  position: absolute;
  content: ' ';
  top: 0;
  left: 0;
  height: 5px;
}

.skill-level.beginner .skill-bar::after {
  background: #eb5f51;
  width: 2.5em;
}

.skill-level.intermediate .skill-bar::after {
  background: #ffdf1f;
  width: 5em;
}

.skill-level.advanced .skill-bar::after,
.skill-level.fluent .skill-bar::after {
  background: #5cb85c;
  width: 7.5em;
}

.skill-level.master .skill-bar::after,
.skill-level.senior .skill-bar::after,
.skill-level.native .skill-bar::after {
  background: #59c596;
  width: 10em;
}

/* Skills Text Description */
.resume-skills-text {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.skill-text-item {
  margin-bottom: 0.5em;
}

.skill-text-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #40484f;
  margin-bottom: 0.3em;
}

.skill-text-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  text-align: justify;
}

.keywords,
.courses {
  margin: 0.5em 0;
}

.keywords li,
.courses li {
  display: inline-block;
  margin: 2px 2px 2px 0;
  padding: 4px 5px 5px;
  font-size: 0.9rem;
  line-height: 1;
  color: #3e6d8e;
  background-color: #dfeaf1;
  border: 0 solid #dfeaf1;
  white-space: nowrap;
}

.keywords li:hover,
.courses li:hover {
  background: #dfeaf0;
}

.highlights {
  margin: 1em 0 0 0;
  padding-left: 1.3em;
  list-style-type: square;
  list-style-position: outside;
}

.highlights > li {
  margin-bottom: 0.3em;
}

.highlights > li > p {
  margin-bottom: 0.5em;
}

.resume-languages,
.resume-interests {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.language-item,
.interest-item {
  width: 15em;
  padding: 0 0.5em 0.5em 0;
}

.interest-sub-items {
  margin-left: 1.3em;
  list-style-type: square;
  list-style-position: outside;
}

.header-info {
  display: flex;
  flex-flow: row wrap;
  gap: 0.5em;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}

.info-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.85rem;
  color: #606d76;
  background-color: #f0f0f0;
  border-radius: 3px;
}

.status-tag {
  color: #fff;
  background-color: #5cb85c;
  font-weight: 600;
}

.self-evaluation-list {
  display: flex;
  flex-direction: column;
  row-gap: 1em;
  border-left: 5px solid #ff6d1f;
  padding-left: 0.5em;
}

.self-evaluation-item {
  padding-left: 0.5em;
}

.self-evaluation-item p {
  font-style: normal;
  color: #40484f;
  margin: 0;
}

.social-icon {
  margin-right: 0.25em;
  font-size: 1.1em;
  display: inline-flex;
  align-items: center;
}

.social-icon.twitter {
  color: #00aced;
}

.social-icon.github {
  color: #171515;
}

.contact-icon {
  margin-right: 0.25em;
  color: #40484f;
  display: inline-flex;
  align-items: center;
}

@media screen and (max-width: 601px) {
  .resume-header h1.name {
    font-size: 2rem;
  }
  .resume-header h2.label {
    font-size: 1.2rem;
  }
  .resume-header .avatar {
    width: 7em;
    float: none;
    display: block;
    margin: 0 auto 1em;
  }
  .resume-header .header-content {
    text-align: center;
  }
  .resume-header .contact,
  .resume-header .profiles,
  .resume-skills,
  .resume-languages,
  .resume-interests {
    justify-content: center;
  }
}

@media print {
  #resume {
    margin: 0.1em;
    padding: 0.1em;
  }
  @page {
    margin: 1cm 1.4cm;
  }
}
