body {
  margin: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.titre {
  display: block;
  font-family:"Lekton";
  color:white;
  text-shadow: black 0 0 2px;
  font-size:7vmin;
  width:100%;
  height:10vh;
  line-height: 10vh;
  text-align:center;
  margin: 0;
  background: rgba(0, 0, 0, 0.2);
}

body, .numero, .calendrier {
  background: url('../img/village_itterswiller.jpg') fixed center;
  background-size: cover;
}

.calendrier {
  position:absolute;
  top:10vh;
  right:0;
  bottom:0;
  left:0;
}

.numero {
  position:absolute;
  z-index: 1;
  text-shadow: black 0 0 4px;
}

.numero {
  font-family: "Lekton";
  font-size:7vmin;
  color:white;
  transition: transform 1s ease, opacity 1s ease 1s;
  transform-style: preserve-3d;
  transform-origin: 0;

  -webkit-transition: -webkit-transform 1s ease, opacity 1s ease 1s;
  -webkit-transform-style: preserve-3d;
  -webkit-transform-origin: 0;
}

.numero.ouvert {
  transform: rotateY(-90deg);
  -webkit-transform: rotateY(-90deg);
  opacity: 0;
  z-index: 2;
}

.numero div {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -0.9ex;
}

.numero .un-chiffre {
  margin-left: -0.2em;
}

.numero .deux-chiffres {
  margin-left: -0.5em;
}

.case {
  position:absolute;
}

.case * {
  width: 100%;
  height: 100%;
}

.message {
  color:white;
  background:brown;
  font-family:"Lekton";
  position:absolute;
  top:50%;
  text-align:center;
  width:100%;
  margin-top:-0.5em;
  font-size:2em;
  z-index:10;
  display:none;
}

.survol {
  background: rgba(255, 255, 255, 0.12);
  opacity: 0.7;
}

.avec-contour {
  border: dashed 1px #ccc;
  border-radius: 10%;
}

footer {
  position: absolute;
  bottom: 0%;
  height: 9vmin;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border-top: rgba(255, 255, 255, 0.8) dotted 1px;
  transition: height 0.2s ease;
  -webkit-transition: height 0.2s ease;
  z-index: 3;
}

.liens, .credits {
  padding: 4vmin 2vmin 0;
  text-align: right;
  text-shadow: black 0 0 2px;
  font-family:"Lekton";
  font-size: 2.2vmin;
  color: white;
}

a {
  color: #ffffdd;
}

.description {
  position: absolute;
  bottom: 0;
  background: rgba(255,255,255,0.2);
  margin: 20px;
  padding: 15px;
  border-radius: 1vmin;
  font-size: 2.2vmin;
  color: white;
  text-shadow: black 0 0 2px;
  z-index: 4
}
