@import url('../public/webfonts/font-face.css');
@import url('./header.css');
@import url('./profil.css');
@import url('./expertise.css');
@import url('./contact.css');
@import url('./processus.css');

:root {
  --ink: #000;
  --ink-light: #777;
  --bg-gray-28: #282828;
  --paper: #fff;
  --rule-opacity: 0.7;
  --body-copy-size: 1.2rem;
  --content-max-width: 2100px;
  --font-title: 'Figtree', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

* {
  box-sizing: border-box;
  scrollbar-color: var(--ink) var(--paper);
  scrollbar-width: thin;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--paper);
}

h1,
h2 {
  font-size: 3rem;
}

h1,
h2,
h3,
.logo,
.site-nav {
  font-family: var(--font-title);
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: var(--paper);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--ink);
  border: 3px solid var(--paper);
  border-radius: 999px;
}

.panel {
  display: grid;
  place-items: center;
  padding: 50px 50px;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in 700ms ease forwards;
}

.panel__inner,
.site-header > *,
#profil .profil-frame {
  width: 100%;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}

.description {
  padding-right: 200px;
  font-weight: 500;
  font-size: 1.25rem;
  margin-top: 0;
}

@keyframes fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .panel {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
