/*!******************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/styles.scss ***!
  \******************************************************************************************************************************************************************/
@charset "UTF-8";
:root {
  --padding: 16px;
  --padding-vertical: 16px;
  --padding-horizontal: 16px;
  --color-background: #f9f7ff;
  --color-font: #3d3e45;
  --color-border: var(--color-background);
  --page-width: 960px;
  --height-header: 100px;
  --height-footer: 300px;
  --height-main: calc(100vh - var(--height-header) - var(--height-footer)) ;
}

@media (min-width: 1024px) {
  :root {
    --page-width: 1024px;
    --padding: 8px;
  }
}
/* Font */
.crimson-text-bold {
  font-family: "Crimson Text", serif;
  font-weight: 700;
  font-style: normal;
}

.crimson-text-regular-italic {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: italic;
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --color-background: #3d3e45;
    --color-font: white;
  }
} */
/* Defaults */
body, body * {
  box-sizing: content-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

body {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--color-font);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: var(--padding) 0;
  font-size: 1.2em;
}

h6 {
  color: #6b6b6b;
  font-size: 1em;
  font-weight: 100;
}

h1 {
  font-size: 2em;
}

p {
  padding: var(--padding) 0;
  line-height: 1.5;
}

a, a:visited {
  color: var(--color-font);
  text-decoration: none;
  cursor: pointer;
  /* color: rgb(39 39 105); */
}

a:hover {
  color: blue;
  text-decoration: underline;
}

a.link {
  color: #6767cb;
}

ul.list {
  padding: var(--padding) 0;
}
ul.list li {
  padding: var(--padding) 0;
  list-style-position: inside;
}
ul.list li::marker {
  /* content: '✦  '; */
  font-size: 1em;
  color: #c4caff;
}

hr {
  border: none;
  border-top: 1px solid #efefef;
}

details {
  text-align: left;
}
details summary {
  cursor: pointer;
}
details summary::marker {
  font-size: 1.2em;
  color: silver;
}
details[open] > .details-content {
  opacity: 1;
}
details > .details-content {
  font-weight: Normal;
  transition: opacity 500ms ease-in-out;
  opacity: 0;
}

.help {
  font-size: 12px;
  color: silver;
  font-style: italic;
  text-align: center;
}
@media (min-width: 1024px) {
  .help {
    text-align: left;
  }
}

.info-system {
  font-family: monospace;
  color: #c7c7c7;
  font-size: 0.75rem;
  margin-bottom: 1em;
}

.btn {
  --color-btn-primary: #03A9F4;
  --color-btn-primary-hover: #0096d9;
  --color-btn-secondary: rgb(219, 228, 242);
  --color-btn-secondary-hover: var(--color-btn-secondary, rgb(158, 151, 26));
  --color-btn-border: transparent;
  --btn-height: 2em;
  --btn-font-size: 0.8em;
  --btn-icon-size: round(calc(var(--btn-height)*0.4));
  user-select: none;
  display: inline-block;
  cursor: pointer;
  border: 1px solid var(--color-btn-border);
  background-color: var(--color-btn-primary, red);
  color: var(--color-btn-secondary);
  padding: 0px var(--padding-vertical, 1em);
  margin: 0;
  text-decoration: none;
  font-size: var(--btn-font-size);
  font-weight: bold;
  height: var(--btn-height);
  line-height: calc(var(--btn-height) - 0px);
  text-align: center;
  transition: background-color 350ms ease-in-out, color 250ms;
}
.btn:hover {
  background-color: var(--color-btn-primary-hover);
  text-decoration: none;
  color: #dddeff;
}
.btn.btn-round {
  border-radius: 0.25em;
}
.btn.btn-blue {
  --color-btn-primary: #00CFFF;
  --color-btn-primary-hover: #00b5de;
  --color-btn-secondary: white;
}
.btn.btn-black {
  --color-btn-primary: black;
  --color-btn-primary-hover: rgb(34, 34, 34);
  --color-btn-secondary: white;
}
.btn.btn-icon_left::before, .btn.btn-icon_right::after {
  content: "";
  width: var(--btn-icon-size);
  height: var(--btn-icon-size);
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 3px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.btn.btn-icon_left::before {
  margin-right: calc(var(--btn-icon-size) * 0.5);
}
.btn.btn-icon_right::after {
  margin-left: calc(var(--btn-icon-size) * 0.5);
}
@media screen and (min-width: 890px) {
  .btn {
    --btn-height: 42px;
    --btn-font-size: 16px;
    font-weight: bold;
  }
  .btn.btn-icon_left::before, .btn.btn-icon_right::after {
    margin-bottom: 2px;
  }
}

/* Layout: */
header.page-header .page-container {
  display: flex;
  height: var(--height-header);
  padding: 0;
}
header.page-header .page-section {
  background-color: #3d3e45;
  color: white;
}
header.page-header .page-nav {
  display: flex;
  align-items: center;
}

/* Layout: */
main {
  min-height: var(--height-main);
  background-color: var(--color-background);
  padding-bottom: var(--padding-vertical);
}

/* Layout: */
footer section.page-section {
  height: var(--height-footer);
  background-color: #3d3e45;
  color: white;
}

/* Layout: */
section.page-section.section-first {
  padding-top: 64px;
  border-top: 1px solid rgba(126, 115, 177, 0.8392156863);
  box-shadow: inset 0px 20px 17px -16px rgba(0, 0, 0, 0.34);
}
@media (min-width: 1024px) {
  section.page-section {
    padding-top: 64px;
  }
}

/* Layout: */
section.page-section-break {
  background-color: #f5f5f5;
}

/* Layout: */
section.page-container {
  padding: var(--padding);
  max-width: var(--page-width);
  margin: auto;
}

/* Layout: */
menu ul li {
  display: inline-block;
  padding: 5px 10px;
}

/* Components */
.branding {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.branding > * {
  padding: 0;
  margin: 0;
}
.branding h6 {
  font-size: 0.7em;
  font-weight: normal;
  opacity: 0.5;
  font-style: italic;
}

ul.bullet-points {
  padding-left: 15px;
  line-height: 1.5;
}

.text-strike {
  text-decoration: line-through;
  font-weight: 100;
  opacity: 0.4;
}

.break-long {
  inline-size: var(--page-width);
  overflow-wrap: break-word;
}

.target-enc {
  display: none;
}

/* DEBUG: Remove later */
body:hover .dev-debug, body:hover .dev-debug * {
  outline: 1px solid pink;
}
body .fake-image {
  width: 100%;
  height: 150px;
  bottom: 0;
  position: absolute;
  background-color: black;
  color: white;
}

.placeholder-encrypted {
  --icon-size: 40px;
  margin: 8px 0;
  display: flex;
  padding: 5px;
  border: 1px solid #d5d5d5;
  background-color: #ebebeb;
  opacity: 0.7;
}
.placeholder-encrypted svg {
  opacity: 0.3;
  width: var(--icon-size);
  height: var(--icon-size);
  transform: scale(0.7);
}
.placeholder-encrypted > p {
  flex: 1;
  padding-left: 15px;
}

.placeholder-censored {
  line-height: 1.5;
}

/* UI: Animated Loader */
.animated-loader {
  position: relative;
  width: 100px;
  height: 100px;
}
.animated-loader::before, .animated-loader::after {
  content: "";
  border-radius: 50%;
  position: absolute;
  inset: 0;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.3) inset;
}
.animated-loader::after {
  box-shadow: 0 2px 0 #FF3D00 inset;
  animation: rotate 2s linear infinite;
}
@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.bg-image {
  background-image: url("/media/images/hero-dots.svg"), linear-gradient(318deg, rgb(141, 0, 142), rgb(141, 0, 142) 30%, rgb(39, 0, 60));
  background-blend-mode: soft-light, normal;
  background-size: 100%, cover;
  background-repeat: no-repeat;
  background-position: right bottom, center;
}
@media (min-width: 1024px) {
  .bg-image {
    background-size: 70%, cover;
  }
}

/* Section: Hero */
.page-hero {
  height: 80vh;
  color: white;
}
.page-hero .page-container {
  height: 100%;
  display: flex;
  align-items: center;
}
.page-hero .title-name {
  line-height: 1;
  width: 270px;
  font-size: 3em;
  text-align: right;
  position: sticky;
  top: 32px;
  margin-bottom: 32px;
}
.page-hero .title-name > h1 {
  line-height: 0.6;
  text-shadow: 1px 5px 4px #000348;
}
.page-hero .title-name > p {
  opacity: 0.5;
  font-size: 0.5em;
}
@media (max-width: 768px) {
  .page-hero {
    max-height: 800px;
  }
}

/* Component: Info Box */
article.box-info-flex {
  display: flex;
}
article.box-info-flex picture {
  flex: 1;
  display: block;
  clip-path: polygon(0 8%, 100% 0%, 100% 93%, 0% 100%);
}
article.box-info-flex picture img {
  display: block;
  width: 100%;
}
article.box-info-flex .box-content {
  clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 93%);
  flex: 1;
  padding: 16px;
  background-color: white;
}

/* Embedded cal.com */
section.cal-emb p {
  margin: 0;
  color: #696969;
  padding-top: 0;
  font-style: italic;
}
section.cal-emb h2, section.cal-emb p {
  padding-left: 1em;
}
section.cal-emb .page-container {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 2em 0;
  width: 95vw;
  min-height: 500px;
}
@media (min-width: 1024px) {
  section.cal-emb .page-container {
    width: 1024px;
  }
  section.cal-emb .page-container h2, section.cal-emb .page-container p {
    text-align: center;
    padding-left: 1em;
  }
}
@media (max-width: 1024px) {
  section.cal-emb .page-container #my-cal-inline {
    width: 100% !important;
  }
}
section.cal-emb .page-container .cal-inline-container {
  margin: auto;
}

section.section-overed-photo article.box-info-grid {
  display: grid;
  grid-template-columns: 16px repeat(10, 1fr) 16px;
  grid-template-rows: repeat(4, 70px) repeat(4, 1fr);
}
section.section-overed-photo article.box-info-grid picture {
  grid-area: 1/1/4/-1;
  border-width: 4px;
  border-style: solid;
  border-image: linear-gradient(70deg, rgb(255, 255, 255), rgb(167, 6, 252)) 1;
  overflow: hidden;
}
section.section-overed-photo article.box-info-grid picture img {
  display: block;
  width: 150%;
  max-height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
section.section-overed-photo article.box-info-grid .box-content {
  z-index: 1;
  grid-area: 3/2/-1/-2;
  padding: 16px;
  background-color: white;
}
section.section-overed-photo article.box-info-grid.-open2view picture {
  grid-area: 1/1/5/-1;
}
section.section-overed-photo article.box-info-grid.-open2view picture > img {
  object-position: 0 50%;
}
section.section-overed-photo article.box-info-grid.-open2view .box-content {
  grid-area: 4/2/-1/-2;
}
@media (min-width: 560px) {
  section.section-overed-photo article.box-info-grid picture > img {
    width: 100%;
  }
}
@media (min-width: 1024px) {
  section.section-overed-photo article.box-info-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  section.section-overed-photo article.box-info-grid picture {
    grid-area: 1/1/-1/-4;
  }
  section.section-overed-photo article.box-info-grid picture img {
    height: 100%;
    width: 100%;
    object-position: right;
  }
  section.section-overed-photo article.box-info-grid .box-content {
    grid-area: 2/-1/6/7;
  }
  section.section-overed-photo article.box-info-grid.-open2view picture {
    grid-area: 1/1/-1/-2;
  }
  section.section-overed-photo article.box-info-grid.-open2view picture > img {
    object-position: 15%;
  }
  section.section-overed-photo article.box-info-grid.-open2view .box-content {
    grid-area: 2/7/-2/-1;
  }
}

/* Limited "me" section */
section.section-overed-photo article.box-info-grid.simple picture img {
  object-position: center 50%;
}
@media (min-width: 1024px) {
  section.section-overed-photo article.box-info-grid.simple picture {
    max-height: 400px;
  }
  section.section-overed-photo article.box-info-grid.simple .box-content {
    grid-area: 2/-1/5/8;
  }
}

section.section-diagram .content-box {
  padding: var(--padding-vertical) var(--padding-horizontal);
  background-color: white;
  border: 1px solid var(--color-border);
}
section.section-diagram picture {
  background-color: white;
  display: block;
  padding: var(--padding-vertical) var(--padding-horizontal);
}
section.section-diagram picture img {
  width: 100%;
  height: 100%;
}

/* Tweak diagram size */
a.box-info-grid.diagram {
  display: block;
  margin: 2em auto;
}
@media (min-width: 1024px) {
  a.box-info-grid.diagram {
    width: 80%;
  }
  a.box-info-grid.diagram.diagram-md {
    width: 70%;
  }
  a.box-info-grid.diagram.diagram-sm {
    width: 60%;
  }
}

/* EXPR: Fancy colors over a image */
.fancy-colors {
  position: relative;
}
.fancy-colors::before {
  content: "";
  height: 100%;
  width: 100%;
  display: block;
  background: linear-gradient(34deg, #4a4c8d, rgba(0, 27, 215, 0.4901960784) 10%, rgba(33, 33, 33, 0.9490196078) 40%, transparent 40%);
  z-index: 1;
  position: absolute;
  top: 0;
  mix-blend-mode: multiply;
}
.fancy-colors::after {
  content: "";
  height: 100%;
  width: 100%;
  display: block;
  background: linear-gradient(260deg, #f60000, transparent 60%);
  z-index: 1;
  position: absolute;
  top: 0;
  mix-blend-mode: overlay;
}

/* List of icons representing main knowledge */
section.page-knowledge-icons {
  padding-top: 32px;
  padding-bottom: 32px;
}
section.page-knowledge-icons > .page-container {
  padding: 32px;
}
section.page-knowledge-icons ul {
  padding-top: 16px;
  display: flex;
  gap: 3em 2em;
  flex-wrap: wrap;
  justify-content: center;
}
section.page-knowledge-icons ul li {
  flex: 1 1 25%;
  max-width: 25%;
  list-style: none;
  display: flex;
  flex-direction: column;
  place-content: center;
  filter: grayscale(1);
  opacity: 0.4;
  transition: filter 300ms, opacity 250ms;
}
section.page-knowledge-icons ul li picture {
  max-width: 100px;
  width: 100%;
}
section.page-knowledge-icons ul li:hover {
  filter: grayscale(0);
  opacity: 1;
}
section.page-knowledge-icons ul li.sm picture {
  max-width: 70px;
}
section.page-knowledge-icons ul li.lg {
  width: 80px;
}
section.page-knowledge-icons ul li.sm-img img {
  max-width: 40px;
}
section.page-knowledge-icons ul li .title {
  text-align: center;
  padding-top: 0.8em;
}
section.page-knowledge-icons ul::after {
  content: "";
  flex-grow: 1;
}
section.page-knowledge-icons picture {
  display: block;
  max-width: 150px;
}
section.page-knowledge-icons picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 678px) {
  section.page-knowledge-icons ul {
    gap: 2em 1em;
    justify-content: space-between;
  }
  section.page-knowledge-icons ul li {
    flex: 0 1 100px;
    align-items: center;
  }
}

section.section-notice {
  text-align: center;
  padding: 0 16px 32px 16px;
  font-weight: normal;
}
section.section-notice p {
  padding: 0;
}
section.section-notice a.btn {
  color: white;
  font-weight: bold;
  text-shadow: 0 0 5px #257ed1;
}
@media (min-width: 1024px) {
  section.section-notice {
    padding: 32px 16px 64px 16px;
  }
}

/* Section: Experiences */
.section-experience .page-container ul.boxes {
  display: grid;
  grid-template: 1fr/1fr;
  list-style: none;
  gap: 16px;
}
.section-experience .page-container ul.boxes .title {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
  padding-bottom: 16px;
}
.section-experience .page-container ul.boxes .preface {
  color: #a8a8a8;
  line-height: 1;
  font-size: 14px;
  font-style: italic;
  font-weight: 100;
}
.section-experience .page-container ul.boxes > li {
  background-color: white;
  padding: 16px;
}
.section-experience .page-container ul.boxes > li > ul {
  padding-left: 17px;
  list-style: disc;
}
.section-experience .page-container ul.boxes > li > ul > li {
  padding: 3px 0;
}
@media (min-width: 678px) {
  .section-experience .page-container ul.boxes {
    grid-template: repeat(2, 1fr)/repeat(2, 1fr);
  }
}

/* Experience List */
ul.experience-list {
  padding-left: 1rem;
  list-style: disc;
}
ul.experience-list > li {
  padding: 3px 0;
}

/* Experience Details */
details.details-experience summary {
  padding: 1ch 2ch;
}
details.details-experience summary > *:first-child {
  display: inline-block;
  margin-left: 1ch;
}
details.details-experience .details-content {
  padding: 0 1rem 1rem 1rem;
}

/* Layout/Component: Masonry Using flex */
.layout-flex-masonry {
  --max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  flex-direction: column;
}
.layout-flex-masonry > ul {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--max-width);
  max-width: calc(var(--max-width) - 0.5rem);
  list-style: none;
  padding: 0;
  gap: 1rem;
}
.layout-flex-masonry > ul > li {
  background-color: white;
  padding: 0.5rem;
  min-width: var(--max-width);
}
@media (min-width: 1024px) {
  .layout-flex-masonry {
    --max-width: 50%;
    flex-direction: row;
  }
}
