body {
  font-family: Arial, sans-serif;
  background-image: url("../media/Histoire\ du\ club.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  size: 16px;
}

.back {
  position: fixed;
  top: 20px;
  left: 20px;
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  background: rgba(255, 0, 0, 0.85);
  padding: 8px 14px;
  border-radius: 8px;
}

.suivant {
  position: fixed;
  top: 20px;
  right: 20px;
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  background: rgba(255, 0, 0, 0.85);
  padding: 8px 14px;
  border-radius: 8px;
}

.page-background {
  position: fixed;
  inset: 0;
  background: url("../media/Designer.png") center/cover no-repeat;
  z-index: -2;
}

.page-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
}

h1 {
  font-size: 100px;
  color: #ffffff;
  text-align: center;
  font-size: 100px;
}
video {
  border-radius: 8px;
  width: 600px;
  height: 400px;
}

iframe {
  border-radius: 8px;
  width: 600px;
  height: 400px;
}

.container {
  display:flex;
  flex-wrap: wrap;
  gap: 50px;
  margin: auto;
  justify-content: space-evenly;
  align-items: baseline;
}
#dateHeure {
  font-size: 10vh;
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 50px;
  margin-top: 10%;
  background: rgba(255, 0, 0, 0.85);
  border-radius: 8px;

 
}
a{
  text-decoration: none;
}

footer{
  display: flex;
  align-items: center;
  justify-content: center;
}



@media (max-width: 600px) {

  body {
    font-size: 16px;
    margin: 0;
    overflow-x: hidden;
    text-align: center;
  }

  .page-background {
    background-size: cover;
    background-position: center;
  }

  .back,
  .suivant {
    font-size: 15px;
    padding: 6px 10px;
    top: 10px;
    border-radius: 8px;
    z-index: 20;
  }

  .back { left: 10px; }
  .suivant { right: 10px; }

  h1 {
    font-size: 36px;
    line-height: 1.2;
    margin: 80px 10px 20px;
  }

  .container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 12px;
    margin-top: 20px;
  }

  .card {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  video {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
  }

  iframe {
    width: 100%;
    height: auto;
    min-height: 60vh;
    max-width: 100%;
    border-radius: 8px;
  }

  #dateHeure {
    font-size: 20px;
    margin: 20px 12px;
    padding: 10px 14px;
    display: inline-block;
    line-height: 1.4;
  }
}

@media (max-width: 380px) {

  h1 {
    font-size: 28px;
    margin: 70px 10px 12px;
  }

  .back,
  .suivant {
    font-size: 13px;
    padding: 5px 8px;
  }

  #dateHeure {
    font-size: 17px;
  }

  iframe {
    min-height: 55vh;
  }
}

@media (min-width: 601px) and (max-width: 900px) {

  h1 {
    font-size: 60px;
    margin-top: 100px;
  }

  .back,
  .suivant {
    font-size: 17px;
    padding: 7px 12px;
    top: 14px;
  }

  .container {
    gap: 20px;
  }

  video,
  iframe {
    width: 80%;
    height: auto;
  }

  iframe {
    min-height: 58vh;
  }

  #dateHeure {
    font-size: 30px;
  }
}
