
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
   font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: italic;
  background-color: rgba(255, 255, 255, 0.945);
  font-size: 20pt;
}
#container {
  margin: 0;
}
header {
  background-color: grey;
  width: 100%;
  height: 40vh;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
}
header span {
  display: flex;
  justify-content: center;
  align-items: center;
}
header span figure {
  border: thin #c0c0c0 solid;
  display: flex;
  flex-flow: column;
  max-width: 290px;
  margin: auto;
}
header span img {
  max-width: 290px;
  max-height: 200px;
}
header span figcaption {
  background-color: black;
  color: #fff;
  font: italic smaller sans-serif;
  padding: 3px;
  text-align: center;
}
nav {
  display: flex;
  justify-self: end;
  align-self: right;
  margin-bottom: 1rem;
}
nav #menu {
  display: flex;
  justify-self: end;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav #reseau {
  display: flex;
  justify-self: right;
  column-gap: 0;
}
nav p {
  display: flex;
  font-weight: bold;
  align-self: center;
}
nav .format {
  display: flex;
  justify-self: end;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

nav .reseau2 {
  text-align: right;
  width: 100%;
  margin-right: 0;
}
.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

/* Boutons (pour des styles visuels) */
#dark {
  margin: 10px;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button#dark {
  background-color: #333;
  color: #fff;
}

button#dark:hover {
  opacity: 0.8;
}
main {
  margin-top: 2rem;
}
main .animate__animated {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
main h2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
iframe {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: solid 1px black;
  width: 100%;
  margin-bottom: 1rem;
}
@media print and (max-width: 1300px) {
  body {
    font-size: 20pt;
  }
}
main a {
  color: blue;
  text-decoration: underline;
}
main a:hover {
  font-style: italic;
  color: #38d366;
}
footer {
  background-color: grey;
  padding: 2rem;
}
footer p {
  color: orange;
  text-align: center;
}
.animate__animated {
  display: inline-block;
  animation: bounce 2s infinite;
}
