#close{
  float:right;
}

#close:before {
content: "✖";
color: white;
border: 1px solid white;
background-color:black;
padding:0.5em;
cursor: pointer;
}

section {
height:100%;
width:100%;  
}

html.reveal-full-page body.reveal-viewport.reveal-scroll div.reveal.slide.center.focused.ready div.slides div.scroll-page div.scroll-page-sticky div.scroll-page-content section.present img {
  max-height: 80vh;
  margin: 5px 10px;
  width: auto;
}

section p {
  display: none;
}

html.reveal-full-page body.reveal-viewport.reveal-scroll div.reveal.slide.center.focused.ready div.slides div.scroll-page div.scroll-page-sticky div.scroll-page-content section.present p{
  position:absolute;
  left:0;
  right:0;
  padding-top: 10px;
  bottom:-30px;
}


@media (max-width: 1080px) {
  html.reveal-full-page body.reveal-viewport.reveal-scroll div.reveal.slide.center.focused.ready div.slides div.scroll-page div.scroll-page-sticky div.scroll-page-content section.present img {
    max-height: 99vh;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
  }
  html.reveal-full-page body.reveal-viewport.reveal-scroll div.reveal.slide.center.focused.ready div.slides div.scroll-page div.scroll-page-sticky div.scroll-page-content section.present p{
    font-size: .9em;
    bottom:-60px;
  }

} 


@media (min-width: 650px) {
  html.reveal-full-page body.reveal-viewport div.reveal.slide.center.focused.has-horizontal-slides.ready div.slides section.present p{
  position: relative;
  bottom: -90%;
}

section p {
	font-size: min(max(.5em, 1rem), .75em);
	text-shadow: -1px -1px 0px #fff, 1px -1px 0px #fff, -1px 1px 0px #fff, 1px 1px 0px #fff;
	background-color: rgba(255, 255, 255, 0.8);
	color: black;
	display: inline-block;
	padding: 0 2px;
}
}



html.reveal-full-page body.reveal-viewport div.reveal.slide.center.focused.has-horizontal-slides.ready div.slides img{
  max-height: 68vh;
  margin: 5px 10px;
}

