/* ========================= */
/* STATIC PAGES */
/* ========================= */

body {
  margin: 0;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  background: #1b140d;
  font-family: system-ui, sans-serif;
}

/* ========================= */
/* PAGE */
/* ========================= */

.static-page {
  position: relative;

  width: min(98vw, 1700px);
  height: min(98vh, calc(98vw * 9 / 16));

  background-image: url("../assets/images/screens/screen-a-propos-faq-mention-legales-1920.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  overflow: hidden;
}

/* ========================= */
/* CONTENT */
/* ========================= */

.static-page-content {
  position: absolute;

  top: 9%;
  left: 22%;
  right: 20%;
  bottom: 13%;

  overflow-y: auto;

  padding-right: 16px;

  color: #35210d;
  line-height: 1.8;
}

/* ========================= */
/* STATIC PAGE HEADER */
/* ========================= */

.static-page-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  margin-bottom: 2rem;
}

.static-page-logo {
  display: block;

  width: 170px;
  height: auto;

  margin-bottom: 1rem;

  object-fit: contain;

  border-radius: 12px;

  box-shadow:
    0 0 18px rgba(236, 203, 146, 0.45),
    0 0 35px rgba(236, 203, 146, 0.18);

  opacity: 0.97;

  transition: transform 0.2s ease;
}

.static-page-header h1 {
  width: 100%;

  margin: 0 0 1.5rem;

  text-align: center;

  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

/* ========================= */
/* TITRES */
/* ========================= */

.static-page h1 {
  margin-top: 0;
}

.static-page h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;

  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

/* ========================= */
/* TEXTE */
/* ========================= */

.static-page p,
.static-page li {
  font-size: clamp(1.5rem, 1.35vw, 2rem);
}

.static-page p {
  margin-bottom: 1rem;
}

.static-page ul {
  padding-left: 1.4rem;
}

/* ========================= */
/* LIENS */
/* ========================= */

.static-page a {
  color: #7c4314;

  font-weight: 700;

  text-decoration: none;
}

.static-page a:hover {
  text-decoration: underline;
}

/* ========================= */
/* FOOTER */
/* ========================= */

.static-page-footer {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 4%;

  text-align: center;
}

.static-page-home {
  display: inline-block;

  padding: 10px 22px;

  border-radius: 10px;

  background: rgba(255, 255, 255, 0.35);

  backdrop-filter: blur(3px);
}

/* ========================= */
/* SCROLLBAR */
/* ========================= */

.static-page-content::-webkit-scrollbar {
  width: 8px;
}

.static-page-content::-webkit-scrollbar-thumb {
  background: rgba(80, 40, 10, 0.45);

  border-radius: 10px;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {

  body {
    align-items: flex-start;
  }

  .static-page {
    width: 100vw;
    min-height: 100vh;
    aspect-ratio: auto;

    background-size: cover;
  }

  .static-page-content {
    top: 8%;
    left: 10%;
    right: 10%;
    bottom: 14%;

    padding-right: 8px;
  }

  .static-page-header {
    margin-bottom: 1.5rem;
  }

  .static-page-logo {
    width: 130px;

    margin-bottom: 0.75rem;

    box-shadow:
      0 0 12px rgba(236, 203, 146, 0.4),
      0 0 24px rgba(236, 203, 146, 0.15);
  }

  .static-page-header h1 {
    margin-bottom: 1.25rem;
  }
}