@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@200..900&display=swap');

@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

h2 {
  margin: 0;
  font-weight: normal;
  font-family: serif;
  font-size: 26px;
}

.papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 38px;
}

.name-section {
  line-height: 1.7em;
  color: dimgray;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.colored-box {
  color: black;
  padding: 20px;
  display: inline-block;
  border-radius: 10px;
}

ul {
  padding-left: 1em;
}

#floating-button {
  position: fixed;
  font-size: 1.1em;
  right: 5em;
  bottom: 5em;
}

/* page layout */

.page {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.profile {
  display: flex;
  width: 100%;
}

.profile-info {
  box-sizing: border-box;
  align-self: center;
  width: 63%;
  padding: 2.5%;
}

.profile-photo {
  box-sizing: border-box;
  align-self: center;
  width: 37%;
  max-width: 37%;
  padding: 2.5%;
}

.profile-photo img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.gallery {
  display: flex;
  width: 100%;
  gap: 23px;
  margin: 30px 0 30px 0;
}

@media (min-width: 600px) {
  .gallery img {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 600px) {
  .gallery {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .gallery img {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

.toc {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 40px 0;
  padding: 17px 17px 1px 17px;
}

.toc-title {
  flex: none;
  min-width: 104px;
  font-family: "Noto Serif KR", serif;
}

.toc-links {
  flex: 1 1 auto;
  min-width: 0;
}

/* section heading */

.section-heading {
  font-family: "Noto Serif KR", serif;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 17px 17px 1px 17px;
}

.hash-link {
  display: inline-block;
  font-size: 1em;
}

/* entry lists (학력/프로젝트/경력사항/활동/교육사항/수상/장학) */

.entry-list {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  gap: 10px;
  padding: 10px 0;
  margin-left: auto;
  margin-right: auto;
}

.entry {
  display: flex;
  align-items: center;
}

.entry-side {
  box-sizing: border-box;
}

.entry-main {
  box-sizing: border-box;
}

.entry-side img {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* 학력: fixed-width date/label column */
.entry-list--edu .entry-side {
  width: 30%;
  padding: 16px;
}

.entry-list--edu .entry-main {
  width: 65%;
  padding: 20px;
}

/* 프로젝트/교육사항/수상/장학: image thumbnail column, sized to its content */
.entry-list--media .entry-side {
  flex: none;
  padding: 16px;
}

.entry-list--media .entry-main {
  flex: 1 1 auto;
  padding: 20px;
}

@media (max-width: 600px) {
  .entry-list--media .entry {
    flex-direction: column;
    align-items: flex-start;
  }

  .entry-list--media .entry-side {
    padding: 16px 16px 0 16px !important;
  }

  .entry-list--media .entry-main {
    align-self: stretch;
    padding: 0 20px 20px 20px !important;
  }

  .entry-list--자격사항 .entry-side,
  .entry-list--자격사항 .entry-main {
    white-space: nowrap;
  }

  #floating-button {
    display: none !important;
  }

  .mobile-break {
    display: block;
  }
}

@media (min-width: 600px) {
  .mobile-break {
    display: none;
  }
}

/* 경력사항/활동/자격사항: date column top-aligned */
.entry-list--history .entry-side {
  align-self: flex-start;
  width: 30%;
  padding: 0 0 0 16px;
}

.entry-list--history .entry-main {
  width: 65%;
  padding: 0 0 0 20px;
}

.entry-list--자격사항 .entry-side,
.entry-list--자격사항 .entry-main {
  white-space: nowrap;
}

.footer-row {
  box-sizing: border-box;
  width: 100%;
  padding: 30px 20px;
  text-align: right;
}

.footer-note {
  width: 100%;
  padding-top: 13px;
}

@media print {

  .toc,
  #floating-button,
  .gallery,
  #contact-info,
  .hash-link,
  .footer-note {
    display: none !important;
  }

  .entry {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
