body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
  text-align: center;
  background-image: url(../IMAGES/japon_1.webp);
  color: black;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.flex-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-nav {
  background-color: #02245F;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  width: 100%;
  box-sizing: border-box;
}

.logo-container {
  flex: 1;
  text-align: left;
  border: none;
  background: none;
  box-shadow: none;
}

.logo-link {
  text-decoration: none;
  border: none;
  background: none;
}

.logo-container img {
  width: 120px;
  height: auto;
  border: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
  background: none;
}

.montfuji-video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 5px #ffffff, 0 0 15px #ffffff, 0 0 30px #ffffff;
}

.montfuji-video:hover {
  transform: none;
  /* Pas de zoom au survol */
}


.nav-icons {
  flex: 1;
  text-align: center;
}

.links-container {
  flex: 1;
  text-align: right;
}

.nav-link {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px;
  transition: color 0.3s ease-in-out;
}

.nav-link:hover {
  color: #ddd;
}

main {
  flex: 1;
}

h1 {
  font-size: 70px;
  font-weight: bold;
  margin-bottom: 60px;
  color: white;
  text-shadow: 0 0 5px black, 0 0 10px black, 0 0 15px black;
}

h2 {
  font-size: 40px;
  color: white;
  text-shadow: 0 0 5px black, 0 0 10px black, 0 0 15px black;
}

img {
  height: auto;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 5px #ffffff, 0 0 15px #ffffff, 0 0 30px #ffffff;
  transition: transform 0.3s ease-in-out;
}

img:hover {
  transform: scale(1.02);
}

button {
  background-color: white;
  color: black;
  font-size: 16px;
  padding: 10px 20px;
  border: 2px solid black;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  transform: scale(1);
}

button:hover {
  transform: scale(1.02);
  color: black;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  background-color: white;
}

button::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 15px;
  z-index: -1;
  background: linear-gradient(to right, black, gray, black);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

button:hover::after {
  opacity: 0;
}

.button-link {
  display: inline-block;
  background-color: white;
  color: black;
  font-size: 16px;
  padding: 10px 20px;
  border: 2px solid black;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
}

.button-link:hover {
  transform: scale(1.02);
  color: black;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  background-color: white;
}

.button-link::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 15px;
  z-index: -1;
  background: linear-gradient(to right, black, gray, black);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.button-link:hover::after {
  opacity: 0;
}

.tableau-arrondi {
  margin: 0 auto;
  border-collapse: collapse;
  width: 80%;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid black;
}

.tableau-arrondi th,
.tableau-arrondi td {
  border: 2px solid black;
  padding: 10px;
  text-align: left;
}

.tableau-arrondi th {
  background-color: rgba(255, 255, 255, 0.2);
}

.tableau-arrondi td {
  background-color: rgba(255, 255, 255, 0.1);
}

.fond-flou {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.narrow-section {
  max-width: 1150px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.texte-centre {
  text-align: center;
  line-height: 1.6;
}

.conteneur-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 70%;
  margin: 0 auto;
}

.conteneur-image p {
  max-width: 100%;
  text-align: left;
}

.video-link {
  position: relative;
  display: inline-block;
}

.video-link .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: url('../IMAGES/youtube.webp') no-repeat center center;
  background-size: contain;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.video-link:hover .play-icon {
  opacity: 1;
}

.bas {
  background-color: #02245F;
  color: white;
  text-align: center;
  padding: 20px 0;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  min-height: 100px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo-link {
  display: block;
  margin: 0 auto 20px;
  max-width: 150px;
  text-decoration: none;
}

.footer-logo-link img {
  width: 120%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

.footer-logo-link img:hover {
  transform: none;
}

.footer-text {
  margin: 10px 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.social-icons a {
  margin: 0 10px;
}

.social-icon-link {
  margin: 0 10px;
  text-decoration: none;
}

.social-icon-link img {
  width: 30px;
  height: 30px;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

.social-icon-link img:hover {
  transform: none;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease-in-out;
}

.footer-link:hover {
  color: #ddd;
}

/* Styles pour le mode sombre */
body.dark-mode {
  background-color: #121212;
  color: #ffffff;
  background-image: none;
}

body.dark-mode h1,
body.dark-mode h2 {
  color: #ffffff;
  text-shadow: 0 0 5px #000000, 0 0 10px #000000, 0 0 15px #000000;
}

body.dark-mode .fond-flou {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

body.dark-mode .tableau-arrondi th {
  background-color: rgba(0, 0, 0, 0.2);
}

body.dark-mode .tableau-arrondi td {
  background-color: rgba(0, 0, 0, 0.1);
}

body.dark-mode .footer-text,
body.dark-mode .footer-link {
  color: #ffffff;
}

body.dark-mode .footer-link:hover {
  color: #ddd;
}

body.dark-mode .button-link,
body.dark-mode button {
  background-color: #333333;
  color: #ffffff;
  border: 2px solid #ffffff;
}

body.dark-mode .button-link:hover,
body.dark-mode button:hover {
  background-color: #444444;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

body.dark-mode img {
  box-shadow: none;
}

/* Nouvelle classe pour la marge supérieure */
.header-margin {
  margin-top: 40px;
  /* Vous pouvez ajuster cette valeur selon vos préférences */
}