@keyframes fadey { 
0% { opacity: 0; }
15% { opacity: .9; }
85% { opacity: .9; }
100% { opacity: 0; }
}
body { 
  font-family: Avenir, Arial, sans-serif; 
  font-size: 0;
  background: #000; 
}

body, figure {  margin: 0; padding: 0;}

figure#slideshow { 
  width: 100%; 
  margin: 0 auto; 
  position: relative; 
  /*border: 1px solid #000;*/
  cursor: pointer;
}
figure#slideshow img { 
  position: absolute; 
  left: 0; top: 0; 
  width: 100%; height: auto; 
  opacity: 0; 
}
figure#slideshow img:first-child { position: relative; }

#container:fullscreen { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  background: #000; 
}
#container:-moz-full-screen figure, #container:-ms-full-screen figure, #container:-webkit-fullscreen figure, #container:fullscreen figure { 
  width: 100%;
  margin: 0 auto;
  background: #000; 
}
:-webkit-full-screen { 
  width: 100%; height: 100%; 
}
*:-moz-full-screen { 
  background: #000; 
}
*:-webkit-full-screen { 
  background: #000; 
}