/* Couleurs sombres apaisantes */
:root {
  --bg: #0f0f0f;
  --text: #d4cfc9;
  --accent: #0f5250;
  --header-bg: #1a1a1a;
  --footer-bg: #121212;
  --hover: #26c6da;
  --font: 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

html, body {
  height: 100%;
  margin: 0;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--hover);
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--header-bg);
  padding: 1rem 2rem;
  border-bottom: 1px solid #333;
}

.branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 72px;
  width: auto;
}

.logo-DGH-fixed {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  padding: 10px;
  height: 75px;
}

.title {
  font-family: 'audiowide', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  color: var(--accent);
  text-align: center;
}

/* Navigation */
.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--hover);
}

.nav a.nav-active {
    text-decoration: underline;
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
} 

/* Footer */
.footer {
  background-color: var(--footer-bg);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #333;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.text {
  font-family: 'Source Code Pro', monospace;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.spaced p {
  margin-bottom: 2rem;
}

.img-accueil {
  display:flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 0;
}

.img-title {
  text-align: center;
  font-style: italic;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.intro-box {
  border: 1px solid #0f5250;
  padding: 20px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 0;
  margin-bottom: 0;
}

.btn {
    display: inline-block;
    padding: 7px 7px;
    margin-top: 5px;
    min-width: 50px;
    background-color: #3b1c1e;
    color: #d4cfc9;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn img {
    vertical-align: middle;
    max-height: 30px;
}

.btn:hover {
    opacity: 0.5;
    color: #d4cfc9;
    transform: translate(1px, 1px);
}

main {
  flex: 1;
}