html,
body {
  min-height: 100%;
}
body {
  font-family: sans-serif;
  text-align: center;
  background: #111 url(https://goo.gl/D1AeUS) center no-repeat;
  background-size: cover;
  color: #aaa;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dosbox-container {
  margin: 10% auto 0 auto;
  width: 640px;
  height: 400px;
}

.dosbox-container > .dosbox-overlay {
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(51,51,51,0.9) 100%);
  background-size: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.dosbox-container > .dosbox-overlay::before {
  content: "🎮 CLICK TO PLAY";
  color: #ff6666;
  font-size: 2.5em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  margin-bottom: 10px;
  animation: pulse 2s infinite;
}

.dosbox-container > .dosbox-overlay::after {
  content: "Experience classic DOOM in your browser";
  color: #cccccc;
  font-size: 1.2em;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

#dosbox:hover .dosbox-start {
  opacity: 1;
}

#dosbox .dosbox-start {
  background: url(https://static.tumblr.com/98vyz1x/eK4lj7luf/header.png) center no-repeat;
  background-size: 150px;
  height: 100%;
  image-rendering: pixelated;
  top: 4% !important;
  color: rgba(0, 0, 0, 0);
  filter: drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.95));
  opacity: 0;
}

.dosbox-powered {
  opacity: 0;
}

button {
  border: 0;
  margin: 10px;
  cursor: pointer;
  font-weight: 700;
}

p {
  font-size: 32px;
}

a {
  color: #aaa;
}
