.warmCycle,
.coolCycle {
  font-weight: 600;
}

.warmCycle {
  animation: warmCycleAnim 7.2s infinite;
  color: #f11;
}

@keyframes warmCycleAnim {
  0% {
    color: #f11;
  }
  25% {
    color: #ff1;
  }
  50% {
    color: #f11;
  }
  75% {
    color: #ffc;
  }
  100% {
    color: #f11;
  }
}
.coolCycle {
  animation: coolCycleAnim 7.2s infinite;
  color: #88f;
}

@keyframes coolCycleAnim {
  0% {
    color: #88f;
  }
  25% {
    color: #8ff;
  }
  50% {
    color: #88f;
  }
  75% {
    color: #dff;
  }
  100% {
    color: #88f;
  }
}
.delay1 {
  animation-delay: 0.6s;
}

.delay2 {
  animation-delay: 1.2s;
}

.delay3 {
  animation-delay: 1.8s;
}

.delay4 {
  animation-delay: 2.4s;
}

@font-face {
  font-family: "Montserrat";
  src: url("/font/Montserrat/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-stretch: normal;
  font-style: normal;
  font-weight: 100 900;
}
/*
@font-face {
	font-family: "Montserrat";
	src: url('/font/Montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
	font-stretch: normal;
	font-style: italic;
	font-weight: 100 900;
}
*/
@font-face {
  font-family: "Rubik";
  src: url("/font/Rubik/Rubik-VariableFont_wght.ttf") format("truetype");
  font-stretch: normal;
  font-style: normal;
  font-weight: 100 900;
}
@font-face {
  font-family: "Rubik";
  src: url("/font/Rubik/Rubik-Italic-VariableFont_wght.ttf") format("truetype");
  font-stretch: normal;
  font-style: italic;
  font-weight: 100 900;
}
.flex-100vh {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.cubeSide,
.cubeFloor {
  bottom: -0.875rem;
  left: -0.875rem;
  pointer-events: none;
  position: absolute;
  transform-origin: 0% 100%;
}
@media screen and (max-width: 660px) {
  .cubeSide,
.cubeFloor {
    display: none;
  }
}

.cubeSide {
  background-color: #8b0e9a;
  height: 100%;
  transform: skew(0, -45deg);
  width: 0.875rem;
}

.cubeFloor {
  background-color: #55095e;
  height: 0.875rem;
  transform: skew(-45deg, 0);
  width: 100%;
}

:root {
  /* -- LIGHT PALETTE -- */
  --color-paper: #f3f6f9;
  --color-shadow: rgba(55, 56, 56, 0.16687784756142388);
  --color-text: #070707;
  --color-header: #0f0e0f;
  --color-link: #55095e;
  --color-link-hover: #a1b;
  --color-link-underline: #a1b;
  --color-hairline: #232323;
  --color-tag-bg: rgba(192, 207, 218, 0.55);
  --color-button-bg: #020304;
  --color-button-icon: #59ca94;
  --font-size-icons: 19px;
  --font-size-main: 16px;
  --font-size-overview: 19px;
  --font-weight-light: 200;
  --font-weight-medium: 400;
  --font-weight-heavy: 600;
  --font-weight-header: 500;
  --indent-left: 140px;
  --line-spacing: 16px;
  --project-spacing: 32px;
  --year-padding-right: 24px;
  --font-weight-company: 800;
  --font-weight-role: 550;
  --font-weight-h1: 200;
  --font-weight-h2: 300;
  --font-weight-copy: 300;
}
@media (prefers-color-scheme: dark) {
  :root {
    /* -- DARK PALETTE -- */
    --color-paper: #000;
    --color-shadow: rgba(75, 73, 76, 0.1582328618079853);
    --color-text: #f6f2f7;
    --color-header: #a8a3a9;
    --color-link: #e4b3eb;
    --color-link-hover: #a1b;
    --color-link-underline: #a1b;
    --color-hairline: #675e69;
    --color-tag-bg: #231b26;
    --color-button-bg: #91d4ea;
    --color-button-icon: #131f27;
  }
  :root body {
    background-color: #000;
  }
}

@media screen and (max-width: 660px) {
  body.resume main {
    padding: 0;
  }
}

#resume {
  background-color: var(--color-paper);
  border-radius: 1px;
  box-shadow: 0 8px 16px 16px var(--color-shadow);
  margin-top: 2rem;
  max-width: 100vw;
  padding: 64px 64px 64px 32px;
  transition: background-color 1.7s ease-out !important;
  width: 1024px;
  /* -- PROJECT OVERVIEW: Role, Company, Project Name -- */
  /* -- DESCRIPTION -- */
  /* -- PROJECT TASKS -- */
  /* -- COMPACT SPACING -- */
  /* -- TECHNOLOGIES -- */
  /* -- CONFERENCES -- */
}
@media screen and (max-width: 660px) {
  #resume {
    margin: 0;
  }
}
#resume * {
  box-sizing: border-box;
  color: var(--color-text);
  font-size: var(--font-size-main);
  letter-spacing: 0.015em;
  line-height: 1.35em;
  margin: 0;
  padding: 0;
}
#resume li {
  font-family: Rubik, sans-serif;
  letter-spacing: 0.025em;
}
#resume .indent {
  padding-left: var(--indent-left);
}
@media screen and (max-width: 660px) {
  #resume .indent {
    padding-left: 0;
  }
}
#resume .nowrap {
  white-space: nowrap;
}
#resume h1, #resume h2 {
  font-family: Montserrat, sans-serif;
  letter-spacing: 0.01em;
  break-after: avoid;
  color: var(--color-header);
  letter-spacing: 0em;
  margin: 0;
  word-spacing: 0.2em;
}
#resume h1 {
  font-size: 3.2em;
  font-weight: var(--font-weight-h1);
  text-transform: uppercase;
  white-space: nowrap;
}
@media screen and (max-width: 660px) {
  #resume h1 {
    line-height: 4.25rem;
    margin-bottom: 2.25rem;
    white-space: normal;
  }
}
#resume h2 {
  font-size: 1.8em;
  font-weight: var(--font-weight-h2);
  text-transform: uppercase;
}
#resume a {
  color: var(--color-link);
  font-weight: inherit;
}
#resume a:hover {
  color: var(--color-link-hover);
  font-weight: inherit;
}
#resume a::after {
  background: var(--color-link-underline);
}
#resume .noItalic {
  font-style: normal;
}
#resume .noPageBreak {
  break-inside: avoid;
}
#resume .noBreakAfter {
  break-after: avoid;
}
#resume .whoami {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  margin: 0 0 var(--project-spacing) 0;
}
@media screen and (max-width: 660px) {
  #resume .whoami {
    align-items: flex-start;
  }
}
#resume #contactInfo {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  margin: 0 0 0 72px;
  padding: 14px 0 14px 30px;
}
#resume #contactInfo .contactRow {
  align-items: baseline;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
#resume #contactInfo .contactRow .iconContainer {
  display: inline;
  width: 32px;
}
@media screen and (max-width: 660px) {
  #resume #contactInfo {
    border: 0;
    margin: 0;
    padding: 0;
  }
}
#resume #contactInfo > * {
  padding: 1px 0;
}
#resume #contactInfo p, #resume #contactInfo a {
  font-family: Montserrat, sans-serif;
  letter-spacing: 0.01em;
  font-size: var(--font-size-main);
  font-weight: var(--font-weight-medium);
}
#resume #contactInfo i {
  font-size: var(--font-size-icons);
}
#resume .statement {
  font-size: 1.2em;
  margin-top: 0;
}
#resume .projectHeader {
  margin: 48px 0 calc(var(--project-spacing) * 1.25) 0;
}
#resume .projectHeader.workExperience {
  margin-bottom: 24px;
}
#resume .projectHeader .years {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  margin-left: 12px;
}
#resume .project {
  align-items: flex-start;
  break-inside: avoid;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin: 0 0 var(--project-spacing) 0;
}
@media screen and (max-width: 660px) {
  #resume .project {
    flex-direction: column;
  }
}
#resume .project.projectBreakInsideOK {
  break-inside: auto;
}
#resume .project .category, #resume .taskAndYear .year {
  flex: 0 0;
  font-family: Montserrat, sans-serif;
  letter-spacing: 0.01em;
  font-size: var(--font-size-main);
  font-weight: var(--font-weight-light);
  padding-right: var(--year-padding-right);
  min-width: var(--indent-left);
  text-align: right;
}
#resume .project.sectionRole .category {
  font-size: var(--font-size-overview);
}
#resume .project .details > *,
#resume .project li {
  margin: 0 0 var(--line-spacing) 0;
}
@media screen and (max-width: 660px) {
  #resume .overview {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width: 660px) {
  #resume .overview .mdash {
    display: none;
  }
}
#resume .overview, #resume .overview * {
  font-family: Montserrat, sans-serif;
  letter-spacing: 0.01em;
  font-size: var(--font-size-overview);
}
#resume .overview .role {
  font-weight: var(--font-weight-role);
}
#resume .overview .company {
  font-weight: var(--font-weight-company);
}
#resume .overview .projectName {
  font-weight: var(--font-weight-medium);
}
#resume .overview .description {
  margin-left: 8px;
}
#resume .project .description {
  font-family: Rubik, sans-serif;
  letter-spacing: 0.025em;
  font-size: var(--font-size-main);
  font-style: italic;
}
#resume .taskList {
  list-style: none;
}
@media screen and (max-width: 660px) {
  #resume .listOfThings,
#resume .listOfTalks {
    margin-top: var(--line-spacing) !important;
  }
}
#resume .taskList li,
#resume .taskAndYearContent,
#resume .listOfTalks li,
#resume .listOfThings li,
#resume .borderLeft {
  border-left: solid 1px var(--color-hairline);
  font-weight: var(--font-weight-copy);
  padding: 0 0 0 20px;
}
#resume .taskList li {
  break-inside: avoid;
}
#resume .taskAndYearContent {
  padding-top: 2px;
  padding-bottom: 2px;
}
#resume .project .details .taskAndYear {
  break-inside: avoid;
  display: flex;
  flex-direction: row;
  margin: 0 0 var(--line-spacing) calc(0px - var(--indent-left));
}
#resume .taskAndYear .year {
  font-size: var(--font-size-main);
  padding-top: 0.5px;
  /* match .taskAndYearContent baseline */
}
#resume .additionalYears {
  font-weight: var(--font-weight-medium);
  padding-left: 12px;
}
#resume .companyInline {
  display: block;
  font-face: inherit;
  font-size: inherit;
  font-weight: bold;
  margin-bottom: 8px;
}
#resume .additionalCompanies li {
  line-height: 1.5em;
}
#resume .compact {
  margin: 0 0 var(--project-spacing) 0;
}
#resume .compact:last-child {
  margin: 0;
}
#resume .compact .projectHeader {
  margin: 0 0 var(--line-spacing) 0;
}
#resume .compact .project {
  margin: 0;
}
#resume .tagList {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: -6px;
  list-style: none;
}
#resume .tagList li {
  background-color: var(--color-tag-bg);
  border-radius: 3px;
  margin: 0 6px 6px 0;
  padding: 6px 12px;
}
#resume .listOfTalks, #resume .listOfThings {
  list-style: none;
}
#resume .listOfTalks li *, #resume .listOfThings li * {
  font-family: Rubik, sans-serif;
  letter-spacing: 0.025em;
}
#resume .talkName,
#resume .degree {
  font-weight: var(--font-weight-role);
}
#resume .conferenceName,
#resume .institution {
  font-weight: var(--font-weight-company);
}

/* -- INTERACTION -- */
/* -- BUTTONS / DARK MODE -- */
.clickyButton {
  background-color: var(--color-button-bg);
  border-radius: 25px;
  box-shadow: 0 4px 8px 8px var(--color-shadow);
  cursor: pointer;
  display: inline-block;
  height: 50px;
  opacity: 0.7;
  overflow: hidden;
  position: fixed;
  right: 8px;
  top: -20px;
  transition: all 0.35s ease-out;
  user-select: none;
  width: 50px;
}

.fastButtonAnimation .clickyButton {
  transition: all 0.15s ease-out;
}

.clickyButton:hover {
  opacity: 1;
  width: 152px;
}

.clickyButton:active {
  transform: translate(0, 3px);
}

.clickyButton .label {
  font-family: Montserrat, sans-serif;
  letter-spacing: 0.01em;
  color: var(--color-button-icon);
  font-size: 17px;
  font-weight: var(--font-weight-medium);
  position: absolute;
  right: 60px;
  top: 13px;
  transition: all 0s;
  user-select: none;
  white-space: nowrap;
}

.moonLabel {
  opacity: 1;
}

.darkMode .moonLabel {
  opacity: 0;
}

.sunLabel {
  opacity: 0;
}

.darkMode .sunLabel {
  opacity: 1;
}

#darkModeButton {
  top: -60px;
}

.domReady #darkModeButton {
  top: 12px;
  user-select: auto;
}

#rerollButton {
  display: none;
  /* -- ZKA DEV -- */
  top: 70px;
}

.buttonSlider {
  background-color: magenta;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(0, 0);
  transition: all 0.5s ease-out;
}

.darkMode #moonSlider {
  transform: translate(0, -50px);
  /* outside top */
}

#sunSlider {
  transform: translate(0, 50px);
  /* outside bottom */
}

.darkMode #sunSlider {
  transform: translate(0, 0);
}

.buttonIcon {
  color: var(--color-button-icon);
  display: inline-block;
  font-size: 20px;
  position: absolute;
  right: 25px;
  top: 25px;
  transform: translate(50%, -50%) scale(1);
  transition: all 0.25s ease-out;
}

.clickyButton:hover .buttonIcon {
  transform: translate(50%, -50%) scale(1.25);
}

/* -- NARROW: Contact info becomes a column -- */
@media screen and (max-width: 900px) {
  #contactIcons {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    margin: 8px 0 0 0;
  }

  #contactIcons li {
    margin-bottom: 8px;
  }

  #contactIcons li:last-child {
    margin-bottom: 0;
  }
}
/* -- MOBILE, TABLET -- */
@media screen and (max-width: 640px) {
  :root {
    --indent-left: 60px;
  }

  body {
    overflow-x: hidden;
    padding: 0;
  }

  #resume {
    box-shadow: none;
    padding: 24px;
  }

  .whoami {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 60px;
  }

  /*
  // FIXME clean this up
  #contactInfo {
  	margin: 24px 0 8px 0 !important;
  	padding: 0 !important;

  	.contactRow {
  		.iconContainer {
  			border: 1px solid orange;
  			display: inline;
  			width: 32px;
  		}	
  	}
  }
  */
  .taskAndYear .year {
    text-align: left;
  }

  /* Dark mode button: always open, no hover state */
  .clickyButton {
    opacity: 1 !important;
    width: 152px !important;
  }
}
.helpAlert {
  background-color: rgba(170, 17, 187, 0.15);
  border-radius: 1.5rem;
  margin: 3rem 0 1rem 0;
  padding: 1.5rem 2rem;
}

/* -- PRINT -- */
@media print {
  /* Override custom colors */
  * {
    color: #000 !important;
  }

  body, html {
    min-width: 850px;
  }

  body {
    padding: 0;
    --color-paper: #fff;
    --color-shadow: #fff;
    --color-text: #000;
    --color-header: #000;
    --color-link: #000;
    --color-link-hover: #fff;
    --color-link-underline: #000;
    --color-hairline: #000;
    --color-tag-bg: #eee;
  }

  #resume {
    box-shadow: none;
    margin: 0;
    padding: 0 0 0 0;
  }

  main {
    position: relative;
    width: 100% !important;
  }

  #resume.content {
    position: relative;
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #contactInfo {
    padding-left: 20px !important;
    /* match: .taskList li */
  }

  .tagList li {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
  }

  .clickyButton {
    display: none !important;
  }

  body.resume .noPrint {
    display: none !important;
  }

  body.resume .headerContainer,
body.resume .footerContainer {
    display: none;
  }
}