@font-face {
  font-family: 'Noto Serif TC';

  font-style: normal;

  font-weight: 500;

  font-display: swap;

  src: url('/assets/fonts/noto-serif-tc-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Serif TC';

  font-style: normal;

  font-weight: 600;

  font-display: swap;

  src: url('/assets/fonts/noto-serif-tc-600.woff2') format('woff2');
}

/*! tailwindcss v2.2.4 | MIT License | https://tailwindcss.com */

/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

*,
::before,
::after {
  box-sizing: border-box;
}

/**
Use a more readable tab size (opinionated).
*/

html {
  -moz-tab-size: 4;
  -o-tab-size: 4;
     tab-size: 4;
}

/**
1. Correct the line height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
*/

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/*
Sections
========
*/

/**
Remove the margin in all browsers.
*/

body {
  margin: 0;
}

/**
Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
*/

body {
  font-family:
		system-ui,
		-apple-system, /* Firefox supports this but not yet `system-ui` */
		'Segoe UI',
		Roboto,
		Helvetica,
		Arial,
		sans-serif,
		'Apple Color Emoji',
		'Segoe UI Emoji';
}

/*
Grouping content
================
*/

/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
}

/*
Text-level semantics
====================
*/

/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/**
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		'Liberation Mono',
		Menlo,
		monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
Tabular data
============
*/

/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
}

/*
Forms
=====
*/

/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
Remove the inheritance of text transform in Edge and Firefox.
1. Remove the inheritance of text transform in Firefox.
*/

button,
select { /* 1 */
  text-transform: none;
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'] {
  -webkit-appearance: button;
}

/**
Remove the inner border and padding in Firefox.
*/

::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
Restore the focus styles unset by the previous rule.
*/

/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
  padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Interactive
===========
*/

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/**
 * Manually forked from SUIT CSS Base: https://github.com/suitcss/base
 * A thin layer on top of normalize.css that provides a starting point more
 * suitable for web applications.
 */

/**
 * Removes the default spacing and border for appropriate elements.
 */

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

button {
  background-color: transparent;
  background-image: none;
}

fieldset {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/**
 * Tailwind custom reset styles
 */

/**
 * 1. Use the user's configured `sans` font-family (with Tailwind's default
 *    sans-serif font stack as a fallback) as a sane default.
 * 2. Use Tailwind's default "normal" line-height so the user isn't forced
 *    to override it to ensure consistency even when using the default theme.
 */

html {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 1 */
  line-height: 1.5; /* 2 */
}

/**
 * Inherit font-family and line-height from `html` so users can set them as
 * a class directly on the `html` element.
 */

body {
  font-family: inherit;
  line-height: inherit;
}

/**
 * 1. Prevent padding and border from affecting element width.
 *
 *    We used to set this in the html element and inherit from
 *    the parent element for everything else. This caused issues
 *    in shadow-dom-enhanced elements like <details> where the content
 *    is wrapped by a div with box-sizing set to `content-box`.
 *
 *    https://github.com/mozdevs/cssremedy/issues/4
 *
 *
 * 2. Allow adding a border to an element by just adding a border-width.
 *
 *    By default, the way the browser specifies that an element should have no
 *    border is by setting it's border-style to `none` in the user-agent
 *    stylesheet.
 *
 *    In order to easily add borders to elements by just setting the `border-width`
 *    property, we change the default border-style for all elements to `solid`, and
 *    use border-width to hide them instead. This way our `border` utilities only
 *    need to set the `border-width` property instead of the entire `border`
 *    shorthand, making our border utilities much more straightforward to compose.
 *
 *    https://github.com/tailwindcss/tailwindcss/pull/116
 */

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: currentColor; /* 2 */
}

/*
 * Ensure horizontal rules are visible by default
 */

hr {
  border-top-width: 1px;
}

/**
 * Undo the `border-style: none` reset that Normalize applies to images so that
 * our `border-{width}` utilities have the expected effect.
 *
 * The Normalize reset is unnecessary for us since we default the border-width
 * to 0 on all elements.
 *
 * https://github.com/tailwindcss/tailwindcss/issues/362
 */

img {
  border-style: solid;
}

textarea {
  resize: vertical;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}

button,
[role="button"] {
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/**
 * Reset links to optimize for opt-in styling instead of
 * opt-out.
 */

a {
  color: inherit;
  text-decoration: inherit;
}

/**
 * Reset form element properties that are easy to forget to
 * style explicitly so you don't inadvertently introduce
 * styles that deviate from your design system. These styles
 * supplement a partial reset that is already applied by
 * normalize.css.
 */

button,
input,
optgroup,
select,
textarea {
  padding: 0;
  line-height: inherit;
  color: inherit;
}

/**
 * Use the configured 'mono' font family for elements that
 * are expected to be rendered with a monospace font, falling
 * back to the system monospace stack if there is no configured
 * 'mono' font family.
 */

pre,
code,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/**
 * 1. Make replaced elements `display: block` by default as that's
 *    the behavior you want almost all of the time. Inspired by
 *    CSS Remedy, with `svg` added as well.
 *
 *    https://github.com/mozdevs/cssremedy/issues/14
 * 
 * 2. Add `vertical-align: middle` to align replaced elements more
 *    sensibly by default when overriding `display` by adding a
 *    utility like `inline`.
 *
 *    This can trigger a poorly considered linting error in some
 *    tools but is included by design.
 * 
 *    https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210
 */

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/**
 * Constrain images and videos to the parent width and preserve
 * their intrinsic aspect ratio.
 *
 * https://github.com/mozdevs/cssremedy/issues/14
 */

img,
video {
  max-width: 100%;
  height: auto;
}

*, ::before, ::after {
  --tw-border-opacity: 1;
  border-color: rgba(229, 231, 235, var(--tw-border-opacity));
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  --tw-bg-opacity: 1;
  background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
  font-family: Noto Serif TC, serif;
  --tw-text-opacity: 1;
  color: rgba(0, 0, 0, var(--tw-text-opacity));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-moz-selection {
  background: #1e3a8a;
  color: #fff;
}

::selection {
  background: #1e3a8a;
  color: #fff;
}

.nest {
  clip-path: polygon(25% 0, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: linear-gradient(270deg, rgba(30, 58, 138, 0.045) -0.03%, rgba(30, 85, 138, 0.01575) 100%);
  background-blend-mode: color, normal, normal;
}

/* Skip link */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: #1e3a8a;
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* Header */

.site-header {
  z-index: 60;
}

.site-nav a {
  border-bottom: 2px dotted transparent;
  padding-bottom: 6px;
}

.site-nav a.is-active {
  color: #0056a7;
  border-bottom-color: #0056a7;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 3rem 4rem;
  background: #1e3a8a;
  color: #fff;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a.is-active {
  border-bottom: 2px dotted rgba(255, 255, 255, 0.8);
}

.no-scroll {
  overflow: hidden;
}

/* Home honeycomb */

.hex-tile {
  display: block;
  color: #1e3a8a;
  background: transparent;
  transition: background-color 0.18s ease;
}

.hex-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  overflow: hidden;
  transition: opacity 0.18s ease;
}

.hex-media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

/* The original tile composites a blue colour layer over the photo, then fades
     the whole tile to 20% opacity. This keeps the same tint without inline CSS. */

.hex-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #2f5496;
  mix-blend-mode: color;
}

.hex-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 6%;
  text-align: center;
}

.hex-label {
  display: block;
  white-space: nowrap;
}

.hex-list {
  display: none;
  text-align: left;
  line-height: 1.5;
}

.hex-list ul {
  list-style: disc;
  padding-left: 1.2em;
}

.hex-tile:focus-visible {
  background-color: #fff;
}

.hex-tile:focus-visible .hex-media {
  opacity: 0;
}

.hex-tile:focus-visible .hex-label {
  display: none;
}

.hex-tile:focus-visible .hex-list {
  display: block;
}

.hex-tile:active .hex-media {
  opacity: 0.05;
}

/* Do not trap the first tap on touch devices in a hover state. */

@media (hover: hover) {
  .hex-tile:hover {
    background-color: #fff;
  }

  .hex-tile:hover .hex-media {
    opacity: 0;
  }

  .hex-tile:hover .hex-label {
    display: none;
  }

  .hex-tile:hover .hex-list {
    display: block;
  }
}

.home-fade {
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0) 90%, #fff),
      linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, #fff);
}

/* Mobile honeycomb chain (desktop honeycomb is reflowed into one readable column) */

.home-mobile-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 8rem 0 3.5rem;
}

.home-mobile-stack .hex-tile {
  width: 58vw;
  height: 50.75vw;
  padding-top: 0;
  margin-bottom: -5.5vw;
}

.home-mobile-stack .hex-tile:nth-child(odd) {
  transform: translateX(-4vw);
}

.home-mobile-stack .hex-tile:nth-child(even) {
  transform: translateX(4vw);
}

.home-mobile-stack .hex-tile:last-child {
  margin-bottom: 0;
}

.home-mobile-stack .hex-label {
  font-size: 4.4vw;
}

/* Projects category tabs */

.projects-tabs-wrap {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 18px,
      #000 calc(100% - 18px),
      transparent 100%
    );
  mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 18px,
      #000 calc(100% - 18px),
      transparent 100%
    );
}

.projects-tabs-wrap::-webkit-scrollbar {
  display: none;
}

.projects-tabs {
  --tab-gap: clamp(18px, 2vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  padding: 0 32px;
}

.projects-tab-set {
  display: flex;
  align-items: center;
  gap: var(--tab-gap);
}

.projects-tabs.is-looping .projects-tab-set {
  padding-right: var(--tab-gap);
}

.projects-tab {
  flex: 0 0 auto;
  padding-bottom: 4px;
  border-bottom: 2px dotted transparent;
  color: #6b7280;
  font-size: clamp(15px, 1.55vw, 22px);
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.projects-tab:hover {
  color: #1e3a8a;
}

.projects-tab.is-active {
  color: #1e3a8a;
  border-bottom-color: #1e3a8a;
}

/* Project gallery */

.gallery-item {
  display: block;
  cursor: zoom-in;
  background-color: #f3f4f6;
}

.gallery-item img {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.015);
}

.gallery-item:focus-visible {
  outline-offset: 4px;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7vh 4vw;
  background: rgba(0, 0, 0, 0.96);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.lightbox-close,
  .lightbox-prev,
  .lightbox-next {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 9999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.18s ease;
}

.lightbox-close:hover,
  .lightbox-prev:hover,
  .lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev {
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.floating-contact a {
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

body.footer-visible .floating-contact a {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
}

@media (max-width: 767px) {
  .projects-tabs {
    padding: 0 20px;
  }

  .projects-tab {
    font-size: 5.6vw;
  }

  /* Keep the last honeycomb tile readable on phones; only fade the sides. */

  .home-fade {
    background: linear-gradient(
        to right,
        #fff,
        rgba(255, 255, 255, 0) 8%,
        rgba(255, 255, 255, 0) 92%,
        #fff
      );
  }

  .lightbox {
    padding: 5vh 4vw;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
    *::before,
    *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.pointer-events-none {
  pointer-events: none;
}

.visible {
  visibility: visible;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.top-0 {
  top: 0px;
}

.top-4 {
  top: 1rem;
}

.top-1\/2 {
  top: 50%;
}

.right-4 {
  right: 1rem;
}

.right-6 {
  right: 1.5rem;
}

.right-24 {
  right: 6rem;
}

.right-right-nest {
  right: 18.6%;
}

.bottom-12 {
  bottom: 3rem;
}

.left-0 {
  left: 0px;
}

.left-1\/2 {
  left: 50%;
}

.left-full {
  left: 100%;
}

.-left-left-nest {
  left: -81.4%;
}

.z-50 {
  z-index: 50;
}

.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-grid3 {
  margin-top: -5.2%;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-7 {
  margin-right: 1.75rem;
}

.-mr-1 {
  margin-right: -0.25rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-nest {
  margin-bottom: 7.6%;
}

.ml-8 {
  margin-left: 2rem;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.h-fit {
  height: -moz-fit-content;
  height: fit-content;
}

.h-56px {
  height: 56px;
}

.h-63vw {
  height: 63.75vw;
}

.max-h-full {
  max-height: 100%;
}

.w-16 {
  width: 4rem;
}

.w-1\/2 {
  width: 50%;
}

.w-3\/5 {
  width: 60%;
}

.w-5\/6 {
  width: 83.333333%;
}

.w-full {
  width: 100%;
}

.w-grid3 {
  width: 86%;
}

.w-grid4 {
  width: 119.2%;
}

.w-menu {
  width: 60.6%;
}

.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}

.w-56px {
  width: 56px;
}

.max-w-336 {
  max-width: 336px;
}

.transform {
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes pulse {
  50% {
    opacity: .5;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8,0,1,1);
  }

  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0,0,0.2,1);
  }
}

.resize {
  resize: both;
}

.list-inside {
  list-style-position: inside;
}

.list-circle {
  list-style-type: circle;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-grid3 {
  grid-template-columns: 23.48% 23.48% 23.48%;
}

.grid-cols-grid4 {
  grid-template-columns: 16.95% 16.95% 16.95% 16.95%;
}

.grid-cols-menu {
  grid-template-columns: 33.3% 33.3% 33.3%;
}

.flex-col {
  flex-direction: column;
}

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

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-x-grid3 {
  -moz-column-gap: 14.83%;
       column-gap: 14.83%;
}

.gap-x-grid4 {
  -moz-column-gap: 10.7%;
       column-gap: 10.7%;
}

.self-end {
  align-self: flex-end;
}

.overflow-auto {
  overflow: auto;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-1vw {
  border-radius: 1vw;
}

.border-b-2 {
  border-bottom-width: 2px;
}

.border-dotted {
  border-style: dotted;
}

.border-tblue {
  --tw-border-opacity: 1;
  border-color: rgba(0, 86, 167, var(--tw-border-opacity));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
}

.bg-ablue {
  --tw-bg-opacity: 1;
  background-color: rgba(30, 58, 138, var(--tw-bg-opacity));
}

.bg-whatsapp {
  --tw-bg-opacity: 1;
  background-color: rgba(37, 211, 102, var(--tw-bg-opacity));
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-white {
  --tw-gradient-from: #fff;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.to-transparent {
  --tw-gradient-to: rgba(255,255,255,0);
}

.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-1 {
  padding: 0.25rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-5 {
  padding: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-14 {
  padding-top: 3.5rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pt-grid4 {
  padding-top: 4.45%;
}

.pt-nest {
  padding-top: 87.5%;
}

.pt-menu {
  padding-top: 14.2%;
}

.pb-7 {
  padding-bottom: 1.75rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

.pb-14 {
  padding-bottom: 3.5rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.pb-32 {
  padding-bottom: 8rem;
}

.pb-full {
  padding-bottom: 100%;
}

.pl-4 {
  padding-left: 1rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.font-serif {
  font-family: Noto Serif TC, serif;
}

.text-f12 {
  font-size: 12px;
}

.text-f14 {
  font-size: 14px;
}

.text-f16 {
  font-size: 16px;
}

.text-f18 {
  font-size: 18px;
}

.text-f32 {
  font-size: 32px;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.text-black {
  --tw-text-opacity: 1;
  color: rgba(0, 0, 0, var(--tw-text-opacity));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgba(255, 255, 255, var(--tw-text-opacity));
}

.text-ablue {
  --tw-text-opacity: 1;
  color: rgba(30, 58, 138, var(--tw-text-opacity));
}

.hover\:text-tblue:hover {
  --tw-text-opacity: 1;
  color: rgba(0, 86, 167, var(--tw-text-opacity));
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

*, ::before, ::after {
  --tw-shadow: 0 0 #0000;
}

*, ::before, ::after {
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgba(59, 130, 246, 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
}

.filter {
  --tw-blur: var(--tw-empty,/*!*/ /*!*/);
  --tw-brightness: var(--tw-empty,/*!*/ /*!*/);
  --tw-contrast: var(--tw-empty,/*!*/ /*!*/);
  --tw-grayscale: var(--tw-empty,/*!*/ /*!*/);
  --tw-hue-rotate: var(--tw-empty,/*!*/ /*!*/);
  --tw-invert: var(--tw-empty,/*!*/ /*!*/);
  --tw-saturate: var(--tw-empty,/*!*/ /*!*/);
  --tw-sepia: var(--tw-empty,/*!*/ /*!*/);
  --tw-drop-shadow: var(--tw-empty,/*!*/ /*!*/);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

@media (min-width: 768px) {
  .\37 68\:mt-0 {
    margin-top: 0px;
  }

  .\37 68\:ml-6 {
    margin-left: 1.5rem;
  }

  .\37 68\:block {
    display: block;
  }

  .\37 68\:flex {
    display: flex;
  }

  .\37 68\:grid {
    display: grid;
  }

  .\37 68\:hidden {
    display: none;
  }

  .\37 68\:h-23vw {
    height: 23vw;
  }

  .\37 68\:w-72 {
    width: 18rem;
  }

  .\37 68\:w-71vw {
    width: 71.44vw;
  }

  .\37 68\:w-73vw {
    width: 73.7vw;
  }

  .\37 68\:max-w-552 {
    max-width: 552px;
  }

  .\37 68\:max-w-664 {
    max-width: 664px;
  }

  .\37 68\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .\37 68\:items-start {
    align-items: flex-start;
  }

  .\37 68\:items-center {
    align-items: center;
  }

  .\37 68\:gap-6 {
    gap: 1.5rem;
  }

  .\37 68\:gap-12 {
    gap: 3rem;
  }

  .\37 68\:pt-8 {
    padding-top: 2rem;
  }

  .\37 68\:pt-10 {
    padding-top: 2.5rem;
  }

  .\37 68\:pt-16 {
    padding-top: 4rem;
  }

  .\37 68\:pt-24 {
    padding-top: 6rem;
  }

  .\37 68\:pb-0 {
    padding-bottom: 0px;
  }

  .\37 68\:pb-10 {
    padding-bottom: 2.5rem;
  }

  .\37 68\:pb-24 {
    padding-bottom: 6rem;
  }

  .\37 68\:text-left {
    text-align: left;
  }

  .\37 68\:text-f16 {
    font-size: 16px;
  }

  .\37 68\:text-f24 {
    font-size: 24px;
  }
}

@media (min-width: 832px) {
  .\38 32\:block {
    display: block;
  }

  .\38 32\:max-w-434 {
    max-width: 434px;
  }
}

@media (min-width: 900px) {
  .\39 00\:mb-32 {
    margin-bottom: 8rem;
  }

  .\39 00\:block {
    display: block;
  }

  .\39 00\:w-63vw {
    width: 63.75vw;
  }

  .\39 00\:max-w-768 {
    max-width: 768px;
  }

  .\39 00\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .\39 00\:items-end {
    align-items: flex-end;
  }

  .\39 00\:justify-between {
    justify-content: space-between;
  }

  .\39 00\:whitespace-nowrap {
    white-space: nowrap;
  }

  .\39 00\:text-left {
    text-align: left;
  }

  .\39 00\:text-right {
    text-align: right;
  }

  .\39 00\:text-black {
    --tw-text-opacity: 1;
    color: rgba(0, 0, 0, var(--tw-text-opacity));
  }
}

@media (min-width: 1280px) {
  .\31 280\:-top-14 {
    top: -3.5rem;
  }

  .\31 280\:mt-16 {
    margin-top: 4rem;
  }

  .\31 280\:h-30vw {
    height: 30.8vw;
  }

  .\31 280\:w-85vw {
    width: 85vw;
  }

  .\31 280\:w-93vw {
    width: 93vw;
  }

  .\31 280\:max-w-1088 {
    max-width: 1088px;
  }

  .\31 280\:max-w-1188 {
    max-width: 1188px;
  }

  .\31 280\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .\31 280\:pt-14 {
    padding-top: 3.5rem;
  }

  .\31 280\:pt-20 {
    padding-top: 5rem;
  }
}

@media (min-width: 640px) {
}

@media (min-width: 768px) {
}

@media (min-width: 1024px) {
}

@media (min-width: 1280px) {
}

@media (min-width: 1536px) {
}
