:root {
  --resume-bg-color: #22333b;
  --resume-accent-color: #3c6e71;
  --resume-highlight-color: #549fa3;
  --resume-border-thickness: 3px;

  --resume-panel-left: 23%;
  --resume-panel-right: 78%;
}

*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #eaeaea;
}

::before,
::after {
  --tw-content: "";
}

html {
  line-height: 1.25;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  /* 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"; */

  font-family: Helvetica;
  font-feature-settings: normal;
  font-variation-settings: normal;
  background-color: var(--resume-bg-color);
}

body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

/* Page Border */
.rounded-page {
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 3rem 0 rgba(0, 0, 0, 0.75),
    0 2rem 4rem 0 rgba(0, 0, 0, 0.5) !important;
}

@media print {
  .rounded-page {
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}

/* Header */
.page-header {
  text-align: center;
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 2.25rem;
  user-select: none;
  /* margin-top: 0.25rem; */
}

.page-subheader {
  text-align: center;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.5rem;
  user-select: none;
}

.page-header-gap {
  margin-top: 0.5rem;
}

img.portrait {
  border-radius: 50%;
  height: 8rem;
  width: 8rem;
  margin-left: 1.25rem;
  /* border: var(--resume-accent-color) var(--resume-border-thickness) solid; */
  user-select: none;
}

/* */
.col-left,
.col-right {
  width: 100%;
}
.col-right {
  /* border-left: var(--resume-accent-color) 2px solid; */
  padding-left: 1rem !important;
}

#col-main,
#col-compact {
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .col-left {
    width: var(--resume-panel-left);
  }
  .col-right {
    width: var(--resume-panel-right);
  }
}
@media (max-width: 639px) {
  .col-right {
    border-left: none;
    padding-left: 0 !important;
  }

  .page-header-gap {
    margin-top: 0.75rem;
  }

  #col-main {
    gap: 0.75rem;
  }
  #col-compact {
    gap: 0.75rem;
    display: none;
  }
  .py-10 {
    padding: 0 !important;
  }
}

@media print {
  .col-left {
    width: var(--resume-panel-left);
  }
  .col-right {
    width: var(--resume-panel-right);
  }
}

.no-shrink {
  flex-shrink: 0;
}

/* categories */
.category-header {
  text-align: left;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.75rem;
  user-select: none;
  border-bottom: var(--resume-accent-color) 2px solid;
}

.category-main-info {
  font-size: 0.85rem;
  line-height: 1rem;
}

.category-sub-info {
  text-align: left;
  font-size: 0.8rem;
  line-height: 1rem;
  padding-top: 0.15rem;
}

.category-sub-info li {
  list-style-type: disc;
  margin-left: 1rem;
}

.category-sub-info li::marker {
  color: var(--resume-accent-color);
}

.category-links {
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 0.9rem;
}

.category-links li {
  width: 100%;
  display: inline-flex;
}

.category-links i,
.category-links svg {
  color: var(--resume-accent-color);
  height: 1rem;
  width: 1rem;
  margin-right: 0.25rem;
}

.category-address {
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 0.9rem;
}

.category-skills {
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 0.9rem;
}

.category-education,
.category-references {
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 0.85rem;
}

.category-education .category-header {
}

/* Print Button */
.print-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.8rem 0.8rem;
  border: 0;
  border-radius: 9999px;
  background-color: var(--resume-accent-color) !important;
  color: #d9d9d9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font: 600 18px/1 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  user-select: none;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.print-btn:hover {
  filter: brightness(1.1);
  background: var(--resume-highlight-color);
  color: #ffffff;
}

.print-btn:active {
  transform: translateY(1px) scale(0.99);
}

.print-btn:focus-visible {
  outline: var(--resume-accent-color) var(--resume-border-thickness) solid;
  outline-offset: var(--resume-border-thickness);
}

.print-label {
  white-space: nowrap;
}

@media print {
  .print-btn {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .print-btn {
    transition: none;
  }
}

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

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

/*
Remove the default font size and weight for headings.
*/

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;
}

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

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", 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;
}

/*
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)
3. Remove gaps between table borders by default.
*/

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

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

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

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

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

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

:-moz-ui-invalid {
  box-shadow: none;
}

/*
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 */
}

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

summary {
  display: list-item;
}

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

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

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

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

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

/*
Set the default cursor for buttons.
*/

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

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

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;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

*,
::before,
::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --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;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --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;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-12 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.flex {
  display: flex;
}

.hidden {
  display: none;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

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

.w-full {
  width: 100%;
}

.max-w-full {
  max-width: 100%;
}

.flex-1 {
  flex: 1 1 0%;
}

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

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

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

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.bg-blue-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity));
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

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

.p-4 {
  padding: 1rem;
}

.px-4 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity));
}

.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color),
    0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

@page {
  margin: 0;
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

@media print {
  .print\:flex {
    display: flex;
  }

  .print\:hidden {
    display: none;
  }

  .print\:aspect-\[8\.5\/11\] {
    aspect-ratio: 8.5/11;
  }

  .print\:h-\[100vh\] {
    height: 100vh;
  }

  .print\:w-\[52rem\] {
    width: 52rem;
  }

  .print\:flex-row {
    flex-direction: row;
  }

  .print\:items-end {
    align-items: flex-end;
  }

  .print\:justify-end {
    justify-content: flex-end;
  }

  .print\:rounded-none {
    border-radius: 0px;
  }

  .print\:p-16 {
    padding: 2rem;
  }

  .print\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .print\:py-0 {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .print\:underline {
    text-decoration-line: underline;
  }

  .print\:shadow-none {
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
      var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
}

@media (min-width: 640px) {
  .sm\:flex {
    display: flex;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:max-w-\[52rem\] {
    max-width: 52rem;
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:items-end {
    align-items: flex-end;
  }

  .sm\:justify-end {
    justify-content: flex-end;
  }
}

@media (min-width: 768px) {
  .md\:p-16 {
    padding: 1.25rem 2rem 2rem 2rem;
  }
}

@media (min-width: 1024px) {
  .lg\:aspect-\[8\.5\/11\] {
    aspect-ratio: 8.5/11;
  }
}

@media (min-width: 400px) {
  .\[\@media\(min-width\:400px\)\]\:page-header {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
