* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

.highlight-link {
  color: #000;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  -moz-text-decoration-color: var(--primary);
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary-pale: #fbe4be;
  --primary: #ffb133;
  --text: rgb(20, 20, 20);

  --gray: #f8f8f8;

  --section-padding: 1.5rem;
}

body {
  color: var(--text);
  background-color: var(--gray);

  font-family: "Inter", serif;
  line-height: 1.4;
}

h1,
.inherit-h1,
h2,
.inherit-h2,
h3,
.inherit-h3,
h4,
.inherit-h4,
h5,
.inherit-h5,
h6,
.inherit-h6 {
  font-family: "Inria Serif", serif;
  font-weight: 700;

  line-height: 1;

  color: #000;
}

h1,
.inherit-h1 {
  font-size: 3rem;
}

h2,
.inherit-h2 {
  font-size: 2.25rem;
}

h3,
.inherit-h3 {
  font-size: 1.875rem;
}

h4,
.inherit-h4 {
  font-size: 1.5rem;
}

p {
  color: var(--text);
}

.title-link {
  color: var(--primary);
  text-decoration: none;

  font-size: 1rem;
  font-weight: bold;
}

.title-with-margin,
.paragraph-with-margin {
  margin-bottom: 0.875rem;
}

.header-for-section {
  margin-bottom: 2rem;
}

.space-for-bottom {
  margin-bottom: 1.5rem;
}

.space-for-top {
  margin-top: 1.5rem;
}

.inline-elements {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inline-elements-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;

  align-items: center;
}

.inline-align-bottom {
  align-items: flex-end;
}

.inline-align-top {
  align-items: flex-start;
}

.inline-justify-center {
  justify-content: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.full-width {
  width: 100%;
}

.section-padding {
  padding: var(--section-padding) 0.75rem;
}

.readable-content {
  max-width: 65ch;
}

a {
  width: fit-content;
}

button,
.button {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0.75rem 1.5rem;

  border: none;
  text-decoration: none;

  background: var(--primary);
  color: #000;

  font-weight: bold;
}

.simple-button {
  background-color: transparent;
  color: #000;
}

.pale-background {
  background-color: var(--primary-pale);
}

.extra-shadow {
  box-shadow: 0px 5px 15px -8px rgba(0, 0, 0, 0.1);
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 9999px;

  box-shadow: 0 1px 0 2px rgba(0, 0, 0, 0.1);
}

.avatar-big {
  width: 128px;
  height: 128px;
}

.card {
  width: 100%;
  height: 100%;

  overflow: hidden;

  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);

  background: white;

  position: relative;
}

.card:hover > .icon {
  color: var(--primary);
}

.card > .icon {
  position: absolute;

  top: 0.75rem;
  right: 0.75rem;

  color: var(--text);

  transition: color 0.1s ease;
}

.card-title {
  width: calc(100% - 0.75rem - 32px);
}

.card-body {
  padding: 1rem;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;

  object-fit: cover;
  background-color: var(--gray);

  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

nav {
  padding-top: var(--section-padding);
}

.fonts-grid-single {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.texts-center {
  text-align: center;
}

.horizontal-auto-space {
  margin-left: auto;
  margin-right: auto;
}

.white-background {
  background-color: white;
}

.break-on-pc {
  display: auto;
}

.clickzone-spacing-right {
  padding-right: 0.875rem;
}

@media screen and (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .break-on-pc {
    display: none;
  }

  .center-on-mobile {
    text-align: center;
  }
}
