
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wdth,wght@0,75..100,100..900;1,75..100,100..900&display=swap');

html, body {
    
  height: 100%;
  top: 0em;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

footer {
    z-index:996;
    position:fixed;
    bottom: 5px;
    padding: 2em;
    font-size: 0.77em !important;
    color: #d3d3d3;
    font-family: "Roboto", sans-serif;
      font-optical-sizing: auto;
      font-weight: 900;
      font-style: italic;
      font-variation-settings:
        "wdth" 100;
    line-height: 1.1em;
}

body {
  background-color: #fefefe;
  color: #000;
  padding: 2em;
  flex: 1;                 /* ← ajoute ça */
  flex-direction: column; /* ← ajoute ça */
}

h1 {
    font-size:2.4em;
    position: relative;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: italic;
    font-variation-settings:
    "wdth" 100;    
    margin-bottom: 0.2em;
    margin-top: 0.3em;
    color:#000;
}

ul {
  font-size: 0.8em ;
  position: relative;
  margin-left: -50px;
  list-style: none;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: italic;
  font-variation-settings:
  "wdth" 100;
}

li {
  margin-bottom: 0.25em;
}

a {
  color: #000; /* bleu lien site */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #b2b2b2;
}

span {
  font-size: 0.85em;
  color: black;
  margin-left: 2.8em;
}

.container {
  flex: 1;
  padding: 1em;
  top: 0em;
}

#overlay {
   position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 10;
    margin: 0;
    background-color: rgba(245,245,245,1);
    background-image: radial-gradient(white 1px, transparent 0px);
    background-size: 30px 30px;
    background-position: 0px 0px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    z-index:997;
}

.viewer {
    width: 100vw;
    height: 100vh;
    border: none;
    z-index:998;
}

#overlay img,
#overlay video,
#overlay iframe {
width:50vw;
height:95vh;
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: auto;
  border:none;
  z-index:999;

}

#overlay::after {
  content: "✕";
  position: absolute;
  top: 20px;
  right: 75px;
  font-size: 17px;
  color: #000;
  cursor: pointer;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.download-link .download-icon {
    transition: opacity 0.2s ease-in-out;
}

.download-link:hover .download-icon {
    content: url('/download hover.png');
}
