
@import url('https://use.typekit.net/bjc1fey.css');

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.7em !important;
    color: #444;
    font-family: "ocr-b-std", monospace;
    line-height: 1.1em;
}

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

h1 {
    top: -60px;
    position: relative;
    font-family: "ocr-b-std", monospace;
    margin-bottom: 0.2em;
    margin-top: 2.5em;
}

ul {
  font-size: 0.8em ;
  position: relative;
  top: -50px;
  list-style: none;
  padding-left: 0.5em;
  font-family: "ocr-b-std", monospace;

}

li {
  margin-bottom: 0.25em;
}

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

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

span {
  font-size: 0.85em;
  color: #555;
  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(#1f4fff 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: 1140px;
  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');
}
