body {
  background-image: url("assets/tile.png");
  font-family: 'Open Sans', sans-serif;
  text-align: center;
}
@media (max-width: 800px) {
	h1 { font-size: 24pt; }
}
@media (min-width: 800px) {
	h1 { font-size: 42pt; }
}

h1 {
  font-family: 'Zilla Slab', serif;
  font-weight: 800;
  color: #e1b419;
}

a {
  text-decoration: none;
}
#wrapper {
	height: 95vh;
}
#nav {
  width: 100%;
  padding-top: 0.125em;
}
#nav ul {
  list-style-type: none;
  font-family: 'Zilla Slab', Arial, sans-serif;
  font-size: 1em;
  width: 100%;
  margin: auto;
  padding: 0;
  text-align: center;
  vertical-align: middle;
  line-height: 2em;
}

/*
 * On most mobiles, stack the playlist buttons vertically
 */
@media (max-width: 640px) {
	#nav li {
		display:block;
	}
}
@media (orientation: landscape) and (min-width: 640px) {
  	#nav li {
    	display: inline-block;
	}
}

#nav li {
  background: #7d5a1e;
  border: 1px solid transparent;
  height: 100%;
  width: 150px;
  margin: 5px auto;
  text-shadow: 0 1px 1px #000;
  border-radius: 5px;
}
#nav a li {
  color: #e1b419;
}
#nav a li:hover {
  color: #fff;
  background: #976d25;
  text-decoration: none;
}
#nav a li.active {
  background: #694c1a;
  text-decoration: none;
}
#nav a li:visited {
}

/*
 * Vertically centering the main container div, starting with a small height
 * and expanding according to window size, or device orientation.
 */
.center-container {
  position: relative;
  height: 100%;
}

.absolute-center {
  width: 100%;
  height: 320px;
  margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
}

@media (min-width: 800px), (min-height: 800px) {
    .absolute-center { height: 640px; }
}
@media (orientation: portrait) and (max-height: 800px) {
	.absolute-center { height: 480px; }
}
@media (orientation: landscape) and (max-height: 420px) {
    .absolute.center { height: 380px; }
}

/*
 * Ensure the youtube player scales with screen size
 */
.auto-resizable-iframe {
  max-width: 640px;
  margin: 0px auto;
}
@media (max-width: 800px) {
	.auto-resizable-iframe {
		max-width: 480px;
	}
}

.auto-resizable-iframe > div {
  position: relative;
  padding-bottom: 60%;
  height: 0px;
}

.auto-resizable-iframe iframe {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}
.stroke-single {
  position: relative;
  background: transparent;
  z-index: 0;
}
/* add a single stroke */
.stroke-single:before {
  content: attr(title);
  position: absolute;
  -webkit-text-stroke: 0.2em #7d5a1e;
  z-index: -1;
}
#weather {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #7d5a1e;
  line-height: 40px;
  margin: 20px;
}
#weather:hover {
    background: #976d25;
}
#about {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #7d5a1e;
  font: "Zilla Slab";
  line-height: 40px;
  margin: 20px;
  text-shadow: 0 1px 1px #000;
}
#about:hover {
    background: #976d25;
}
#about a {
  text-decoration: none;
  color: #e1b419;
}
#about a:hover {
  color: #fff;
}
.popup {
  visibility: hidden;
  width: 500px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 12pt;
  font-weight: lighter;
  border-radius: 6px;
  padding-top: 5px;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 70px;
  margin-bottom: 10px;
}
.popup::after {
  content: "";
  position: absolute;
  margin: 0 -10px 17px 0;
  bottom: 0;
  left: -10px;
  position: absolute;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid rgba(0, 0, 0, 0.7);
}
#about:hover~.popup {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}
