﻿* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.topbar {
  background: #1e1e1e;
  color: #fff;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.footer {
  color: #888;
  font-size: 0.9rem;
}

a {
  color: #79b8ff;
}

code {
  background: #222;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}

:root {
  color-scheme: dark;
}

body {
  background: #111;
  overflow: hidden;
}

.viewer-wrap {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

#flip-container, #scroll-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#scroll-container {
  overflow-y: auto;
  padding: 0;
}

.page-wrap {
  position: relative;
  margin: 20px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.annotationLayer {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  pointer-events: auto;
}

@media (max-width: 768px) {
  #loaderOverlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh !important;
  }
  .main {
    padding: 0 !important;
  }
  body {
    overflow: auto;
  }
  #flip-container {
    display: none;
  }
  #scroll-container {
    display: block;
  }
  .page-wrap {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(2px);
    transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
    will-change: opacity, transform, filter;
    content-visibility: auto;
    contain-intrinsic-size: 800px 1100px;
  }
  .page-wrap.appear {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .page-wrap {
    transition: none;
  }
}
@media (max-width: 768px) {
  .page-wrap.instant {
    transition: none !important;
  }
}
@media (min-width: 769px) {
  #flip-container {
    display: block;
  }
  #scroll-container {
    display: none;
  }
}
#loaderOverlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 9999;
  flex-direction: column;
  overflow: hidden;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #999;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.page-status {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 6px 10px;
  border-radius: 12px;
  font: 14px/1.2 system-ui, sans-serif;
  z-index: 9990;
  pointer-events: none;
  white-space: nowrap;
}

/* Layout*/
.bannerLayout {
  position: relative;
}

.nav-1 {
  height: 100px;
  border: 1px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-1 .logo-nav {
  height: 90px;
  width: auto;
}
.nav-1 .divLink {
  position: absolute;
  float: right;
  text-align: right;
  right: 0;
  display: inline-block;
}
.nav-1 .divLink a {
  display: inline-block;
  color: white;
}

.reseaux {
  float: right;
  text-align: right;
  display: inline-block;
}
.reseaux a {
  display: inline-block;
  color: white !important;
}
