/* CSS Reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
  font-family: "JetBrains Mono Nerd Font";
  src: url("fonts/JetBrainsMonoNerdFontMono-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --base: #191724;
  --surface: #1f1d2ecc;
  --overlay: #26233a;
  --highlight: #eb6f92;
  --love: #eb6f92;
  --gold: #f6c177;
  --rose: #ebbcba;
  --pine: #31748f;
  --foam: #9ccfd8;
  --iris: #c4a7e7;
  --text: #e0def4;
  --muted: #6e6a86;
  --subtle: #908caa;
}
html {
  font-size: 14px;
}
/* body::before { */
/*   content: ""; */
/*   position: fixed; */
/*   top: 0; */
/*   left: 0; */
/*   width: 100vw; */
/*   height: 100vh; */
/*   z-index: -1; */
/*   background: url("rose_pine_maze.png") center center / cover no-repeat; */
/*   pointer-events: none; */
/* } */
.fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: url("rose_pine_maze_2000_1293.png") center center / cover
    no-repeat;
  pointer-events: none;
}
body {
  position: relative;
  margin: 0;
  font-family: "JetBrains Mono Nerd Font", monospace !important ;
  /* background: var(--base); */
  /* background-image: url("rose_pine_maze.png"); */
  /* background-attachment: fixed; */
  /* background-size: cover; */
  /* background-repeat: no-repeat; */
  /* background-position: center center; */
  color: var(--text);
  text-align: justify;
  font-size: 14px;
}

section {
  margin-bottom: 2rem;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.07);
  padding: 1.5rem 1rem;
}
section:last-of-type {
  margin-bottom: 0;
}

h2 {
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
  margin: 0.5rem 0;
  color: var(--rose);
}
section > h2 {
  margin-top: 0;
}
section p {
  margin: 1rem 0 0.2rem 0;
}
section ul {
  padding-left: 2rem;
  margin: 0.5rem 0;
}
.large {
  display: inherit;
}

.print-only {
  display: none;
}

.container {
  display: flex;
  height: 100vh;
  margin: 0 auto;
  gap: 24px;
  background-color: #191724aa;
}
.column {
  flex: 1;
  padding: 16px;
}
.sidebar {
  width: 320px;
  background: var(--surface);
  color: var(--text);
  margin: 2rem 0 2rem 24px;
  border-radius: 8px;
  box-shadow: 0 6px 32px rgba(44, 62, 80, 0.12);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  height: calc(100vh - 4rem);
}

.sidebar > h2 {
  width: 100%;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.profile-photo {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--rose);
  margin-bottom: 1.2rem;
  background: var(--base);
  display: block;
}

.profile h1 {
  margin: 0.5rem 0;
  font-size: 2rem;
  color: var(--gold);
  text-align: center;
}

.profile h2 {
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--rose);
  text-align: center;
}

.sidebar .skills {
  font-size: 0.8rem;
}

.contact {
  text-align: center;
  vertical-align: bottom;
  width: 20rem;
}

.contact a {
  color: var(--foam);
  text-decoration: none;
  font-size: 2rem;
  transition: color 0.2s;
  display: inline-block;
  width: 25%;
}

.contact a:hover {
  color: var(--highlight);
}
.stats {
  margin-bottom: 1rem;
}
.pie-container {
  text-align: center;
  margin: 1.5rem auto;
  position: relative;
  width: 150px;
  height: 150px;
}

.pie {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    var(--pine) 0% 30%,
    var(--iris) 30% 65%,
    var(--foam) 65% 80%,
    var(--gold) 80% 100%
  ) !important;
}
.legend {
  position: absolute;
  font-size: 14px;
  pointer-events: none; /* Ensures they're not clickable */
}

.legend3 {
  top: 23px;
  left: 25px;
}
.legend1 {
  top: 30px;
  left: 107px;
}
.legend4 {
  top: 75px;
  left: 5px;
}
.legend2 {
  top: 125px;
  left: 70px;
}
.stats .skills {
  font-weight: bold;
}

.sidebar > .skills > ul {
  margin: 1rem 0;
}

/* Scrollbar track */
::-webkit-scrollbar {
  width: 12px; /* width of scrollbar */
  background: var(--surface); /* color of track */
}

/* Scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
  background: var(--overlay); /* color of thumb */
  border-radius: 6px; /* rounded edges */
}

/* Scrollbar thumb on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--subtle); /* color on hover */
}
.content {
  margin-left: 344px; /* sidebar width + left margin */
  padding: 2rem 2rem;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

#summary p {
  margin: 1rem 0 0 0;
  font-size: 1.2rem;
}

.experience:last-child,
.education:last-child {
  padding-bottom: 1rem;
  margin-bottom: 0;
  border-bottom: none;
}

.experience {
  border-bottom: 1px solid var(--overlay);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.education {
  margin-bottom: 1.5rem;
}

.experience h3,
.education h3 {
  margin: 0.2rem 0;
  font-size: 1.1rem;
  color: var(--pine);
  display: inline-block;
}

.experience h4,
.education h4 {
  margin: 0.2rem 0;
  font-size: 1rem;
  color: var(--rose);
}

.date {
  margin: 0.2rem 0;
  display: inline-block;
  font-size: 0.95rem;
  color: var(--muted);
  float: right;
}

.skills,
.certifications,
.projects,
.languages {
  list-style: none;
  padding-left: 0;
  text-align: justify;
}

.skills li,
.certifications li,
.projects li,
.languages li {
  background: var(--overlay);
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.8rem;
  border-radius: 5px;
  display: inline-block;
  color: var(--foam);
}
.skills li.foam {
  color: var(--foam);
}
.skills li.gold {
  color: var(--gold);
}
.skills li.iris {
  color: var(--iris);
}
.skills li.pine {
  color: var(--pine);
}

.skills li {
  color: var(--iris);
}
.certifications li {
  color: var(--rose);
}

.projects li {
  color: var(--pine);
}

.languages li {
  color: var(--gold);
}

table.bar-graph {
  width: 100%;
  display: table;
  text-align: center;
  border-spacing: 5px;
  margin: 1rem 0;
}

table.bar-graph td {
  color: var(--base);
  border-radius: 3px;
  font-weight: bold;
  font-size: 0.9rem;
}
table.bar-graph td span {
  display: block;
  font-weight: normal;
  font-size: 0.8rem;
}
table.bar-graph .pine {
  background-color: var(--pine) !important;
}

table.bar-graph .iris {
  background-color: var(--iris) !important;
}

table.bar-graph .gold {
  background-color: var(--gold) !important;
}
table.bar-graph .foam {
  background-color: var(--foam) !important;
}

.hobbies span {
  color: var(--rose);
  font-size: 2rem;
}

.youtube {
  color: var(--foam);
  text-decoration: none;
  font-size: 2rem;
  line-height: 1.2rem;
  vertical-align: bottom;
  margin-left: 0.5rem;
}

.youtube:hover {
  color: var(--highlight);
}

.print-button {
  position: fixed;
  right: 30px;
  top: 20px;
  background-color: var(--foam);
  color: var(--pine);
  text-decoration: none;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 40px;
  border-radius: 50%;
}

.print-button:hover {
  background-color: var(--pine);
  color: var(--text);
}

@media (max-width: 1000px) {
  .container {
    flex-direction: column;
    height: auto;
  }
  .sidebar {
    position: static;
    width: 100%;
    margin: 0 0 1.5rem 0;
    height: auto;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.07);
  }
  .content {
    margin-left: 0;
    padding: 1rem;
    width: 100%;
    height: auto;
  }
  .summary {
    display: table-row;
    width: 650px;
    margin-top: 2rem;
  }
  .summary > div {
    display: table-cell;

    vertical-align: top;
  }
  .summary > div.stats {
    /* width: 300px; */
  }

  .summary > div.text {
    /* width: 400px; */
    vertical-align: middle;
    line-height: 1.8rem;
    text-align: justify;
    padding-left: 2rem;
  }

  .sidebar > .skills {
    width: 650px;
    margin-top: 2rem;
  }

  .large {
    display: none;
  }
  .m {
    display: inherit;
  }

  .profile-photo {
    border: 3px solid var(--rose) !important;
    margin-bottom: 0.5em !important;
    margin-top: 2em;
    background: none !important;
    width: 7.5rem !important;
    height: 7.5rem !important;
  }

  .pie-container {
    margin-top: 0;
  }
}
@media (max-width: 700px) {
  .container {
    flex-direction: column;
    height: auto;
  }
  .sidebar {
    position: static;
    width: 100%;
    margin: 0 0 1.5rem 0;
    height: auto;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.07);
  }

  .content {
    margin-left: 0;
    padding: 0.5rem;
    width: 100%;
    height: auto;
  }
  .summary {
    display: table;
    width: 100%;
  }
  .summary > div {
    display: table-row;

    vertical-align: top;
  }
  .summary > div.stats {
    width: 300px;
  }

  .summary > div.text {
    /* width: 400px; */
    vertical-align: middle;
    line-height: 1.8rem;
    text-align: justify;
    padding-left: 2rem;
  }

  .summary > div.text p {
    margin-top: 2rem;
  }
  .sidebar > .skills {
    width: 100%;
  }

  /* Profile image */
  .profile-photo {
    border: 3px solid var(--rose) !important;
    margin-bottom: 0.5em !important;
    margin-top: 2em;
    background: none !important;
    width: 5rem !important;
    height: 5rem !important;
  }

  .pie-container {
    margin-top: 0;
  }
}

@media (max-height: 900px) {
  /* Profile image */
  .profile-photo {
    border: 3px solid var(--rose) !important;
    margin-bottom: 0.5em !important;
    margin-top: 2em;
    background: none !important;
    width: 5rem !important;
    height: 5rem !important;
  }
}
@media (max-height: 850px) {
  /* Profile image */
  .profile-photo {
    border: 3px solid var(--rose) !important;
    margin-bottom: 0.5em !important;
    margin-top: 2em;
    background: none !important;
    width: 5rem !important;
    height: 5rem !important;
  }

  .profile h1 {
    font-size: 1.2rem;
  }
  .skills h2,
  .profile h2 {
    font-size: 1rem;
  }
  .pie-container {
    text-align: center;
    margin: 1rem auto;
    position: relative;
    width: 100px;
    height: 100px;
  }
  .pie {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
      var(--pine) 0% 30%,
      var(--iris) 30% 65%,
      var(--foam) 65% 80%,
      var(--gold) 80% 100%
    ) !important;
  }
  .legend {
    position: absolute;
    /* color: var(--base); */
    font-size: 14px;
    /* font-weight: bold !important; */
    pointer-events: none; /* Ensures they're not clickable */
  }

  .legend3 {
    top: 13px;
    left: 17px;
  }
  .legend1 {
    top: 25px;
    left: 68px;
  }
  .legend4 {
    top: 45px;
    left: 5px;
  }
  .legend2 {
    top: 78px;
    left: 45px;
  }
}
@media (max-height: 750px) and (min-width: 1100px) {
  /* Profile image */
  /* .profile-photo { */
  /*   border: 3px solid var(--rose) !important; */
  /*   margin-bottom: 0.5em !important; */
  /*   margin-top: 2em; */
  /*   background: none !important; */
  /*   width: 5rem !important; */
  /*   height: 5rem !important; */
  /* } */
  /**/
  /* .profile h1 { */
  /*   font-size: 1.2rem; */
  /* } */
  /* .skills h2, */
  /* .profile h2 { */
  /*   font-size: 1rem; */
  /* } */
  .sidebar .summary {
    display: none;
  }
}

/* Ultra-wide/4K screens */
@media (min-width: 2560px) {
  .fixed-bg {
    background: url("rose_pine_maze.png") center center / cover no-repeat;
  }
}

/* Laptops and large tablets */
@media (min-width: 1920px) and (max-width: 2559px) {
  .fixed-bg {
    background: url("rose_pine_maze_2560_1600.png") center center / cover
      no-repeat;
  }
}

/* Standard desktop screens */
@media (min-width: 1366px) and (max-width: 1919px) {
  .fixed-bg {
    background: url("rose_pine_maze_1920_1200.png") center center / cover
      no-repeat;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1365px) {
  .fixed-bg {
    background: url("rose_pine_maze_1536_2048.png") center center / cover
      no-repeat;
  }
}

/* Large phones */
@media (min-width: 415px) and (max-width: 767px) {
  .fixed-bg {
    background: url("rose_pine_maze_1080_1920.png") center center / cover
      no-repeat;
  }
}

/* Small phones */
@media (max-width: 414px) {
  .fixed-bg {
    background: url("rose_pine_maze_800_1200.png") center center / cover
      no-repeat;
  }
}
@media print {
  html,
  body,
  .container,
  .content,
  .sidebar,
  section {
    /* background: #fff !important; */
    color: var(--base) !important;
    box-shadow: none !important;
    border: none !important;
  }
  .print-only {
    display: inherit;
  }

  .container,
  .content,
  .sidebar {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    border-radius: 0 !important;
  }
  .contact span {
    font-size: 0.8rem;
  }

  /* Hide navigation, pie/bar graphs, contact info, and footer */
  /* .nav, */
  /* .pie-container, */
  /* .bar-graph, */
  .contact {
    display: none !important;
  }
  .sidebar > .skills {
    width: 100%;
  }
  /* Hide unnecessary backgrounds in lists */
  /* .skills li, */
  .certifications li,
  .projects li,
  .languages li {
    background: none !important;
    color: var(--base) !important;
    border-radius: 0 !important;
    display: list-item !important;
    padding: 0 !important;
    margin-bottom: 0.2em;
    font-size: 1em !important;
  }

  /* Experience/Education blocks: add clear page breaks */

  .experience,
  .education {
    color: var(--base) !important;
    border: none !important;
    box-shadow: none !important;
    padding-bottom: 0.5em !important;
    margin-bottom: 2em !important;
  }
  .experience {
    page-break-after: auto;

    border-bottom: 1px solid var(--base) !important;
  }
  .experience:last-child {
    page-break-after: always;
    border-bottom: none !important;
  }

  /* Section titles */
  h2 {
    border-bottom: 1px solid var(--base) !important;
    color: var(--gold) !important;
    padding-bottom: 0.3em !important;
    margin-bottom: 0.7em !important;
    font-size: 1.2em !important;
  }

  /* Profile image */
  .profile-photo {
    border: none !important;
    margin-bottom: 0.5em !important;
    margin-top: 2em;
    background: none !important;
    width: 5rem !important;
    height: 5rem !important;
  }

  /* Remove floating right from date */
  .date {
    float: none !important;
    display: block !important;
    color: var(--surface) !important;
    font-size: 0.95em !important;
    margin-bottom: 0.3em !important;
  }

  /* Tighten up sections */
  section {
    margin-bottom: 1em !important;
    padding: 0.5em 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
  }

  /* Remove sticky/fixed positioning from sidebar */
  .sidebar {
    position: static !important;
  }
  .sidebar h2 {
    margin-top: 3em !important;
  }
  .skills li {
    display: inline-block !important;
  }
  .youtube,
  #hobbies,
  .no-print {
    display: none;
  }

  table.bar-graph td,
  .pie {
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
  }
  .skills li.foam {
    color: var(--foam);
    border: 1px solid var(--foam);
    border-radius: 3px;
  }
  .skills li.gold {
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 3px;
  }
  .skills li.iris {
    color: var(--iris);
    border: 1px solid var(--iris);
    border-radius: 3px;
  }
  .skills li.pine {
    color: var(--pine);
    border: 1px solid var(--pine);
    border-radius: 3px;
  }

  .summary .skills li {
    border: none;
  }
  .contact-print span {
    color: var(--pine);
    font-size: 0.9rem;
    text-decoration: none;
    line-height: 1rem;
  }

  .pie-container {
    margin-top: 1rem;
  }
}
