/* header */
header { padding-top: 40px; padding-bottom: 20px; font-family: 'Architects Daughter', 'Helvetica Neue', Helvetica, Arial, serif; background: #2e7bcf url(../images/header-bg.jpg) 0 0 repeat-x; border-bottom: solid 1px #275da1; }
header h1 { width: 100%; margin-top: 10px; margin-bottom: 0.2em; font-size: 72px; font-weight: normal; line-height: 1; color: #fff; letter-spacing: -1px; }
header h2 { margin-left:0px; width: 100%; margin-top: 10px; margin-bottom: 0; font-size: 24px; font-weight: normal; line-height: 1.3; color: #9ddcff; letter-spacing: 0; }

.site-header {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: left;
  padding: 1rem;
  border-bottom: 2px solid #ddd;
}

.logo-title {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  flex-wrap: nowrap;
}

.logo {
  height: 60px;
  margin-right: 1rem;
}

.logo-title h1 {
  font-size: 1.8rem;
  margin: 0;
  flex-grow: 1;
}

.flags {
  display: flex;
  gap: 0.5rem;
}

.flags span {
  font-size: 1.5rem;
}

/* fab icons */

.fab {
  font-size: 48px;
  margin: 0 10px;
  color: #ABF;
}

.fi {
  font-size: 2em;
}

.flag-text {
  display: flex;
  align-items: center; /* centre verticalement */
  gap: 10px; /* espace entre le drapeau et le texte */
  margin-top: 0px; /* espace de plusieurs lignes */
}

.flag-text .label {
  margin: 10px;
  font-weight: bold;
  font-size: 1.1em;
}

/* Navigation menu */
.menu-header {
  display: flex;
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to right, #f5f5f5, #e0e0e0);
  border-bottom: 1px solid #ccc;
  padding: 10px 20px;
  z-index: 1000;
}
.menu-header ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2px;
}
.menu-header-left {
  float: left;
  margin-right: 20px;
}
.menu-header-right {
  float: right;
  margin-left: auto;
  margin-right: 0;
}

.menu-header a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.menu-header a:hover {
  color: #007bff;
}

/* menu : survol */

nav a {
  color: #333;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #0077cc;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0077cc;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

nav a:hover::after {
  transform: scaleX(1);
}

table {
  display: block;
  overflow-x: auto;
  width: 100%;
}

/* footer */
footer p {
  margin-bottom: 0;
  text-align: center;
}

.version-badge {
  display: block;
  text-align: center;
  font-size: 0.85em;
  color: #666;
  background-color: #eee;
  border-radius: 4px;
}

/* S'assurer que le body et html prennent toute la largeur */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

main {
  margin: 10px;
}

/* Optionnel : supprimer les marges internes */
.container {
  padding: 0;
  margin: 0;
  width: 100%;
}

/* blinking text */
.blink {
  animation: blinker 1s linear infinite;
}
@keyframes blinker {
  50% { opacity: 0; }
}

/* download */
.download-btn {
  display: inline-block;
  padding: 0.6em 1.2em;
  background-color: #007acc;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #005fa3;
}
.cv-download {
  display: inline-block;
  padding: 0.7em 1.4em;
  background: linear-gradient(135deg, #007acc, #005fa3);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .all {
    box-sizing: border-box;
    width: 100%;
    padding: 0 10px; /* petit padding pour respirer */
  }
}
