@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmsans/v15/rP2Yp2ywxg089UriI5-g7M8btVsD8Ck0q7u0-K4.woff2) format('woff2');
}
@font-face {
  font-family: 'Baskervville SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baskervvillesc/v1/X7n94bc_DeKlh6bBbk_WiKnBSUvh6F52.woff2) format('woff2');
}
:root {
  --bg: #EAEAEA;
  --fg: #0F0F10;
  --dg: #07070a;
  --muted: #6B6B6B;
  --line: #D1D1D1;
}
html {
  scroll-behavior: smooth;
}
html, body, .offcanvas, .grey {
  font-family: "DM Sans", sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: "Baskervville SC", serif;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3rem, 10vw, 8.5rem);
}
h2 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
}
h3 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.1;
}
h5 {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}
.display-4 {
  font-family: "Baskervville SC", serif;
  font-size: clamp(2.5rem, 6vw, 4rem) !important;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
a, a.nav-link {
  color: var(--fg);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease;
}
a:hover, a.nav-link:hover {
  opacity: 0.5;
}
a.linkes {
  text-decoration: none;
}
.actives {
  border-bottom: 1px solid var(--fg);
  padding-bottom: 3px;
}
.caps {
  text-transform: uppercase;
}
.caps-sm {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8em;
}
.small {
  font-size: 0.85em;
  color: var(--muted);
  line-height: 1.6;
}
::selection {
  color: var(--bg);
  background: var(--fg);
}
.img-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.img-icon-footer {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.slide img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.zoom {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.zoom:hover {
  transform: scale(1.03);
}
.img-cover-section {
  width: 100%;
  height: 650px;
  object-fit: cover;
}
.img-section-project {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.img-section-project-detail {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.img-section-services {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.btn, button {
  border-radius: 0;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
}
.page-link {
  background-color: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.9rem;
}
.page-link:hover {
  background-color: var(--fg);
  color: var(--bg);
  border-radius: 0;
}
.form-control {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 1.2rem 0;
  font-size: 1.1rem;
}
.form-control:focus {
  background-color: transparent;
  border-color: var(--fg);
  box-shadow: none;
}
.lintong {
  transition: all 0.2s ease;
  display: inline-block;
}
.lintong:hover {
  background-color: var(--fg);
  color: var(--bg);
  padding-left: 10px;
  padding-right: 10px;
}
@media (max-width: 1024px) {
  html, body, .offcanvas, .grey {
    font-size: 17px;
  }
  .img-cover-section { height: 500px; }
  .img-section-project-detail { height: 400px; }
}
@media (max-width: 768px) {
  html, body, .offcanvas, .grey {
    font-size: 16px;
  }
  h1 { line-height: 0.95; }
  h2 { line-height: 0.95; }
  .slide img { height: 360px; }
  .img-cover-section { height: 400px; }
  .img-section-project { height: 260px; }
  .img-section-project-detail { height: 320px; }
  .img-section-services { height: 200px; }
}

.offcanvas-body .display-4 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem) !important;
  line-height: 1;
  letter-spacing: -0.02em;
}
.offcanvas-body .ms-3 {
  margin-left: 0 !important;
  padding: 0.25rem 0 !important;
}
.navbar-brand {
  font-family: "Baskervville SC", serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem) !important;
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 400;
}
.navbar {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.navbar-brand {
  font-family: "Baskervville SC", serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  font-weight: 400;
}
h1, h2, h3, .display-4 {
  text-transform: uppercase;
  font-weight: 400;
}
h1 span, h2 span {
  text-transform: none;
}
.offcanvas-body .display-4 {
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
section, .border-top, .border-bottom {
  border-width: 1px !important;
}
.btn {
  border: 1px solid var(--fg);
  padding: 0.8rem 1.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}
.btn:hover {
  background: var(--fg);
  color: var(--bg);
}
h2, h3 {
  text-decoration: none !important;
}
h1, h2 {
  text-decoration: none !important;
  border-bottom: none !important;
}
h1 u, h2 u, h3 u {
  text-decoration: none !important;
}
.prose, .content-body, main p {
  max-width: 72ch;
  line-height: 1.8;
  font-size: 1.05rem;
}
.blog-meta {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.img-section-project-detail {
  height: 600px;
}
@media (max-width: 768px) {
  .prose, .content-body, main p {
    max-width: 100%;
  }
}
.border-none {border: none;}
/**
 * okaidia theme for JavaScript, CSS and HTML
 * Loosely based on Monokai textmate theme by http://www.monokai.nl/
 * @author ocodia
 */

code[class*="language-"],
pre[class*="language-"] {
	color: #f8f8f2;
	background: none;
	text-shadow: 0 1px rgba(0, 0, 0, 0.3);
	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
	font-size: 1em;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.5;

	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;

	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

/* Code blocks */
pre[class*="language-"] {
	padding: 1em;
	margin: .5em 0;
	overflow: auto;
	border-radius: 0.3em;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
	background: #272822;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
	padding: .1em;
	border-radius: .3em;
	white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: #8292a2;
}

.token.punctuation {
	color: #f8f8f2;
}

.token.namespace {
	opacity: .7;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
	color: #f92672;
}

.token.boolean,
.token.number {
	color: #ae81ff;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
	color: #a6e22e;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
	color: #f8f8f2;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
	color: #e6db74;
}

.token.keyword {
	color: #66d9ef;
}

.token.regex,
.token.important {
	color: #fd971f;
}

.token.important,
.token.bold {
	font-weight: bold;
}
.token.italic {
	font-style: italic;
}

.token.entity {
	cursor: help;
}
/*
 * New diff- syntax
 */

pre[class*="language-diff-"] {
	--eleventy-code-padding: 1.25em;
	padding-left: var(--eleventy-code-padding);
	padding-right: var(--eleventy-code-padding);
}
.token.deleted {
	background-color: hsl(0, 51%, 37%);
	color: inherit;
}
.token.inserted {
	background-color: hsl(126, 31%, 39%);
	color: inherit;
}

/* Make the + and - characters unselectable for copy/paste */
.token.prefix.unchanged,
.token.prefix.inserted,
.token.prefix.deleted {
	-webkit-user-select: none;
	user-select: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-top: 2px;
	padding-bottom: 2px;
}
.token.prefix.inserted,
.token.prefix.deleted {
	width: var(--eleventy-code-padding);
	background-color: rgba(0,0,0,.2);
}

/* Optional: full-width background color */
.token.inserted:not(.prefix),
.token.deleted:not(.prefix) {
	display: block;
	margin-left: calc(-1 * var(--eleventy-code-padding));
	margin-right: calc(-1 * var(--eleventy-code-padding));
	text-decoration: none; /* override del, ins, mark defaults */
	color: inherit; /* override del, ins, mark defaults */
}