@charset "UTF-8";
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden], template {
  display: none;
}

html {
  background: #fff;
  color: #000;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
  font-family: sans-serif;
}

body {
  margin: 0;
}

a {
  background: transparent;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h2 {
  font-size: 1.5em;
  margin: 0.83em 0;
}

h3 {
  font-size: 1.17em;
  margin: 1em 0;
}

h4 {
  font-size: 1em;
  margin: 1.33em 0;
}

h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}

h6 {
  font-size: 0.75em;
  margin: 2.33em 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

q {
  quotes: "“" "”" "‘" "’";
}

q:before, q:after {
  content: "";
  content: none;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
  white-space: normal;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
}

button, input {
  line-height: normal;
}

button,
select {
  text-transform: none;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
input[disabled] {
  cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input[type=search] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}
input[type=checkbox], input[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

:root {
  --bg: white;
  --color: #737272;
  --color-title: black;
  --highlight: #5dadec;
  --dropdown-bg: #e3e3e3;
  --dropdown-highlight: #cacaca;
  --card-bg: #f9f9f9;
  --card-radius: 30px;
}

.dark {
  --bg: #161923;
  --color: #d1d4e6;
  --color-title: #bcbdd0;
  --highlight: #9fa2e6;
  --dropdown-bg: #262b3e;
  --dropdown-highlight: #2e344b;
  --card-bg: #232838;
}

.rust {
  --bg: #fffef8;
  --color: #80786b
  --color-title: #262625;
  --highlight: #796761;
  --dropdown-bg: #d2d0bf;
  --dropdown-highlight: #adab9c;
  --card-bg: #f1efe1;
}

/* Nav - Marc Mäurer */
@font-face {
  font-family: "satisfy";
  src: url("./assets/fonts/Satisfy-Regular.ttf");
}
/* Landing */
@font-face {
  font-family: "jetbrainsmono";
  src: url("./assets/fonts/JetBrainsMono-Regular.woff2");
}
/* Main font */
@font-face {
  font-family: "opensanslight";
  src: url("./assets/fonts/OpenSans-Light.woff2");
}
@font-face {
  font-family: "opensansregular";
  src: url("./assets/fonts/OpenSans-Regular.woff2");
}
@font-face {
  font-family: "opensansbold";
  src: url("./assets/fonts/OpenSans-Bold.woff2");
}
/* Japanese & Korean */
@font-face {
  font-family: "notosansjpbold";
  src: url("./assets/fonts/NotoSansJP-Bold.otf");
}
@font-face {
  font-family: "notosanskrbold";
  src: url("./assets/fonts/NotoSansKR-Bold.otf");
}
@font-face {
  font-family: "notosansjpbold-woff2";
  src: url("./assets/fonts/NotoSansJP-Bold-Alphabetic.woff2") format("woff2");
}
@font-face {
  font-family: "notosanskrbold-woff2";
  src: url("./assets/fonts/NotoSansKR-Bold-Alphabetic.woff2") format("woff2");
}
@font-face {
  font-family: "notosansjpregular";
  src: url("./assets/fonts/NotoSansJP-Regular.otf");
}
@font-face {
  font-family: "notosanskrregular";
  src: url("./assets/fonts/NotoSansKR-Regular.otf");
}
@font-face {
  font-family: "notosansjpregular-woff2";
  src: url("./assets/fonts/NotoSansJP-Regular-Alphabetic.woff2") format("woff2");
}
@font-face {
  font-family: "notosanskrregular-woff2";
  src: url("./assets/fonts/NotoSansKR-Regular-Alphabetic.woff2") format("woff2");
}
@font-face {
  font-family: "notosansjplight";
  src: url("./assets/fonts/NotoSansJP-Light.otf");
}
@font-face {
  font-family: "notosanskrlight";
  src: url("./assets/fonts/NotoSansKR-Light.otf");
}
@font-face {
  font-family: "notosansjplight-woff2";
  src: url("./assets/fonts/NotoSansJP-Light-Alphabetic.woff2") format("woff2");
}
@font-face {
  font-family: "notosanskrlight-woff2";
  src: url("./assets/fonts/NotoSansKR-Light-Alphabetic.woff2") format("woff2");
}
:root {
  --font-stack: "opensansregular", "notosansjpregular", "notosanskrregular";
  --font-stack--bold: "opensansbold", "notosansjpbold", "notosanskrbold";
  --font-stack--light: "opensanslight", "notosansjplight", "notosanskrlight";
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  line-height: 2em;
  font-size: 18px;
}

h1 {
  margin: 0 2rem 0 2rem;
  line-height: 1.2 !important;
}

h2 {
  margin: 0 2rem 0 2rem;
  line-height: 3 !important;
}

h3 {
  font-family: var(--font-stack--bold);
  font-weight: unset;
  font-size: 1rem;
  line-height: 1.2 !important;
  color: var(--color-title);
  text-align: left;
  margin-top: 1rem;
}
h3 svg {
  height: 2rem;
  width: 2rem;
}

a {
  color: var(--highlight);
}

footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8em;
  color: var(--color);
}
footer a {
  color: inherit;
  font-weight: bold;
}

.unselectable, .landing, .nav, .logo {
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.margin-right {
  margin-right: 1rem;
}

.margin-left {
  margin-left: 1rem;
}

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

.margin-bottom {
  margin-bottom: 1rem;
}

.root {
  background-color: var(--bg);
  color: var(--color);
  transition: background-color 0.2s ease-in;
}

.navheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-title);
}

.logo__img {
  height: 8rem;
}

.logo__text {
  font-family: "satisfy";
  font-size: 1.8rem;
  margin-left: 1.5rem;
}

.nav {
  color: var(--color-title);
}

.nav__items {
  display: flex; /* make ul to single row */
  list-style: none;
  padding: 0 1rem 0 1rem;
  margin: 0;
  border-radius: 5px;
}
.nav__items li {
  display: flex;
  align-items: center;
  padding: 1rem;
  font-size: 1.2em;
}
.nav__items a {
  text-decoration: none;
  color: var(--color-title);
}
.nav__items a:hover {
  text-decoration: underline;
}

.nav__items__themeswitcher {
  cursor: pointer;
}

.nav__items__langswitcher {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.nav__items__langswitcher svg {
  margin-right: 5px;
}
.nav__items__langswitcher span {
  width: 25px;
}

.nav__items__langswitcher__dropdown {
  z-index: 1;
  position: absolute;
  top: 4rem;
  left: -1rem;
  font-weight: 400;
  background-color: var(--dropdown-bg);
  border-radius: 5px;
  list-style: none;
  padding: 0;
}
.nav__items__langswitcher__dropdown li {
  display: flex;
  align-items: center;
  font-size: 0.9em;
  padding: 0.5rem;
  border-radius: inherit;
  cursor: pointer;
}
.nav__items__langswitcher__dropdown li:hover {
  background-color: var(--dropdown-highlight);
}
.nav__items__langswitcher__dropdown li svg {
  margin-right: 5px;
}
.nav__items__contact button, .navmobile__items__contact button {
  background-color: transparent;
  color: var(--highlight);
  border: 2px solid var(--highlight);
  border-radius: 10px;
  padding: 5px;
}
.nav__items__contact button:hover, .navmobile__items__contact button:hover {
  background-color: var(--highlight);
  transition: background-color 0.2s ease-in;
  color: var(--bg);
}

.nav__items__langswitcher svg, .nav__items__langswitcher__dropdown li svg {
  cursor: pointer;
  height: 25px;
  width: 25px;
}

.light_svg {
  fill: #f6ad55 !important;
}

.dark_svg {
  fill: #63b0ff !important;
}

.rust_svg {
  fill: #f34a00 !important;
}

@media only screen and (max-width: 719px) {
  .nav__items__projects {
    display: none !important;
  }
  .nav__items__contact, .navmobile__items__contact {
    display: none !important;
  }
}
@media only screen and (max-width: 356px) {
  .logo__text {
    display: none;
  }
}
.navmobile {
  z-index: 1;
  position: fixed;
  display: none;
  bottom: 0;
  left: 0; /* somehow it won't be align properly */
  right: 0; /* without these two... */
  background-color: var(--bg);
  width: 100%;
  box-shadow: 2px 2px 10px black;
  padding: 15px;
}
.navmobile a {
  color: var(--nav-color);
  text-decoration: none;
}

.navmobile__items {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media only screen and (max-width: 700px) {
  .navmobile {
    display: inline-block;
  }
  .navmobile__items__contact {
    display: inline-block !important;
  }
}
.landing {
  font-family: "jetbrainsmono";
  margin-top: 0rem;
  line-height: 0rem;
  letter-spacing: 0.2rem;
  text-align: center;
  color: var(--color-title);
  margin-bottom: 2rem;
  letter-spacing: 5px;
}
.landing svg {
  height: 2.5rem;
  width: 2.5rem;
  margin: 0;
}

.portrait-landing {
  margin: 2rem auto auto 5rem;
  width: 66%;
  align-items: center;
  justify-content: center;
  display: flex;
}

.greeting-landing {
  margin: -6rem 5rem 0rem auto;
  width: 20%;
  align-items: right;
  justify-content: right;
  display: flex;
}

.tag {
  margin: 1rem auto 1rem auto;
  width: 90%;
  align-items: center !important;
  justify-content: center;
  display: flex;
}

/*
@media only screen and (max-width: 700px) {
    .portrait-landing {
        margin: -2rem auto 0 auto;
    }
}*/
.coffee {
  height: 1.5rem;
  width: 1.5rem;
  margin: 0 2px 0 2px;
  border-radius: 6px;
  position: relative;
  -webkit-animation-name: pour-animation;
  animation-name: pour-animation;
  -webkit-animation-duration: 2.5s;
  animation-duration: 6s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  transform-origin: 20% 20%;
  display: inline-block;
}

@keyframes pour-animation {
  0% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(-10deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(-14deg);
  }
  40% {
    transform: rotate(-12deg);
  }
  50% {
    transform: rotate(-16deg);
  }
  60% {
    transform: rotate(-19deg);
  }
  100% {
    transform: rotate(0);
  }
}
.container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.left {
  width: 20%;
}

.right {
  width: 20%;
  text-align: right;
}

.aboutme {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0 4rem 0;
  background-color: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 1.5rem;
}
.aboutme .aboutme__description .aboutme__description__img {
  height: 200px;
  width: 200px;
  border: 5px solid var(--highlight);
  border-radius: 100%;
  align-self: center;
  justify-self: center;
  margin-bottom: 10px;
  padding: 5px;
}
.aboutme .aboutme__description .aboutme__description__text {
  margin: 2rem;
}

@media only screen and (max-width: 650px) {
  .aboutme .aboutme__description {
    display: flex;
    flex-direction: column;
  }
  .aboutme .aboutme__description .aboutme__description__img {
    height: 150px;
    width: 150px;
  }
}
.type-each-char {
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.15em solid #000;
  animation: typing 2s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #000;
  }
}
.skills {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 1rem 0 4rem 0;
  background-color: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 1.5rem;
}
.skills .skills__item {
  position: relative;
  display: flex;
  justify-content: center;
}
.skills .skills__item img {
  width: 85px;
  height: 85px;
  margin: 25px;
  border-radius: 10px;
  filter: grayscale(100%);
}
.skills .skills__item img:hover {
  filter: grayscale(0%);
  transition: filter 0.2s ease-in;
}
.skills .skills__item img:hover + .skills__tooltip {
  position: relative;
  display: inline-block;
  width: fit-content;
  background-color: black;
  color: #fff;
  opacity: 0.7;
  text-align: center;
  padding: 0 0.5rem;
  border-radius: 6px;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  bottom: -25px;
  z-index: 1;
}
.skills .skills__item .skills__tooltip {
  display: none;
}

@media only screen and (max-width: 600px) {
  .skills .skills__item img {
    width: 50px;
    height: 50px;
  }
}
.maincontent {
  padding: 1rem;
  max-width: 1080px;
  margin: auto;
}

.svg-text {
  height: 1.5rem;
  width: 1.5rem;
  margin: 0 2px 0 2px;
  border-radius: 6px;
  position: relative;
  top: 0.375rem;
}

.svg-contact {
  height: 50px;
  width: 50px;
  fill: black;
}

.projects__project {
  background-color: var(--card-bg);
  border-radius: var(--card-radius);
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
}

.projects__project__info {
  padding: 1.5rem;
}

.projects__project__info__title, .projects__project__info__subtitle {
  font-family: var(--font-stack--bold);
  font-size: 2rem;
  margin: 0;
  margin-bottom: 1rem;
}

.projects__project__info__subtitle {
  font-family: var(--font-stack);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.projects__project__info__description {
  font-family: var(--font-stack--light);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.projects__project__info__link, .projects__project__info__link--lighter {
  display: inline-block;
  font-size: 1rem;
  padding: 0.8rem;
  background-color: var(--highlight);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 0.5rem;
}

.projects__project__info__link--lighter {
  filter: grayscale(0.5);
}

.projects__project__pic {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: auto;
  height: fit-content;
  border-radius: 20px;
  margin: 1rem;
  margin-top: -100px;
  align-self: end;
}

.projects__project--papercut {
  background-color: var(--card-bg);
  color: var(--color);
}
.projects__project--papercut .projects__project__info__title, .projects__project--papercut .projects__project__info__subtitle {
  color: var(--color-title);
}
.projects__project--papercut .projects__project__info__subtitle {
  color: var(--color-title);
}
.projects__project--papercut .projects__project__info__link, .projects__project--papercut .projects__project__info__link--lighter {
  background-color: var(--highlight);
  color: var(--bg);
}
.projects__project--papercut .projects__project__info__link:hover, .projects__project--papercut .projects__project__info__link--lighter:hover {
  background-color: rgb(17.8684210526, 79.9824561404, 127.6315789474);
}

.projects__project--alignmentthesis {
  background-color: var(--card-bg);
  color: var(--color);
}
.projects__project--alignmentthesis .projects__project__info__title, .projects__project--alignmentthesis .projects__project__info__subtitle {
  color: var(--color-title);
}
.projects__project--alignmentthesis .projects__project__info__link, .projects__project--alignmentthesis .projects__project__info__link--lighter {
  background-color: var(--highlight);
  color: var(--bg);
}
.projects__project--alignmentthesis .projects__project__info__link:hover, .projects__project--alignmentthesis .projects__project__info__link--lighter:hover {
  background-color: rgb(17.8684210526, 79.9824561404, 127.6315789474);
}

.projects__project--methodologythesis {
  background-color: #f6faff;
  color: black;
}
.projects__project--methodologythesis .projects__project__info__title, .projects__project--methodologythesis .projects__project__info__subtitle {
  color: #7392b7;
}
.projects__project--methodologythesis .projects__project__info__link, .projects__project--methodologythesis .projects__project__info__link--lighter {
  background-color: #c3a769;
}

@media only screen and (max-width: 850px) {
  .projects__project {
    flex-wrap: wrap-reverse;
    margin-top: 2rem;
  }
  .projects__project__pic {
    margin: 1rem;
  }
}
.contact {
  background-color: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.contact__illustration {
  width: 100%;
  min-width: 360px;
  height: auto;
}

.contact__paragraph {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact__paragraph p {
  line-height: 2.8rem;
}

.margin-top {
  margin-top: 2rem;
}

@media only screen and (max-width: 850px) {
  .contact {
    flex-wrap: wrap;
  }
  .contact__illustration {
    min-width: auto;
  }
}
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
  animation: fadeIn 0.2s ease-out;
}

.lightbox-content {
  background-color: var(--card-bg);
  border-radius: 1rem;
  padding: 2.5rem;
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease-out;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color);
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}
.lightbox-close:hover {
  background-color: var(--dropdown-highlight);
}

.lightbox-header {
  text-align: center;
  margin-bottom: 1rem;
}
.lightbox-header h2 {
  color: var(--color-title);
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 12.5rem 0;
  line-height: 0.9;
}
.lightbox-header p {
  color: var(--color-title);
  font-size: 1.125rem;
  margin: 0;
  line-height: 1.2;
}

.header-stack {
  position: relative;
  text-align: center;
  top: -1em;
}
.header-stack div {
  color: var(--color-title);
}
.header-stack div:nth-child(2) {
  position: absolute;
  top: 1.4em;
  width: 100%;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background-color: var(--dropdown-bg);
  border-radius: 0.75rem;
}
.feature-item:hover {
  background-color: var(--dropdown-highlight);
}
.feature-item .feature-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--highlight);
}
.feature-item span {
  font-size: 0.875rem;
  color: var(--color);
}

.lightbox-form .form-group {
  margin-bottom: 1.5rem;
}
.lightbox-form .form-group label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-title);
  font-size: 0.875rem;
  font-weight: 500;
}
.lightbox-form .form-group input, .lightbox-form .form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 2px solid var(--dropdown-bg);
  border-radius: 0.25rem;
  background-color: var(--bg);
  color: var(--color);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lightbox-form .form-group input:focus, .lightbox-form .form-group textarea:focus {
  outline: none;
  border-color: var(--highlight);
  box-shadow: 0 0 0 3px rgba(93, 173, 236, 0.2);
}
.lightbox-form .form-group input::placeholder, .lightbox-form .form-group textarea::placeholder {
  color: var(--color);
  opacity: 0.6;
}
.lightbox-form .form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-button {
  width: 100%;
  padding: 0.875rem;
  background-color: var(--highlight);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}
.submit-button:hover {
  opacity: 0.9;
}
.submit-button:active {
  transform: scale(0.98);
}
.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submission-message {
  text-align: center;
  padding: 2rem;
  color: var(--color);
  font-size: 1.125rem;
  line-height: 1.5;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width: 640px) {
  .lightbox-content {
    padding: 2rem;
    margin: 1rem;
  }
  .lightbox-header h2 {
    font-size: 1.5rem;
  }
  .lightbox-header p {
    font-size: 1rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 0.75rem 0;
  }
}
