/*
 * Theme of Crisp Minimal Resume
 * Copyright (c) David Zhang, 2019
 */
html {
  width: 100%;
  font-size: 14px; }

body {
  text-align: center;
  width: 100%;
  font-family: "Noto Sans", "Segoe UI", Roboto, Helvetica, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  margin: 0;
  color: #495057;
  background-color: #fff; }

a {
  text-decoration: none;
  color: inherit; }
  a:hover {
    text-decoration: underline; }

.container {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  max-width: 48rem;
  text-align: left; }

@media screen and (max-width: 48rem) {
  html {
    font-size: 12px; }

  .container {
    padding-left: .4rem;
    padding-right: .4rem; } }
@media print {
  html {
    font-size: 12px; }

  .print {
    display: none; } }
header {
  display: flex;
  justify-content: space-between;
  border-bottom: 0.1rem solid #adb5bd;
  padding-top: 2.2rem;
  padding-bottom: 2.2rem; }

.name-wrapper {
  padding-top: 1rem;
  padding-bottom: 1rem; }

.title {
  font-size: 2.2rem; }

.sub-title {
  font-size: 1.2rem;
  margin-top: .8rem; }

.sub-title-block {
  font-size: 1.0rem;
  margin-top: .8rem;
  color: #adb5bd;  }

.contact {
  font-size: 1rem;
  padding-top: 1rem; 
  display: flex;
  flex-direction: column; }

.contact-item {
  position: relative;
  display: inline-block;
  margin-top: .4rem; }
  .contact-item:nth-child(1) {
    margin-top: 0; }
  .contact-item:a {
    color: inherit;
    text-decoration: none; }
  .contact-item img {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 15rem;
    height: auto; }
  .contact-item.hoverable:hover img {
    display: block; }

@media screen and (max-width: 48rem) {
  header {
    display: block;
    padding-bottom: 1rem; }

  .name-wrapper {
    text-align: center;
    padding-bottom: 2rem; }

  .contact {
    padding-top: 1rem;
    border-top: 0.1rem solid #adb5bd; }

  .contact-item {
    padding-top: .2rem;
    padding-left: .4rem; } }
section {
  display: flex;
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
  padding-left: .2rem;
  border-bottom: 0.1rem solid #adb5bd;
  hyphens: auto; }

.section-title {
  font-size: 1.6rem;
  text-align: left;
  min-width: 10rem; }

.section-flex {
  display: flex;
  flex-wrap: wrap; }

.block {
  margin-bottom: 2rem; }
 
.block:last-child {
    margin-bottom: 0; }

.block-square {
  width: 18rem; }
  .block-square:nth-last-child(2) {
    margin-bottom: 0; }

.block-title {
  font-size: 1.2rem;
  margin-bottom: .4rem;
  font-weight: bold; }

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

.block-date {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;}

.block-subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #adb5bd; }

.block-content { 
  font-size: 1rem;
  line-height: 1.5;}

.block-content-item-title {
  font-size: 1rem;
  line-height: 1.5; 
  font-weight: bold; }

.block-content-item-content {
  font-size: 1rem;
  line-height: 1.5; }

.block-subtitle-bold {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.block .keywords {
  padding-top: 0.5rem; }

.block .keywords span {
    display: inline-block;
    font-size: 1rem;
    line-height: 1.2rem;
    color: #adb5bd;
    padding: 0 1rem;
    margin-right: 0.2rem;
    border: 1px solid #cfd1d7;
    border-radius: 3.5rem;
    margin-bottom: 0.5rem;
}

#projects .block-content-item-content {
    font-size: 1rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

#skills .block-content ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1rem;
  margin-block-end: 1rem;
  margin-inline-start: 0rem;
  margin-inline-end: 0rem;
  padding-inline-start: 1.5rem;
}

#skills .block-content li {
  list-style-type: disc;
}

@media screen and (max-width: 48rem) {
  section {
    display: block;
    padding-top: 2rem;
    padding-bottom: 2rem; }

  .section-title {
    text-align: center;
    margin-bottom: 2rem; }

  .section-flex {
    display: block; }

  .block-square:nth-last-child(2) {
    margin-bottom: 2rem; } }
footer {
  color: #adb5bd;
  font-size: 1rem;
  min-height: 3rem;
  line-height: 3rem;
  margin-top: 1rem;
  margin-bottom: 1rem; }
