/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Typographie */
body {
  background-color: black;
  color: white; /* Blanc pour la typo */
  font-family: 'Courier New', monospace; /* Terminal-inspired font */
  font-size: 12px; /* Smaller font size */
}

/* En-tête */
header {
  background-color: black;
  color: white; /* Blanc pour la typo */
  padding: 10px;
  text-align: left;
}

header h1 {
  margin: 0;
  font-size: 18px; /* Smaller font size */
  line-height: 1.2;
  color: white; /* Blanc pour la typo */
}

header h2 {
  font-size: 12px; /* Smaller font size */
  margin: 0;
  color: white; /* Blanc pour la typo */
}

header .logo {
  color: white; /* Blanc pour la typo */
  text-decoration: none;
  margin-right: 5px;
}

/* Contenu principal */
main {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0px;
}

/* Vidéo */
.video {
  position: relative;
  padding-bottom: 56.25%;
  cursor: pointer;
}

.video img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pop-up */
.popup {
  display: none; /* Hide the pop-up by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup iframe {
  width: 80%;
  height: 60%;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white; /* Blanc pour la typo */
  font-size: 24px;
  cursor: pointer;
}

/* Pied de page */
footer {
  background-color: black;
  color: white; /* Blanc pour la typo */
  padding: 10px;
  text-align: center;
}

footer p {
  margin: 5px 0;
  color: white; /* Blanc pour la typo */
}

footer a {
  color: white; /* Blanc pour la typo */
  text-decoration: none;
}

.nav {
  text-align: center;
  margin-bottom: 10px;
}

.nav a {
  margin: 0 10px;
  color: white; /* Blanc pour la typo */
}

/* Liens */
a {
  color: white; /* Blanc pour la typo */
  text-decoration: none;
}
