:root {
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  --color-orange-300: oklch(0.837 0.128 66.29);
  --color-orange-500: oklch(0.705 0.213 47.604);
  --color-gray-100: oklch(0.967 0.003 264.542);
  --color-gray-400: oklch(0.707 0.022 261.325);
  --color-white: #fff;
}

*,
::after,
::before {
  box-sizing: border-box;
  border: 0 solid;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  font-family: ui-sans-serif, system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  line-height: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  background-color: transparent;
  border-radius: 0;
}

button {
  cursor: pointer;
}

a {
  color: var(--color-orange-300);
  text-decoration: inherit;
}

a:hover,
button:hover {
  text-decoration-line: underline;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

pre {
  font-family: var(--font-mono);
  font-size: 1em;
}

[hidden] {
  display: none !important;
}

.app-shell {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: flex-start;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-mono);
  background-image: url("assets/background.webp");
  background-position: top;
  background-size: auto;
}

.backdrop-layer {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: brightness(60%) sepia(30%);
  backdrop-filter: brightness(60%) sepia(30%);
}

.card {
  position: relative;
  z-index: 100;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
  margin: 1rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  -webkit-backdrop-filter: brightness(15%);
  backdrop-filter: brightness(15%);
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.profile-picture {
  width: 150px;
  height: 150px;
  margin-inline: auto;
  border-radius: 9999px;
  object-fit: cover;
  cursor: pointer;
}

h1 {
  margin-bottom: 0;
  color: var(--color-white);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: calc(2.5 / 2.25);
}

p {
  margin-block: 0;
}

.site-nav {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid var(--color-gray-100);
  padding-block: 0.5rem;
}

.site-nav button {
  padding-inline: 1rem;
  color: var(--color-orange-500);
}

.site-nav button:not(:last-child) {
  border-right: 1px solid var(--color-gray-100);
}

.site-nav button.active {
  font-weight: 700;
  text-transform: uppercase;
}

.text-left {
  text-align: left;
}

.text-gray-400 {
  color: var(--color-gray-400);
}

.font-semibold {
  font-weight: 600;
}

.plain-list {
  text-align: left;
}

.publications-page {
  padding: 1.5rem;
}

.publications-list {
  display: block;
  list-style-type: disc;
  text-align: left;
}

.publications-list > :not(:last-child) {
  margin-bottom: 1rem;
}

.publication-title {
  color: var(--color-orange-300);
  font-style: italic;
}

.ascii-art {
  display: flex;
  justify-content: center;
  text-align: left;
}

.unige-logo {
  width: 6rem;
  align-self: flex-end;
}

@media (width >= 48rem) {
  .app-shell {
    align-items: center;
    background-size: cover;
  }

  .card {
    max-width: 48rem;
  }
}
