@font-face {
  font-family: "Continental-regular";
  src: url("fonts/TWKContinental-Regular.woff");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Continental-regular", sans-serif;
  background: #f9f9f9;
  padding: 1rem;
  font-size: 0.75rem;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

img {
  -webkit-user-drag: none;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

header {
  position: sticky;
}

.grid-header {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  align-items: start;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 1000;
}

.nav-link {
  text-decoration: none;
  color: #09090b;
}

.nav-link.active {
  color: #bbb;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-text {
  display: none;
  position: fixed;
  top: 2.5rem;
  min-width: 100px;
  max-width: 300px;
  z-index: 2000;
}

.contact-text {
  text-align: right;
  display: none;
  position: fixed;
  top: 2.5rem;
  right: 1rem;
  min-width: 100px;
  max-width: 300px;
  z-index: 2000;
}

a:hover {
  color: #bbb;
}

.grid-main {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  align-items: start;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  width: 100%;
  padding: 1rem;
  align-items: center;
}

.col-1 {
  grid-column: 1 / span 1;
  text-align: left;
}

.col-2 {
  grid-column: 3 / span 1;
  text-align: left;
}

.col-13 {
  grid-column: 17 / span 1;
  text-align: right;
}

.col-center {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
}

.center-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

#h-label,
#w-label {
  display: inline-block;
  min-width: 10ch;
  white-space: nowrap;
}

/* Footer Clock */
#footer-clock {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

/* Affichage au hover sur ABOUT */
#about-link:hover ~ .about-text,
#about-link:focus ~ .about-text {
  display: block;
}
