/* Main page with stikky-footer
-------------------------------------------------- */
@import "pygments.css";
@import url(//fonts.googleapis.com/css?family=Oswald:400,700|Open+Sans:400,700);
/* Light mode */
:root {
  --content-max-width: 768px;
  --avatar-size: 460px; /* homepage avatar size */
  --primary-color: #111111;
  --secondary-color: #666666;
  --font-color: #111111;
  --bg-color: #ffffff;
  --heading-color: #111111;
  --border-color: #e5e5e5;
  --accent-color: #444444;
  --icon-color: #111111;
  --link-color: #444444;
  --link-highlight: rgba(0, 0, 0, 0.10);
  --accent-secondary-color: #666666;
}
/* Dark mode */
[data-theme="dark"] {
  --primary-color: #f2f2f2;
  --secondary-color: #b5b5b5;
  --font-color: #f2f2f2;
  --bg-color: #0f0f0f;
  --heading-color: #f2f2f2;
  --border-color: var(--bg-color);
  --accent-color: #d0d0d0;
  --link-color: #d0d0d0;
  --icon-color: #f2f2f2;
  --link-highlight: rgba(255, 255, 255, 0.14);
  --accent-secondary-color: #b5b5b5;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

html,body {
  position: relative;
  height: 100%;
  background-color: var(--bg-color);
  color: var(--font-color);
  font-family: 'Source Sans Pro', sans-serif;
  /* The html and body elements cannot have any padding or margin. */
  font-size: 16px;
}

.fa {
  color: var(--icon-color);
}

/* Wrapper for page content to push down footer */
#wrap {
  padding-bottom: 50px;
  min-height: 100%;
  height: auto;
  /* Negative indent footer by its height */
  margin: 0 auto -65px;
  /* Pad bottom by footer height */
  /*padding: 0 0 60px;*/
}

/* Navbar
-------------------------------------------------- */

img {
  max-width: 100%;
}
a.nostyle:link {
  text-decoration: inherit;
  color: inherit;
}

.navbar-nav>li>a {
  line-height: 15px;
}

a.nostyle:visited {
  text-decoration: inherit;
  color: inherit;
  cursor: auto;
}
.navbar-static-top {
  margin-bottom: 7px;
}
.navbar-default {
  background-color: transparent;
  background-image: none;
  border-color: transparent;
  border-width: 0;
  font-size: 14px;
  border-radius: 0;
  margin-left: 0;
  margin-right: 0;
  box-shadow: none;
}
.navbar {
  width: 100%;
  box-shadow: none;
}
.navbar .container {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.navbar-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.navbar-default .navbar-brand {
  color: var(--font-color);
}
.navbar-header {
  padding-left: 0;
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
  color: var(--font-color);
}
.navbar-default .navbar-text {
  color: var(--font-color);
}
.navbar-default .navbar-nav > li > a {
  color: var(--font-color);
  size: 14px;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
  color: var(--font-color);
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  color: var(--font-color);
  background-color: #ffffff;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
  color: var(--font-color);
  background-color: #ffffff;
}
.navbar-default .navbar-toggle {
  border-color: transparent;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
  background-color: transparent;
}
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:active,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus-visible {
  outline: none;
  box-shadow: none;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: var(--font-color);
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: var(--font-color);
}
.navbar-default .navbar-link {
  color: var(--font-color);
}
.navbar-default .navbar-link:hover {
  color: var(--font-color);
}
@media (max-width: 800px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: var(--font-color);
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: var(--font-color);
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: var(--font-color);
    background-color: #ffffff;
  }
}

/* Theme toggle icon */
.theme-toggle {
  cursor: pointer;
}
.theme-toggle i {
  font-size: 1.1em;
}
.theme-toggle:focus,
.theme-toggle:active,
.theme-toggle:hover,
.theme-toggle:focus-visible {
  outline: none;
  box-shadow: none;
}

.navbar-mobile-controls {
  display: none;
}

@media (max-width: 767px) {
  .navbar {
    position: relative;
  }

  .navbar-header {
    width: 100%;
    padding-right: 0;
  }

  .navbar-mobile-controls {
    display: flex;
    align-items: center;
    float: right;
    margin-right: -12px;
  }

  .navbar-mobile-controls .navbar-toggle {
    margin-left: 6px;
    margin-right: 0;
    border: none;
    background: transparent;
  }

  .navbar-mobile-controls .navbar-toggle:hover,
  .navbar-mobile-controls .navbar-toggle:focus {
    background: transparent;
  }

  .navbar-theme-toggle {
    display: none;
  }

  .navbar-collapse .navbar-theme-toggle {
    display: none !important;
  }

  .navbar.navbar-default .navbar-collapse {
    position: absolute;
    top: 100%;
    right: 16px;
    left: auto;
    z-index: 1000;
    width: 168px;
    background: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 4px 0;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 150ms ease, transform 150ms ease;
  }

  .navbar.navbar-default .navbar-collapse.collapse {
    display: none;
  }

  .navbar.navbar-default .navbar-collapse.collapse.in {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .navbar.navbar-default .navbar-collapse.collapsing {
    height: auto;
    transition: none;
  }

  .navbar.navbar-default .navbar-collapse .navbar-nav {
    margin: 0;
  }

  .navbar.navbar-default .navbar-collapse .navbar-nav > li > a {
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.2;
  }
}

[data-theme="dark"] .navbar.navbar-default .navbar-collapse {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

/* Custom page CSS
-------------------------------------------------- */
a:hover {
  color: var(--font-color);
}
.flexrow{
  width: 10%;
  max-width: 200px;
  margin: auto 0;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.somespacing{
  margin-right: 12px;
  margin-left: 12px;
}
.socialwidth{
  width: auto;
  text-align: center
}
.container {
  width: auto;
  max-width: var(--content-max-width);
}
.container .text-muted {
  margin: 20px 0;
}
.centered {
  width: auto;
  max-width: 800px;
  text-align: center
}
.img-responsive {
 display: block;
 height: auto;
 max-width: 100%;
}
.panel-default {
  border-color: var(--bg-color);
  border-style: none;
}
.panel-default h4 {
  text-align: left;
  margin-top: 30px;
  line-height: 30px;
  font-size: 18px;
}
.panel-default h5 {
  text-align: left;
  line-height: 30px;
  font-size: 18px;
}
.panel-default h6 {
  font-size: 15px;
}
.panel{
  border-style: none;
  border-color: var(--bg-color);
  background-color: var(--bg-color);
}
.panel-body {
  padding-top: -10px;
  color: var(--font-color);
  background-color: var(--bg-color);
}
.social {
  padding-top: 12px;
  word-spacing: 25px;
  text-align: center;
}
.social h4 > a {
  color: var(--icon-color);
}
.avatar {
  padding-top: 5%;
}
.avatar img {
  /* Homepage avatar: keep full image visible (no circle crop). */
  display: block;
  width: var(--avatar-size);
  height: auto;
  max-width: 90vw;
  margin: 0 auto;
  border-radius: 0;
}
.blog-post{
  padding-top: 15px;
}
.blog-title{
  padding-top: 2px;
}
.related-posts h4 {
  text-align: center;
}
.page-not-found {
  padding-top: 20%;
}

/* Footer
-------------------------------------------------- */

footer {
  height: 40px;
  padding-top: 15px;
  text-align: center;
}
.footer {
  display: block;
  text-decoration: none !important;
}
.text-muted {
	color: var(--font-color);
}
div.footer{
  border-bottom: 5px solid var(--link-color);;
}

a{
  color: var(--link-color);
  text-decoration: none;
  box-shadow: inset 0 -0.45em 0 var(--link-highlight);
  transition: box-shadow 120ms ease, color 120ms ease;
}

a:hover,
a:focus {
  color: var(--font-color);
  box-shadow: inset 0 -0.9em 0 var(--link-highlight);
}

/* Keep header/navigation links clean (no highlight bar). */
.navbar a,
.navbar a:hover,
.navbar a:focus,
.navbar a:visited,
.navbar a:active {
  box-shadow: none;
}

/* Links that explicitly opt out of styling. */
a.nostyle:link,
a.nostyle:visited {
  box-shadow: none;
}

.label-info{
  background-color: var(--link-color);;
}

.testing{
  padding-top: 5px;
  width: 100%;
}

/* GALLERY - Zoom.css
-------------------------------------------------- */
img[data-action="zoom"] {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
}
.zoom-img,
.zoom-img-wrap {
  position: relative;
  z-index: 99999;
  -webkit-transition: all 300ms;
       -o-transition: all 300ms;
          transition: all 300ms;
}
img.zoom-img {
  cursor: pointer;
  cursor: -webkit-zoom-out;
  cursor: -moz-zoom-out;

  filter: none;
  -webkit-filter: blur(0px);
  -moz-filter: blur(0px);
  -ms-filter: blur(0px);
  filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='0');
  backface-visibility: hidden;
  transform: translateZ(0);
}
.zoom-overlay {
  z-index: 9999;
  background: var(--bg-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  filter: "alpha(opacity=0)";
  opacity: 0;
  -webkit-transition:      opacity 300ms;
       -o-transition:      opacity 300ms;
          transition:      opacity 300ms;
}
.zoom-overlay-open .zoom-overlay {
  filter: "alpha(opacity=100)";
  opacity: 1;
}
.zoom-overlay-open,
.zoom-overlay-transitioning {
  cursor: default;
}

/* Archive section arrow */
.archive-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 0.8em;
  margin-right: 5px;
}

details[open] .archive-arrow {
  transform: rotate(90deg);
}

details summary::-webkit-details-marker {
  display: none;
}

/* Resume page styles - exact match to original
-------------------------------------------------- */

/* Resume resets margin/padding like original base.css */
.resume-page,
.resume-page :where(div, span, h1, p, a, address, article, header, section, time) {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

/* Body styles from original */
.resume-page {
  font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 21px;
  color: #424242;
  -webkit-font-smoothing: antialiased;
  padding-top: 50px;
  padding-bottom: 40px;
}

[data-theme="dark"] .resume-page {
  color: #d6d6d6;
}

/* Links - exact match to original layout.css */
.resume-page a {
  text-decoration: none;
  color: inherit;
  background-color: transparent;
}

.resume-page a:visited {
  color: inherit;
}

.resume-page a:hover,
.resume-page a:focus {
  color: var(--font-color);
}

[data-theme="dark"] .resume-page a {
  color: #d6d6d6;
  background-color: #333333;
}

[data-theme="dark"] .resume-page a:visited {
  color: #d6d6d6;
}

[data-theme="dark"] .resume-page a:hover,
[data-theme="dark"] .resume-page a:focus {
  color: var(--font-color);
}

/* p and address have no margin in original */
.resume-page p,
.resume-page address {
  margin-bottom: 0;
}

.resume-container {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  /* Slightly wider than the original so the content column doesn't feel cramped. */
  max-width: 900px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.resume-row {
  display: flex;
  flex-wrap: wrap;
}

.resume-sidebar {
  width: 160px;
  margin-right: 20px;
  flex-shrink: 0;
}

.resume-content {
  flex: 1;
  min-width: 0;
}

/* Photo - matches .me class in original */
.resume-photo {
  width: 120px;  /* 20% bigger than the previous 100px */
  height: 120px;
  border-radius: 0;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Sidebar name - header > h1 in original */
.resume-name {
  font-family: "Oswald", "Georgia", "Times New Roman", serif;
  font-size: 350%;
  font-weight: 400;
  color: var(--font-color);
  margin-bottom: 20px;
}

[data-theme="dark"] .resume-name {
  color: var(--font-color);
}

/* Sidebar contact info */
.resume-sidebar p,
.resume-sidebar address {
  margin-bottom: 8px;
  font-style: normal;
}

.resume-sidebar p:last-child {
  margin-bottom: 20px;
}

/* Photo link - uses navbar-link style (no highlight) */
.resume-page .resume-sidebar .center a {
  background-color: var(--bg-color);
}

/* Section titles - section > h1 in original */
.resume-section-title {
  font-family: "Oswald", "Georgia", "Times New Roman", serif;
  font-size: 140%;
  line-height: 120%;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--font-color);
  margin-bottom: 10px;
}

[data-theme="dark"] .resume-section-title {
  color: var(--font-color);
}

/* Article - matches original */
.resume-item {
  margin-bottom: 20px;
}

/* Job titles - article > header > h1 in original */
.resume-item-title {
  font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 112%;
  font-weight: bold;
  line-height: 150%;
  margin-bottom: 0;
  color: inherit;
}

/* Company span - first span, no prefix */
.resume-company {
  font-size: 100%;
}

/* Meta span - second span, gets @ prefix */
.resume-meta {
  margin-left: 2px;
  font-size: 100%;
}

.resume-meta::before {
  content: '@';
  margin-right: 4px;
}

/* In dark mode, spans use font2-color */
[data-theme="dark"] .resume-company,
[data-theme="dark"] .resume-meta {
  color: rgb(168, 168, 168);
}

/* Links in spans inherit color but keep background highlight */
.resume-page .resume-company a,
.resume-page .resume-meta a {
  color: inherit;
}

.resume-page .resume-company a:hover,
.resume-page .resume-meta a:hover {
  color: var(--font-color);
}

[data-theme="dark"] .resume-page .resume-company a:hover,
[data-theme="dark"] .resume-page .resume-meta a:hover {
  color: var(--font-color);
}

/* Address and time in meta */
.resume-meta address {
  display: inline;
  font-style: normal;
}

.resume-meta address + time {
  margin-left: 6px;
}

.resume-meta address + time::before {
  content: '—';
  margin-right: 6px;
}

/* Paragraphs in resume items */
.resume-item p {
  margin-bottom: 0;
  line-height: 21px;
}

/* Tech stack - matches em styling in original */
.resume-tech {
  font-style: normal;
  font-weight: bold;
  color: rgb(100, 100, 100);
  margin-right: 6px;
}

[data-theme="dark"] .resume-tech {
  color: rgb(180, 180, 180);
}

.resume-content section {
  margin-bottom: 35px;
}

/* Font Awesome icons */
.resume-page .fa {
  color: black;
}

[data-theme="dark"] .resume-page .fa {
  color: #e1e1ff;
}

/* Tablet (768px - 959px) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
  .resume-container {
    padding-left: 60px;
    padding-right: 40px;
  }

  .resume-sidebar {
    width: 160px;
    margin-right: 40px;
  }

  .resume-name {
    font-size: 280%;
  }
}

/* Mobile (max 767px) */
@media only screen and (max-width: 767px) {
  .resume-container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .resume-row {
    flex-direction: column;
  }

  .resume-sidebar {
    width: 100%;
    margin: 0 0 30px 0;
    text-align: center;
  }

  .resume-content {
    width: 100%;
  }

  .resume-name {
    font-size: 250%;
  }

  .resume-section-title {
    font-size: 120%;
  }

  .resume-item-title {
    font-size: 105%;
    line-height: 140%;
  }

  .resume-item {
    margin-bottom: 22px;
  }
}

/* Mobile landscape (480px - 767px) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .resume-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media print {
  .navbar, footer {
    display: none !important;
  }

  .resume-page {
    font-size: 14pt;
    line-height: 21pt;
  }

  .resume-sidebar {
    font-size: 80%;
    line-height: 160%;
  }

  .resume-company,
  .resume-meta {
    font-size: 80%;
    line-height: 80%;
  }
}
