* { box-sizing: border-box; }
body { 
  font-family: Avenir, Arial, sans-serif; 
  background: #222; 
  margin: 2rem;
  color: #fff;
}
#burningman { 
  display: -webkit-box; 
  display: -webkit-flex; 
  display: -ms-flexbox; 
  display: flex; 
  -webkit-flex-flow: row wrap; 
      -ms-flex-flow: row wrap; 
          flex-flow: row wrap;
  font-size: 0; 
}
#burningman figure { 
  -webkit-box-flex: 1; 
  -webkit-flex: 1; 
      -ms-flex: 1; 
          flex: 1; 
  margin: 0; 
  min-width: 300px;
  position: relative;
  overflow: hidden; 
}
#burningman figure figcaption { 
  background: rgba(0,0,0,0.4); 
  font-size: 1.1rem; 
  position: absolute;
  bottom: 0; width: 100%;
  padding: .5rem; 
  opacity: 0;
  -webkit-transition: .5s;
  transition: .5s; 
}
a { 
  color: inherit;
  text-decoration: none;
  font-style: italic; 
}
#burningman figure:hover img.visible + figcaption { opacity: 1; }
#burningman figure img { 
  width: 100%;
  height: auto; 
  opacity: 0;
  -webkit-transition: .5s;
  transition: .5s; 
}
#burningman figure.halvies { 
  -webkit-box-flex: .5015; 
  -webkit-flex: .5015; 
      -ms-flex: .5015; 
          flex: .5015;
  min-width: 150px; 
}
#burningman figure 

img.visible { opacity: 1; }
#burningman + p { font-size: 1.1rem; }
@media all and (max-width: 500px) {
  #burningman { -webkit-box-orient: vertical; -webkit-flex-direction: column;
-ms-flex-direction: column; flex-direction: column; }
}

#p.centerbig {
	text-indent: 50px;
	text-align: center;
	color: #fff;

}

.wrap {
  margin-top: 20px;
  /* text-align: center; */
}

.button {
  display: inline-block;
  margin: 0.3em;
  padding: 0.5em 2em;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 3px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  border: none; 
  font-size: 15px;
  text-align: center;
}

.button:hover {
  box-shadow: 1px 6px 15px rgba(0,0,0,0.5);
}

.green {
  background-color: #4CAF50;
  color: white;
}

.red {
  background-color: #F44336;
  color: white;
}

.blue {
  background-color: #03A9F4;
  color: white;
}

.ripple {
  position: absolute;
  background: rgba(0,0,0,.25);
  border-radius: 100%;
  transform: scale(0.2);
  opacity:0;
  pointer-events: none;
  -webkit-animation: ripple .75s ease-out;
  -moz-animation: ripple .75s ease-out;
  animation: ripple .75s ease-out;
}

@-webkit-keyframes ripple {
  from {
    opacity:1;
  }
  to {
    transform: scale(2);
    opacity: 0;
  }
}

@-moz-keyframes ripple {
  from {
    opacity:1;
  }
  to {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes ripple {
  from {
    opacity:1;
  }
  to {
    transform: scale(2);
    opacity: 0;
  }
}


