* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
body {
  background-color: #e0e0e0;
  background-image: url(../photos/16-9/1800/camps_drone.jpg);
  background-size: cover;
}
@font-face {
  font-family: lc;
  src: url(../fonts/lucida\ calligraphy\ italic.ttf);
}
.titre {
  font-size: 2em;
  font-family: "lc", "Lucida handwriting", "Courier New", Cursive;
  /* margin-bottom: 1em;  */
  margin-top: 4em;
  margin-left: 2rem;
}
.links {
  margin-left: 1rem;
  /* grid */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
  /* flex */
  /* display: flex;
  flex-wrap: wrap; */
  gap: 1em;
}
.numero {
  border: solid 1px black;
  overflow: hidden;
  max-height: 20em;
  max-width: 18em;
  background-color: gray;
}
.numero img {
  display: block;
  max-width: 95%;
  height: auto;
  transition: transform 0.7s ease;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}
.numero img:hover {
  transform: scale(1.05);
  transform-origin: center;
}
@media screen and (max-width: 50em) {
  .links {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5em;
  }
}

.pile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  background-color: rgb(167, 167, 167);
  border: solid 1px black;
  width: 55vw;
  height: 35vh;
  top: 50px;
  left: 20px;
}
.pile:hover {
  height: 35vh;
}

.num {
  position: relative;
  background-color: gray;
  height: 20px;
  transition: transform 0.2s ease;
  width: 97%;
  text-align: center;
  margin-bottom: 2px;
  border: solid 1px black;
  text-decoration: none;
  color: inherit;
}
.num:hover {
  /* transform: scaleY(1.4); */
  background-color: rgb(148, 148, 148);
  margin-bottom: 6px;
  text-decoration: none;
}
.num::after {
  content: "";
  position: absolute;
  border-top: solid 1px black;
  border-bottom: solid 1px black;
  border-right: solid 1px black;
  border-left: solid 1px rgb(107, 107, 107);
  top: -7px;
  left: 99%;
  background-color: rgb(136, 135, 135);
  width: 50px;
  height: 20px;
  transform: rotate(-30deg);
  transform: skewY(-15deg);
  box-shadow: 7px 4px 3px rgb(131, 131, 131);
}

.pile a {
  color: var(--clr-bienvenue);
  text-decoration: none;
}
